Exemplo n.º 1
0
 /**
  * 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]);
     //            }
     //        }
 }
Exemplo n.º 2
0
 public function init()
 {
     $this->_hydrateData($this->_data);
     parent::init();
 }
Exemplo n.º 3
0
 /**
  *
  */
 public function init()
 {
     parent::init();
 }
Exemplo n.º 4
0
 /**
  *
  */
 public function init()
 {
     parent::init();
     array_walk($this->_data, [$this, "stringtotypes"]);
 }