public function delete() { self::$__object = "ElementFeed"; self::$__table = "pcms_element_feed"; //*** Remove Feed Fields. $objFields = ElementFieldFeed::selectByElement($this->getElementId()); foreach ($objFields as $objField) { $objField->delete(); } return parent::delete(); }
public function duplicate() { self::$__object = "ElementFeed"; self::$__table = "pcms_element_feed"; return parent::duplicate(); }