コード例 #1
0
ファイル: PhotoModel.php プロジェクト: reinfire/arfooo
 function del($updateItemPhotos = true)
 {
     $this->deletePhotoFiles();
     parent::del();
     if ($updateItemPhotos && $this->itemId) {
         Model::factoryInstance("site")->findByPk($this->itemId)->updatePhotos();
     }
 }
コード例 #2
0
ファイル: SearchTagModel.php プロジェクト: reinfire/arfooo
 public function del()
 {
     parent::del();
     $cache = Cacher::getInstance();
     $cache->clean("tag", array("searchTag"));
 }