public function __construct() { parent::__construct(); $this->setExtClassInfo("Ext.Viewport", "viewport"); $validProps = array(); $this->addValidConfigProperties($validProps); }
protected function getConfigParams($lazy = false) { if ($this->_bottomToolbar->getItems()->getCount() == 0 && !$this->_bottomToolbar->getMustRender()) { $this->setExtConfigProperty("bbar", null); } if ($this->_topToolbar->getItems()->getCount() == 0 && !$this->_topToolbar->getMustRender()) { $this->setExtConfigProperty("tbar", null); } if ($this->_tools->getCount() == 0) { $this->setExtConfigProperty("tools", null); } return parent::getConfigParams($lazy); }