当前位置: 首页>>代码示例>>PHP>>正文


PHP ORDataObject::populate方法代码示例

本文整理汇总了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;
 }
开发者ID:aaricpittman,项目名称:openemr,代码行数:7,代码来源:InsuranceNumbers.class.php

示例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'];
     }
 }
开发者ID:mindfeederllc,项目名称:openemr,代码行数:9,代码来源:FormReviewOfSystems.class.php

示例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'];
     }
 }
开发者ID:aaricpittman,项目名称:openemr,代码行数:9,代码来源:FormEvaluation.class.php

示例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;
     }
 }
开发者ID:aaricpittman,项目名称:openemr,代码行数:19,代码来源:FormHpTjePrimary.class.php

示例5: populate

 function populate()
 {
     parent::populate();
     //$this->temp_methods = parent::_load_enum("temp_locations",false);
 }
开发者ID:stephen-smith,项目名称:openemr,代码行数:5,代码来源:FormVitals.class.php

示例6: populate

 function populate()
 {
     parent::populate();
     $this->address = Address::factory_address($this->id);
     $this->phone_numbers = PhoneNumber::factory_phone_numbers($this->id);
 }
开发者ID:sivarajankumar,项目名称:openemr,代码行数:6,代码来源:InsuranceCompany.class.php

示例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();
 }
开发者ID:katopenzz,项目名称:openemr,代码行数:8,代码来源:AbstractClickmapModel.php


注:本文中的ORDataObject::populate方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。