function populate() { parent::populate(); $ic = new InsuranceCompany($this->insurance_company_id); $this->insurance_company_name = $ic->get_name(); $ic = null; }
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']; } }
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']; } }
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; } }
function populate() { parent::populate(); //$this->temp_methods = parent::_load_enum("temp_locations",false); }
function populate() { parent::populate(); }
function populate() { parent::populate(); $this->address = Address::factory_address($this->id); $this->phone_numbers = PhoneNumber::factory_phone_numbers($this->id); }
/** * @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(); }