array(), 'service'=>array(), ); /** * Filters used to format the display of values into friendlier values */ protected $_display_filters = array( 'date_ordered'=>array( array('Config::date',array(':value')), ), 'date_effective'=>array( array('Config::date',array(':value')), ), ); public function list_details() { if ($this->_db_pending) { $output = array(); foreach ($this->find_all() as $sco) { array_push($output,sprintf('%s %s',$sco->product->title(),$sco->display('date_effective'))); } } else { throw new Kohana_Exception('Shouldnt be here!'); } return join('|',$output); } } ?>