/** * PHP __get magic method implementation * @param string $strName Name of the property * * @return mixed * @throws Exception|QCallerException */ public function __get($strName) { switch ($strName) { case 'SelectedId': return $this->strSelectedId; case 'MustMatch': return $this->blnMustMatch; case 'MultipleValueDelimiter': return $this->strMultipleValueDelimiter; case 'DisplayHtml': return $this->blnDisplayHtml; default: try { return parent::__get($strName); } catch (QCallerException $objExc) { $objExc->IncrementOffset(); throw $objExc; } } }
/** * If this control is attachable to a codegenerated control in a ModelConnector, this function will be * used by the ModelConnector designer dialog to display a list of options for the control. * @return QModelConnectorParam[] **/ public static function GetModelConnectorParams() { return array_merge(parent::GetModelConnectorParams(), array(new QModelConnectorParam(QModelConnectorParam::GeneralCategory, 'NoAutoLoad', 'Prevent automatically populating a list type control. Set this if you are doing more complex list loading.', QType::Boolean))); }