'ID', 'content' => 'Content', 'time' => 'Time', ]; } public function create($data) { $r = $this->load([ 'content' => json_encode($data), 'time' => time() ], ''); if ($r) { try { $this->save(); return $this->id; } catch (\Exception $ex) { return false; } } } }