public function renderPostClientScript()
 {
     //		$this->_logDebug('renderPostClientScript...id_' . $this->id);
     $return = '';
     if (!is_null($this->controls)) {
         for ($this->controls->moveFirst(); $this->controls->hasMore(); $this->controls->moveNext()) {
             $objControl = $this->controls->current();
             $return .= $objControl->renderPostClientScript();
         }
     }
     return $return;
 }
 public function offsetGet($offset)
 {
     global $phpAnvil;
     $return = false;
     if (!$this->exists($offset)) {
         $msg = 'Database, ' . $offset . ', not found.';
         $this->_addTraceInfo(__FILE__, __METHOD__, __LINE__, $msg, self::TRACE_TYPE_DEBUG);
         FB::log($msg);
     } else {
         $return = parent::offsetGet($offset);
     }
     return $return;
 }
 public function offsetGet($offset)
 {
     global $phpAnvil;
     global $firePHP;
     $return = false;
     if (!$this->exists($offset)) {
         $msg = 'Controller (' . $offset . ') not found.';
         $this->_addTraceInfo(__FILE__, __METHOD__, __LINE__, $msg, self::TRACE_TYPE_ERROR);
         FB::error($msg);
     } else {
         $return = parent::offsetGet($offset);
     }
     return $return;
 }
Esempio n. 4
0
 public function offsetGet($moduleRefName)
 {
     global $phpAnvil;
     //        global $firePHP;
     $moduleRefName = strtolower($moduleRefName);
     //        FB::log($offset);
     //        FB::log($this->_items);
     //---- Is the module not already loaded?
     //        if (!isset($this->_items[$offset])) {
     if (!$this->exists($moduleRefName)) {
         //---- Load the module
         $phpAnvil->loadModule($moduleRefName);
     }
     return parent::offsetGet($moduleRefName);
 }