예제 #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);
 }