Example #1
0
 function populate($id, $values)
 {
     parent::populate($id, $values);
     if (isset($values['readings'])) {
         $this->_readings = $values['readings'];
         $this->_old_readings = $this->_readings;
     } else {
         $this->__loadBibleReadings();
     }
 }
 public function populate($id, $details)
 {
     if (!empty($details['options'])) {
         $this->_tmp['options'] = $details['options'];
     }
     unset($details['options']);
     $res = parent::populate($id, $details);
     if (empty($details['params'])) {
         $details['params'] = array();
     }
     return $res;
 }
 function populate($id, $values)
 {
     $this->_members = array();
     $this->_members_to_set = array();
     return parent::populate($id, $values);
 }