本文整理匯總了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';
}