예제 #1
0
 /**
  * 論理削除を行います。
  *
  * @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;
 }