本文整理汇总了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';
}
示例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');
}
示例3:
function __construct($do = 'GLParams', $tablename = 'gl_params')
{
parent::__construct($do, $tablename);
$this->_identifierField = "paramvalue";
}
示例4:
function __construct($do = 'PLPayment', $tablename = 'pl_payments_overview')
{
parent::__construct($do, $tablename);
}
示例5:
function __construct($do = 'ComplaintType')
{
parent::__construct($do);
}
示例6:
function __construct($do = 'Permission', $tablename = 'permissions')
{
parent::__construct($do, $tablename);
$this->orderby = 'position';
}
示例7: __construct
public function __construct($do = 'EmployeePaymentType')
{
parent::__construct($do);
}
示例8: __construct
public function __construct($do = 'HourPaymentType', $tablename = 'hours_payment_types_overview')
{
parent::__construct($do, $tablename);
}
示例9: array
function __construct($do = 'GLTransaction', $tablename = 'gltransactionsoverview')
{
parent::__construct($do, $tablename);
$this->orderby = array('glperiod', 'account', 'cost_centre');
}
示例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');
}
示例11:
function __construct($do = 'SOrder', $tablename = 'so_headeroverview')
{
parent::__construct($do, $tablename);
$this->view = '';
}
示例12:
function __construct($do = 'DatasetField')
{
parent::__construct($do);
$this->orderby = 'position';
}
示例13:
function __construct($do = 'ReportPart')
{
parent::__construct($do);
$this->title = 'Report Parts';
}