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


PHP ORDataObject::ORDataObject方法代码示例

本文整理汇总了PHP中ORDataObject::ORDataObject方法的典型用法代码示例。如果您正苦于以下问题:PHP ORDataObject::ORDataObject方法的具体用法?PHP ORDataObject::ORDataObject怎么用?PHP ORDataObject::ORDataObject使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ORDataObject的用法示例。


在下文中一共展示了ORDataObject::ORDataObject方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Note

 /**
  * Constructor sets all Note attributes to their default value
  * @param int $id optional existing id of a specific note, if omitted a "blank" note is created 
  */
 function Note($id = "")
 {
     //call the parent constructor so we have a _db to work with
     parent::ORDataObject();
     //shore up the most basic ORDataObject bits
     $this->id = $id;
     $this->_table = "notes";
     $this->note = "";
     $this->date = date("Y-m-d H:i:s");
     if ($id != "") {
         $this->populate();
     }
 }
开发者ID:mindfeederllc,项目名称:openemr,代码行数:17,代码来源:Note.class.php

示例2:

 /**
  * Constructor sets all Insurance attributes to their default value
  */
 function X12Partner($id = "", $prefix = "")
 {
     parent::ORDataObject();
     $this->id = $id;
     $this->_table = "x12_partners";
     $this->processing_format_array = $this->_load_enum("processing_format", false);
     $this->processing_format = $this->processing_format_array[0];
     //most recent x12 version mandated by HIPAA and CMS
     $this->x12_version = "004010X098A1";
     $this->x12_isa05 = "ZZ";
     $this->x12_isa07 = "ZZ";
     $this->x12_isa14 = "0";
     if ($id != "") {
         $this->populate();
     }
 }
开发者ID:stephen-smith,项目名称:openemr,代码行数:19,代码来源:X12Partner.class.php

示例3: Document

 /**
  * Constructor sets all Document attributes to their default value
  * @param int $id optional existing id of a specific document, if omitted a "blank" document is created 
  */
 function Document($id = "")
 {
     //call the parent constructor so we have a _db to work with
     parent::ORDataObject();
     //shore up the most basic ORDataObject bits
     $this->id = $id;
     $this->_table = "documents";
     //load the enum type from the db using the parent helper function, this uses psuedo-class variables so it is really cheap
     $this->type_array = $this->_load_enum("type");
     $this->type = $this->type_array[0];
     $this->size = 0;
     $this->date = date("Y-m-d H:i:s");
     $this->url = "";
     $this->mimetype = "";
     $this->docdate = date("Y-m-d");
     $this->hash = "";
     $this->list_id = 0;
     $this->encounter_id = 0;
     $this->encounter_check = "";
     if ($id != "") {
         $this->populate();
     }
 }
开发者ID:minggLu,项目名称:openemr,代码行数:27,代码来源:Document.class.php


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