コード例 #1
0
 function populate()
 {
     parent::populate();
     $ic = new InsuranceCompany($this->insurance_company_id);
     $this->insurance_company_name = $ic->get_name();
     $ic = null;
 }
コード例 #2
0
 function populate()
 {
     parent::populate();
     $sql = "SELECT name from form_review_of_systems_checks where foreign_id = '" . mysql_real_escape_string($this->id) . "'";
     $results = sqlQ($sql);
     while ($row = mysql_fetch_array($results, MYSQL_ASSOC)) {
         $this->checks[] = $row['name'];
     }
 }
コード例 #3
0
 function populate()
 {
     parent::populate();
     $sql = "SELECT name from form_evaluation_checks where foreign_id = '" . add_escape_custom($this->id) . "'";
     $results = sqlQ($sql);
     while ($row = sqlFetchArray($results)) {
         $this->checks[] = $row['name'];
     }
 }
コード例 #4
0
 function populate()
 {
     parent::populate();
     $sql = "SELECT name from form_hp_tje_checks where foreign_id = '" . add_escape_custom($this->id) . "'";
     $results = sqlQ($sql);
     while ($row = sqlFetchArray($results)) {
         $this->checks[] = $row['name'];
     }
     $sql = "SELECT doctor,specialty,tx_rendered,effectiveness,date from form_hp_tje_history where foreign_id = '" . add_escape_custom($this->id) . "'";
     $results = sqlQ($sql);
     while ($row = sqlFetchArray($results)) {
         $this->history[] = $row;
     }
     $sql = "SELECT nature_of_accident,injuries,date from form_hp_tje_previous_accidents where foreign_id = '" . add_escape_custom($this->id) . "'";
     $results = sqlQ($sql);
     while ($row = sqlFetchArray($results)) {
         $this->previous_accidents[] = $row;
     }
 }
コード例 #5
0
 function populate()
 {
     parent::populate();
     //$this->temp_methods = parent::_load_enum("temp_locations",false);
 }
コード例 #6
0
 function populate()
 {
     parent::populate();
 }
コード例 #7
0
 function populate()
 {
     parent::populate();
     $this->address = Address::factory_address($this->id);
     $this->phone_numbers = PhoneNumber::factory_phone_numbers($this->id);
 }
コード例 #8
0
 /**
  * @brief Fill in this object's members with the contents from the database representing the stored form.
  */
 function populate()
 {
     /* Run our parent's implementation. */
     parent::populate();
 }