Exemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.form.Label", "label");
     $validProps = array("text", "anchor");
     $this->addValidConfigProperties($validProps);
 }
Exemplo n.º 2
0
 public function __construct()
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.Toolbar", "toolbar");
     $validProps = array("items");
     $this->addValidConfigProperties($validProps);
     $this->_items = new PhpExt_Toolbar_IToolbarItemCollection();
     $this->_items->setForceArray(true);
     $this->setExtConfigProperty("items", $this->_items);
 }
Exemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.Container", "container");
     $validProps = array("activeItem", "autoDestroy", "bufferResize", "defaults", "defaultType", "hideBorders", "items", "layout", "monitorResize");
     $this->addValidConfigProperties($validProps);
     $this->_items = new PhpExt_ComponentCollection($this);
     $this->_extConfigProperties['items'] = $this->_items;
     $this->_defaultLayout = new PhpExt_Layout_ContainerLayout();
 }
Exemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.form.Field", "field");
     $validProps = array("autoCreate", "clearCls", "cls", "disabled", "fieldClass", "fieldLabel", "focusClass", "hideLabel", "inputType", "invalidClass", "invalidText", "itemCls", "labelSeparator", "labelStyle", "msgFx", "msgTarget", "name", "readOnly", "tabIndex", "validateOnBlur", "validationDelay", "validationEvent", "value");
     $this->addValidConfigProperties($validProps);
 }
Exemplo n.º 5
0
 /**
  * @param string $itemSelector A CSS selector in any format supported by Ext.DomQuery that will be used to determine what nodes this DataView will be working with.
  */
 public function __construct($itemSelector)
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.DataView", "dataview");
     $validProps = array("emptyText", "itemSelector", "loadingText", "multiSelect", "overClass", "selectedClass", "simpleSelect", "singleSelect", "store", "tpl");
     $this->addValidConfigProperties($validProps);
     $this->setItemCssSelector($itemSelector);
 }
Exemplo n.º 6
0
 public function __construct()
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.ProgressBar", "progress");
     $validProps = array("baseCls", "id", "text", "textEl", "value");
     $this->addValidConfigProperties($validProps);
 }