コード例 #1
0
ファイル: CEntityManager.php プロジェクト: iwatea/Swim
 /**
  * 論理削除を行います。
  *
  * @param AbstractEntityDB $entity
  */
 public function delete(AbstractEntityDB $entity)
 {
     $entity->setDeleted(AbstractEntityDB::DELETED_TRUE);
     $this->merge($entity);
 }
コード例 #2
0
ファイル: Trend.php プロジェクト: iwatea/Swim
 public function doPrePersist()
 {
     parent::doPrePersist();
     if (is_null($this->found)) {
         $this->found = parent::getNow();
     }
 }
コード例 #3
0
ファイル: Woeid.php プロジェクト: iwatea/Swim
 public function doPrePersist()
 {
     parent::doPrePersist();
     $this->crawl = self::CRAWL_FALSE;
 }