public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.ux.Multiselect", "multiselect"); $validProps = array("valueField", "data", "displayField", "dataFields", "imagePath", "height", "width", "store"); $this->addValidConfigProperties($validProps); }
public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.ux.ItemSelector", "itemselector"); $validProps = array("toLegend", "fromLegend", "valueField", "displayField", "fromData", "toData", "dataFields", "imagePath", "toStore", "fromStore", "msHeight", "msWidth"); $this->addValidConfigProperties($validProps); }
public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.form.CheckboxGroup", "checkboxgroup"); $this->_items = new PhpExt_ComponentCollection($this); $this->_items->setForceArray(true); $this->_extConfigProperties['items'] = $this->_items; $validProps = array("columns", "vertical", "columnWidth"); $this->addValidConfigProperties($validProps); }
public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.form.TextField", "textfield"); $validProps = array("allowBlank", "blankText", "disableKeyFilter", "emptyClass", "emptyText", "grow", "growMax", "growMin", "maskRe", "maxLength", "maxLengthText", "minLength", "minLengthText", "regex", "regexText", "selectOnFocus", "validator", "vtype", "vtypeText"); $this->addValidConfigProperties($validProps); }
public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.form.HtmlEditor", "htmleditor"); $validProps = array("createLinkText", "defaultLinkValue", "enableAlignments", "enableColors", "enableFont", "enableFontSize", "enableFormat", "enableLinks", "enableLists", "enableSourceEdit", "fontFamilies"); $this->addValidConfigProperties($validProps); }
public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.form.Checkbox", "checkbox"); $validProps = array("autoCreate", "boxLabel", "checked", "fieldClass", "focusClass", "inputValue"); $this->addValidConfigProperties($validProps); }
public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.form.Hidden", "hidden"); }
public function getJavascript($lazy = false, $varName = null) { if ($this->_varName == null) { $configParams = $this->getConfigParams($lazy); $className = $this->_extClassName; $configObj = "{" . implode(",", $configParams) . "}"; $field = $this->_field->getJavascript(false); if ($lazy) { return $configObj; } else { $js = "new {$className}({$field},{$configObj})"; if ($varName != null) { $this->_varName = $varName; $js = "var {$varName} = {$js};"; } return $js; } } else { return $this->_varName; } }