/home/driverig/yii/framework/collections/CList.php(85)
73 * @param boolean $value whether this list is read-only or not 74 */ 75 protected function setReadOnly($value) 76 { 77 $this->_r=$value; 78 } 79 80 /** 81 * Returns an iterator for traversing the items in the list. 82 * This method is required by the interface IteratorAggregate. 83 * @return Iterator an iterator for traversing the items in the list. 84 */ 85 public function getIterator() 86 { 87 return new CListIterator($this->_d); 88 } 89 90 /** 91 * Returns the number of items in the list. 92 * This method is required by Countable interface. 93 * @return integer number of items in the list. 94 */ 95 public function count() 96 { 97 return $this->getCount();
| #0 |
+
–
/home/driverig/yii/framework/YiiBase.php(400): include("/home/driverig/yii/framework/collections/CList.php") 395 */ 396 public static function autoload($className) 397 { 398 // use include so that the error PHP file may appear 399 if(isset(self::$_coreClasses[$className])) 400 include(YII_PATH.self::$_coreClasses[$className]); 401 else if(isset(self::$classMap[$className])) 402 include(self::$classMap[$className]); 403 else 404 { 405 // include class file relying on include_path |
| #1 |
+
–
/home/driverig/yii/framework/base/CComponent.php(484): YiiBase::autoload("CList") 479 { 480 if($this->hasEvent($name)) 481 { 482 $name=strtolower($name); 483 if(!isset($this->_e[$name])) 484 $this->_e[$name]=new CList; 485 return $this->_e[$name]; 486 } 487 else 488 throw new CException(Yii::t('yii','Event "{class}.{event}" is not defined.', 489 array('{class}'=>get_class($this), '{event}'=>$name))); |
| #2 |
+
–
/home/driverig/yii/framework/base/CComponent.php(526): CComponent->getEventHandlers("onflush") 521 * @throws CException if the event is not defined 522 * @see detachEventHandler 523 */ 524 public function attachEventHandler($name,$handler) 525 { 526 $this->getEventHandlers($name)->add($handler); 527 } 528 529 /** 530 * Detaches an existing event handler. 531 * This method is the opposite of {@link attachEventHandler}. |
| #3 |
+
–
/home/driverig/yii/framework/logging/CLogRouter.php(68): CComponent->attachEventHandler("onFlush", array(CLogRouter, "collectLogs")) 63 { 64 $route=Yii::createComponent($route); 65 $route->init(); 66 $this->_routes[$name]=$route; 67 } 68 Yii::getLogger()->attachEventHandler('onFlush',array($this,'collectLogs')); 69 Yii::app()->attachEventHandler('onEndRequest',array($this,'processLogs')); 70 } 71 72 /** 73 * @return array the currently initialized routes |
| #4 |
+
–
/home/driverig/yii/framework/base/CModule.php(372): CLogRouter->init() 367 if(!isset($config['enabled']) || $config['enabled']) 368 { 369 Yii::trace("Loading \"$id\" application component",'system.CModule'); 370 unset($config['enabled']); 371 $component=Yii::createComponent($config); 372 $component->init(); 373 return $this->_components[$id]=$component; 374 } 375 } 376 } 377 |
| #5 |
+
–
/home/driverig/yii/framework/base/CModule.php(477): CModule->getComponent("log") 472 * Loads static application components. 473 */ 474 protected function preloadComponents() 475 { 476 foreach($this->preload as $id) 477 $this->getComponent($id); 478 } 479 480 /** 481 * Preinitializes the module. 482 * This method is called at the beginning of the module constructor. |
| #6 |
+
–
/home/driverig/yii/framework/base/CApplication.php(142): CModule->preloadComponents() 137 $this->initSystemHandlers(); 138 $this->registerCoreComponents(); 139 140 $this->configure($config); 141 $this->attachBehaviors($this->behaviors); 142 $this->preloadComponents(); 143 144 $this->init(); 145 } 146 147 |
| #7 |
+
–
/home/driverig/yii/framework/YiiBase.php(128): CApplication->__construct(array("language" => "he", "name" => "nohal6", "preload" => array("log"), "import" => array("application.models.*", "application.components.*", "application.modules.users.models.*", "application.modules.admin.models.*", ...), ...)) 123 * @return mixed the application instance 124 * @since 1.0.10 125 */ 126 public static function createApplication($class,$config=null) 127 { 128 return new $class($config); 129 } 130 131 /** 132 * Returns the application singleton, null if the singleton has not been created yet. 133 * @return CApplication the application singleton, null if the singleton has not been created yet. |
| #8 |
+
–
/home/driverig/yii/framework/YiiBase.php(100): YiiBase::createApplication("CWebApplication", "/home/driverig/public_html/protected/config/main.php") 095 * If not, the directory will be defaulted to 'protected'. 096 * @return CWebApplication 097 */ 098 public static function createWebApplication($config=null) 099 { 100 return self::createApplication('CWebApplication',$config); 101 } 102 103 /** 104 * Creates a console application instance. 105 * @param mixed $config application configuration. |
| #9 |
+
–
/home/driverig/public_html/index.php(18): YiiBase::createWebApplication("/home/driverig/public_html/protected/config/main.php") 13 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',100); 14 15 date_default_timezone_set("Asia/Jerusalem"); 16 17 require_once($yii); 18 Yii::createWebApplication($config)->run(); |