コード例 #1
0
ファイル: Viewport.php プロジェクト: pablius/oob-n1
 public function __construct()
 {
     parent::__construct();
     $this->setExtClassInfo("Ext.Viewport", "viewport");
     $validProps = array();
     $this->addValidConfigProperties($validProps);
 }
コード例 #2
0
ファイル: Panel.php プロジェクト: pablius/oob-n1
 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);
 }