コード例 #1
0
 /**
  * Code to be run before inserting to database
  * @param PropelPDO $con
  * @return boolean
  */
 public function preInsert(PropelPDO $con = null)
 {
     $this->setCreatedAt(time());
     $this->setUpdatedAt(time());
     return parent::preInsert($con);
 }
コード例 #2
0
ファイル: BaseKshowKuser.php プロジェクト: DBezemer/server
 /**
  * Code to be run before inserting to database
  * @param PropelPDO $con
  * @return boolean
  */
 public function preInsert(PropelPDO $con = null)
 {
     return parent::preInsert($con);
 }