상속: extends Pimcore\Model\Element\Dao, use trait Pimcore\Model\Element\ChildsCompatibilityTrait
예제 #1
0
파일: Dao.php 프로젝트: solverat/pimcore
 /**
  * Deletes the object (and data) from database
  *
  * @throws \Exception
  */
 public function delete()
 {
     try {
         $this->db->delete("documents_link", $this->db->quoteInto("id = ?", $this->model->getId()));
         parent::delete();
     } catch (\Exception $e) {
         throw $e;
     }
 }
예제 #2
0
파일: Dao.php 프로젝트: solverat/pimcore
 /**
  * Deletes the folder
  *
  * @return void
  */
 public function delete()
 {
     parent::delete();
 }