/home/paperdevswire/public_html/framework/collections/CList.php(88)
076 * @param boolean $value whether this list is read-only or not 077 */ 078 protected function setReadOnly($value) 079 { 080 $this->_r=$value; 081 } 082 083 /** 084 * Returns an iterator for traversing the items in the list. 085 * This method is required by the interface IteratorAggregate. 086 * @return Iterator an iterator for traversing the items in the list. 087 */ 088 public function getIterator() 089 { 090 return new CListIterator($this->_d); 091 } 092 093 /** 094 * Returns the number of items in the list. 095 * This method is required by Countable interface. 096 * @return integer number of items in the list. 097 */ 098 public function count() 099 { 100 return $this->getCount();
| #0 |
+
–
/home/paperdevswire/public_html/framework/YiiBase.php(395): include("/home/paperdevswire/public_html/framework/collections/CList.php") 390 { 391 // use include so that the error PHP file may appear 392 if(isset(self::$classMap[$className])) 393 include(self::$classMap[$className]); 394 elseif(isset(self::$_coreClasses[$className])) 395 include(YII_PATH.self::$_coreClasses[$className]); 396 elseif($classMapOnly) 397 return false; 398 else 399 { 400 // include class file relying on include_path |
| #1 |
+
–
/home/paperdevswire/public_html/framework/base/CComponent.php(151): YiiBase::autoload("CList") 146 elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) 147 { 148 // duplicating getEventHandlers() here for performance 149 $name=strtolower($name); 150 if(!isset($this->_e[$name])) 151 $this->_e[$name]=new CList; 152 return $this->_e[$name]->add($value); 153 } 154 elseif(is_array($this->_m)) 155 { 156 foreach($this->_m as $object) |
| #2 |
+
–
/home/paperdevswire/public_html/framework/base/CModule.php(520): CComponent->__set("onbeginrequest", array("ModuleLoader", "loadModules")) 515 public function configure($config) 516 { 517 if(is_array($config)) 518 { 519 foreach($config as $key=>$value) 520 $this->$key=$value; 521 } 522 } 523 524 /** 525 * Loads static application components. |
| #3 |
+
–
/home/paperdevswire/public_html/framework/base/CApplication.php(159): CModule->configure(array("name" => "Abhinav Software - Epaper CMS", "defaultController" => "main", "preload" => array("log"), "onBeginRequest" => array("ModuleLoader", "loadModules"), ...)) 154 $this->preinit(); 155 156 $this->initSystemHandlers(); 157 $this->registerCoreComponents(); 158 159 $this->configure($config); 160 $this->attachBehaviors($this->behaviors); 161 $this->preloadComponents(); 162 163 $this->init(); 164 } |
| #4 |
+
–
/home/paperdevswire/public_html/framework/YiiBase.php(114): CApplication->__construct(array("name" => "Abhinav Software - Epaper CMS", "defaultController" => "main", "preload" => array("log"), "onBeginRequest" => array("ModuleLoader", "loadModules"), ...)) 109 * to the constructor of the application class. 110 * @return mixed the application instance 111 */ 112 public static function createApplication($class,$config=null) 113 { 114 return new $class($config); 115 } 116 117 /** 118 * Returns the application singleton or null if the singleton has not been created yet. 119 * @return CApplication the application singleton, null if the singleton has not been created yet. |
| #5 |
+
–
/home/paperdevswire/public_html/framework/YiiBase.php(87): YiiBase::createApplication("CWebApplication", "/home/paperdevswire/public_html/protected/config/main.php") 82 * If not, the directory will be defaulted to 'protected'. 83 * @return CWebApplication 84 */ 85 public static function createWebApplication($config=null) 86 { 87 return self::createApplication('CWebApplication',$config); 88 } 89 90 /** 91 * Creates a console application instance. 92 * @param mixed $config application configuration. |
| #6 |
+
–
/home/paperdevswire/public_html/index.php(26): YiiBase::createWebApplication("/home/paperdevswire/public_html/protected/config/main.php") 21 defined('YII_DEBUG') or define('YII_DEBUG',true); 22 // specify how many levels of call stack should be shown in each log message 23 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 24 25 require_once($yii); 26 Yii::createWebApplication($config)->run(); 27 } 28 if(!$isInstalled){ 29 include "install.php"; 30 } |