public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.Viewport", "viewport"); $validProps = array(); $this->addValidConfigProperties($validProps); }
public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.Panel", "panel"); $validProps = array("animCollapse", "applyTo", "autoLoad", "autoScroll", "disabled", "baseCls", "bbar", "bodyBorder", "bodyStyle", "border", "buttonAlign", "buttons", "collapseFirst", "collapsed", "collapsedCls", "collapsible", "contentEl", "draggable", "elements", "floating", "footer", "frame", "header", "headerAsText", "hideCollapseTool", "html", "iconCls", "keys", "maskDisabled", "minButtonWidth", "shadow", "shadowOffset", "shim", "tbar", "title", "titleCollapse", "tools"); $this->addValidConfigProperties($validProps); $this->_bottomToolbar = new PhpExt_Toolbar_Toolbar(); $this->_extConfigProperties['bbar'] = $this->_bottomToolbar; $this->_buttons = new PhpExt_ButtonCollection(); $this->_extConfigProperties['buttons'] = $this->_buttons; $this->_topToolbar = new PhpExt_Toolbar_Toolbar(); $this->_extConfigProperties['tbar'] = $this->_topToolbar; $this->_tools = new PhpExt_ToolConfigObjectCollection(); $this->_tools->setForceArray(true); $this->_extConfigProperties['tools'] = $this->_tools; }