/** * Constructor. * Initializes the list with an array or an iterable object. * @param array|Iterator the intial data. Default is null, meaning no initial data. * @param boolean whether the list is read-only * @param numeric the default priority of items without specified priorities. * @param integer the precision of the numeric priorities * @throws TInvalidDataTypeException If data is not null and is neither an array nor an iterator. */ public function __construct($data = null, $readOnly = false, $defaultPriority = 10, $precision = 8) { parent::__construct(); if ($data !== null) { $this->copyFrom($data); } $this->setReadOnly($readOnly); $this->setPrecision($precision); $this->setDefaultPriority($defaultPriority); }
public function __construct(TControl $owner, $readOnly = false) { $this->_o = $owner; parent::__construct(null, $readOnly); }
/** * This initializes the list and the name of the method to be called * @param string the name of the function call */ public function __construct($method) { $this->_method = $method; parent::__construct(); }
/** * Constructor. * @param array|Iterator the initial data. Default is null, meaning no initialization. * @param boolean whether the list is read-only. Always true for paged list. */ public function __construct($data = null, $readOnly = false) { parent::__construct($data, true); }
/** * Constructor. * @param TWizard wizard that owns this collection */ public function __construct(TWizard $wizard) { parent::__construct(); $this->_wizard = $wizard; }
/** * Constructor. * @param mixed owner of this collection. */ public function __construct($owner = null) { $this->_o = $owner; parent::__construct(); }
/** * Constructor. * @param TDataGrid the control that owns this collection. */ public function __construct(TDataGrid $owner) { parent::__construct(); $this->_o = $owner; }
/** * Constructor. * @param TXmlElement owner of this list */ public function __construct(TXmlElement $owner) { parent::__construct(); $this->_o = $owner; }