Example #1
0
 public function __construct($id = null)
 {
     $db = Daq_Db::getInstance()->getDb();
     $this->_name = $db->users;
     parent::__construct($id);
 }
Example #2
0
 protected function _saveGeo()
 {
     parent::save();
 }
Example #3
0
 public function allToArray()
 {
     $arr = parent::toArray();
     $field = (array) $this->getNonEmptyFields();
     $txtar = (array) $this->getNonEmptyTextareas();
     foreach ($field as $f) {
         $arr["field_" . $f->field_id] = $f->value;
     }
     foreach ($txtar as $f) {
         $arr["field_" . $f->field_id] = $f->value;
     }
     return $arr;
 }