public function acceptParent(Mzax_Emarketing_Model_Object_Filter_Component $parent) { return $parent->hasBinding('customer_id'); }
public function acceptParent(Mzax_Emarketing_Model_Object_Filter_Component $parent) { return $parent->hasBinding($this->_requireBinding); }
/** * Only works if parent object is the order object * * @return boolean */ public function acceptParent(Mzax_Emarketing_Model_Object_Filter_Component $parent) { return $parent->getObject() === Mage::getSingleton('mzax_emarketing/object_order'); }
/** * Accept child * * By default we can accept all childs, however if the parent * already accepts this child then skip it to prevent useless nesting. * * Sometimes this is unwanted, in that case overwrite this method * * @param Mzax_Emarketing_Model_Object_Filter_Component $child * @return boolean */ public function acceptChild(Mzax_Emarketing_Model_Object_Filter_Component $child) { if ($this->_parent) { return !$child->acceptParent($this->_parent); } return true; }
public function acceptParent(Mzax_Emarketing_Model_Object_Filter_Component $parent) { return $parent->hasInterface('recipient_id'); }
public function acceptParent(Mzax_Emarketing_Model_Object_Filter_Component $parent) { return $parent->getQuery()->hasAllBindings('recipient_id', 'goal_time', 'recipient_sent_at'); }
/** * Prepare recipient collection * * @return void */ protected function _prepareCollection(Mzax_Emarketing_Model_Object_Collection $collection) { parent::_prepareCollection($collection); //$collection->applyFilter($this); }
public function getAvailableFilters() { return Mzax_Emarketing_Model_Object_Filter_Component::getAvailableFilters(); }