예제 #1
0
파일: Row.php 프로젝트: baisoo/axiscommerce
 /**
  * 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]);
     //            }
     //        }
 }
예제 #2
0
 public function init()
 {
     $this->_hydrateData($this->_data);
     parent::init();
 }
예제 #3
0
파일: User.php 프로젝트: rcrrich/cunity
 /**
  *
  */
 public function init()
 {
     parent::init();
 }
예제 #4
0
파일: Setting.php 프로젝트: rcrrich/cunity
 /**
  *
  */
 public function init()
 {
     parent::init();
     array_walk($this->_data, [$this, "stringtotypes"]);
 }