setModificationDate() 공개 메소드

public setModificationDate ( integer $modificationDate ) : void
$modificationDate integer
리턴 void
예제 #1
0
파일: Dao.php 프로젝트: solverat/pimcore
 /**
  * Create a new record for the object in database
  *
  * @return boolean
  */
 public function create()
 {
     $this->db->insert("classes", ["name" => $this->model->getName()]);
     $this->model->setId($this->db->lastInsertId());
     $this->model->setCreationDate(time());
     $this->model->setModificationDate(time());
     $this->save();
 }