/** * Initializes the options for the object * * Called from {@link __construct()} as a first step of object instantiation. * * @param KObjectConfig $config Configuration options. * @return void */ protected function _initialize(KObjectConfig $config) { $config->append(array('controller' => 'com:scheduler.controller.dispatcher', 'response' => 'com:koowa.dispatcher.response', 'request' => 'com:koowa.dispatcher.request', 'user' => 'com:koowa.user')); parent::_initialize($config); }
/** * Initializes the options for the object * * Called from {@link __construct()} as a first step of object instantiation. * * @param KObjectConfig $config An optional ObjectConfig object with configuration options. * @return void */ protected function _initialize(KObjectConfig $config) { $config->append(array('methods' => array('get', 'head', 'post', 'put', 'delete', 'options'), 'behaviors' => array('resettable'), 'authenticators' => array('csrf'), 'limit' => array('default' => 100))); parent::_initialize($config); }