/** * Initialize object * * Called from {@link __construct()} as final step of object instantiation. * * @return void */ public function init() { parent::init(); $this->_prefix = $this->getTable()->info(Axis_Db_Table::PREFIX); // // auto type converting // $cols = $this->getTable()->info(Zend_Db_Table_Abstract::METADATA); // foreach ($cols as $name => $col) { // $dataType = strtolower($col['DATA_TYPE']); // if (array_key_exists($dataType, $this->_dataTypes)) { // settype($this->_data[$name], $this->_dataTypes[$dataType]); // } // } }
public function init() { $this->_hydrateData($this->_data); parent::init(); }
/** * */ public function init() { parent::init(); }
/** * */ public function init() { parent::init(); array_walk($this->_data, [$this, "stringtotypes"]); }