Go to the documentation of this file.00001 <?php
00002
00007 class oxWidget extends oxUBase
00008 {
00009
00017 protected $_aComponentNames = array();
00018
00025 protected $_blLoadComponents = false;
00026
00031 public function init()
00032 {
00033 self::$_aCollectedComponentNames = null;
00034
00035 if (!empty($this->_aComponentNames)) {
00036 foreach ($this->_aComponentNames as $sComponentName => $sCompCache) {
00037 $oActTopView = $this->getConfig()->getTopActiveView();
00038 if ($oActTopView) {
00039 $this->_oaComponents[$sComponentName] = $oActTopView->getComponent($sComponentName);
00040 if (!isset($this->_oaComponents[$sComponentName])) {
00041 $this->_blLoadComponents = true;
00042 break;
00043 } else {
00044 $this->_oaComponents[$sComponentName]->setParent($this);
00045 }
00046 }
00047 }
00048 }
00049
00050 parent::init();
00051
00052 }
00053
00058 protected function _processRequest()
00059 {
00060 }
00061 }