Esempio n. 1
0
 public function __construct()
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.Button", "button");
     $validProps = array("clickEvent", "disabled", "enableToogle", "handleMouseEvents", "handler", "hidden", "icon", "iconCls", "menu", "menuAlign", "minWidth", "name", "pressed", "repeat", "scope", "tabIndex", "text", "toogleGroup", "tooltip", "tooltipType", "type");
     $this->addValidConfigProperties($validProps);
 }
Esempio n. 2
0
 public function __construct()
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.menu.BaseItem", null);
     $validProps = array("activeClass", "canActivate", "handler", "hideDelay", "hideOnClick", "scope");
     $this->addValidConfigProperties($validProps);
     $this->_items = new PhpExt_Menu_BaseItemCollection();
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.BoxComponent", "box");
     $validProps = array("autoHeight", "autoWidth", "height", "width");
     $this->addValidConfigProperties($validProps);
 }
Esempio n. 4
0
 /**
  * @param PhpExt_Form_Field $field A {@link PhpExt_Form_Field} object (or descendant) to use as editor
  */
 public function __construct($field)
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.Editor", "editor");
     $validProps = array("alignment", "autoSize", "cancelOnEsc", "completeOnEnter", "contrain", "hideEl", "ignoreNoChange", "revertInvalid", "shadow", "swallowKeys", "updateEl", "value");
     $this->addValidConfigProperties($validProps);
     $this->_field = $field;
 }