當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。