/** * 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 TControl the control that owns this collection. * @param boolean whether the list is read-only */ public function __construct(TControl $owner, $readOnly = false) { $this->_o = $owner; parent::__construct(null, $readOnly); }