本文整理汇总了PHP中ORDataObject::populate方法的典型用法代码示例。如果您正苦于以下问题:PHP ORDataObject::populate方法的具体用法?PHP ORDataObject::populate怎么用?PHP ORDataObject::populate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ORDataObject
的用法示例。
在下文中一共展示了ORDataObject::populate方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: populate
function populate()
{
parent::populate();
$ic = new InsuranceCompany($this->insurance_company_id);
$this->insurance_company_name = $ic->get_name();
$ic = null;
}
示例2: populate
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: populate
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: populate
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: populate
function populate()
{
parent::populate();
//$this->temp_methods = parent::_load_enum("temp_locations",false);
}
示例6: populate
function populate()
{
parent::populate();
$this->address = Address::factory_address($this->id);
$this->phone_numbers = PhoneNumber::factory_phone_numbers($this->id);
}
示例7: populate
/**
* @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();
}