public function execute(App_ListFilter $filterlist) { if (!$this->getFieldName()) { throw new App_ListFilter_Rule_Action_Exception("No field name defined on add filter action."); } $filter = App_ListFilter_FilterFactory::createItemFilter($this->getFieldName(), $this->getValue()); $filterlist->addFilter($filter); }