/** * @see parent::drop() */ public function drop() { if (parent::drop()) { File::detach($this); return true; } return false; }
/** * @see parent::drop() */ public function drop() { if (parent::drop()) { $Row = $this->getSessionRow(); $Row->dropList(array('UserId = ' . $this->Id)); return true; } return false; }
/** * @see parent::drop() */ public function drop() { if (parent::drop()) { $Row = new Order_Row($this); $Row->dropList(array('OrderId = ' . $this->Id)); return true; } return false; }
/** * @see parent::drop() */ public function drop() { if (parent::drop()) { File::detach($this); $Document = new Proud_Document(); foreach ($Document->findList(array('ProudId = ' . $this->Id)) as $Document) { $Document->drop(); } $Example = new Proud_Example(); foreach ($Example->findList(array('ProudId = ' . $this->Id)) as $Example) { $Example->drop(); } $Image = new Proud_Image(); foreach ($Image->findList(array('ProudId = ' . $this->Id)) as $Image) { $Image->drop(); } $Model = new Proud_Model(); foreach ($Model->findList(array('ProudId = ' . $this->Id)) as $Model) { $Model->drop(); } $Unit = new Proud_Unit(); foreach ($Unit->findList(array('ProudId = ' . $this->Id)) as $Unit) { $Unit->drop(); } return true; } return false; }
/** * @see parent::drop() */ public function drop() { if (parent::drop()) { File::detach($this); foreach ($this->getItems() as $Item) { $Item->drop(); } return true; } return false; }
/** * @see parent::drop() */ public function drop() { if (parent::drop()) { File::detach($this); $Tag = new Article_Tag(); $Tag->dropList(array('ArticleId = ' . $this->Id)); return true; } return false; }
/** * @see parent::drop() */ public function drop() { if (parent::drop()) { foreach ($this->getBlocks() as $Block) { $Block->drop(); } return true; } return false; }