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


PHP DataObjectCollection::__construct方法代码示例

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


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

示例1: array

 function __construct($do = 'GLPeriod', $tablename = 'gl_periods')
 {
     parent::__construct($do, $tablename);
     $this->orderby = array('year', 'period');
     $this->direction = array('DESC', 'DESC');
     $this->_identifierField = 'year || \' - period \' || period';
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:7,代码来源:GLPeriodCollection.php

示例2: array

 function __construct($do = 'ProjectEquipment', $tablename = 'project_equipment_allocation_overview')
 {
     // Contruct the object
     parent::__construct($do, $tablename);
     // Set specific characteristics
     $this->identifierField = 'name';
     $this->orderby = array('start_date', 'equipment');
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:8,代码来源:ProjectEquipmentAllocationCollection.php

示例3:

 function __construct($do = 'GLParams', $tablename = 'gl_params')
 {
     parent::__construct($do, $tablename);
     $this->_identifierField = "paramvalue";
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:5,代码来源:GLParamsCollection.php

示例4:

 function __construct($do = 'PLPayment', $tablename = 'pl_payments_overview')
 {
     parent::__construct($do, $tablename);
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:4,代码来源:PLPaymentCollection.php

示例5:

 function __construct($do = 'ComplaintType')
 {
     parent::__construct($do);
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:4,代码来源:ComplaintTypeCollection.php

示例6:

 function __construct($do = 'Permission', $tablename = 'permissions')
 {
     parent::__construct($do, $tablename);
     $this->orderby = 'position';
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:5,代码来源:PermissionCollection.php

示例7: __construct

 public function __construct($do = 'EmployeePaymentType')
 {
     parent::__construct($do);
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:4,代码来源:EmployeePaymentTypeCollection.php

示例8: __construct

 public function __construct($do = 'HourPaymentType', $tablename = 'hours_payment_types_overview')
 {
     parent::__construct($do, $tablename);
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:4,代码来源:HourPaymentTypeCollection.php

示例9: array

 function __construct($do = 'GLTransaction', $tablename = 'gltransactionsoverview')
 {
     parent::__construct($do, $tablename);
     $this->orderby = array('glperiod', 'account', 'cost_centre');
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:5,代码来源:GLTransactionCollection.php

示例10: array

 function __construct($do = 'SInvoiceLine', $tablename = 'customer_service')
 {
     parent::__construct($do, $tablename);
     $this->orderby = array('product_group', 'customer', 'stitem', 'due_despatch_date');
     $this->direction = array('ASC', 'ASC', 'ASC', 'DESC');
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:6,代码来源:CustomerServiceCollection.php

示例11:

 function __construct($do = 'SOrder', $tablename = 'so_headeroverview')
 {
     parent::__construct($do, $tablename);
     $this->view = '';
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:5,代码来源:SOrderCollection.php

示例12:

 function __construct($do = 'DatasetField')
 {
     parent::__construct($do);
     $this->orderby = 'position';
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:5,代码来源:DatasetFieldCollection.php

示例13:

 function __construct($do = 'ReportPart')
 {
     parent::__construct($do);
     $this->title = 'Report Parts';
 }
开发者ID:uzerpllp,项目名称:uzerp,代码行数:5,代码来源:ReportPartCollection.php


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