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); }
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(); }
public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.BoxComponent", "box"); $validProps = array("autoHeight", "autoWidth", "height", "width"); $this->addValidConfigProperties($validProps); }
/** * @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; }