array(), 'module'=>array(), ); protected $_serialize_column = array( 'module_data', ); /** * Filters used to format the display of values into friendlier values */ protected $_display_filters = array( 'recurr_schedule'=>array( array('StaticList_RecurSchedule::get',array(':value')), ), ); public function checkout() { if (! method_exists($this->mo(),'checkout')) throw new Kohana_Exception('Module :module doesnt implement checkout?',array(':module'=>get_class($this->mo))); return $this->mo()->checkout(); } public function item() { if (! method_exists($this->mo(),'cart_item')) throw new Kohana_Exception('Module :module doesnt implement cart_item?',array(':module'=>get_class($this->mo))); return $this->mo()->cart_item(); } public function mo() { return $this->module->instance($this->module_item); } public function motype() { return strtolower(preg_replace('/^Model_/','',get_class($this->mo()))); } } ?>