/** * Initializes the options for the object * * Called from {@link __construct()} as a first step of object instantiation. * * @param object An optional KConfig object with configuration options. * @return void */ protected function _initialize(KConfig $config) { $config->append(array( 'data' => null, 'new' => true, 'identity_column' => null )); 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('table' => $this->getIdentifier()->name, 'data' => null, 'identity_column' => null, 'prototypable' => true)); 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 KObjectConfig object with configuration options * @return void */ protected function _initialize(KObjectConfig $config) { $config->append(array('data' => null, 'identity_key' => null, 'prototypable' => true)); parent::_initialize($config); }