/home/seosmoco/public_html/dsqrealestate/apps/common/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/seosmoco/public_html/dsqrealestate/apps/common/framework/YiiBase.php(403): include("/home/seosmoco/public_html/dsqrealestate/apps/common/framework/c...") 398 { 399 // use include so that the error PHP file may appear 400 if(isset(self::$classMap[$className])) 401 include(self::$classMap[$className]); 402 elseif(isset(self::$_coreClasses[$className])) 403 include(YII_PATH.self::$_coreClasses[$className]); 404 else 405 { 406 // include class file relying on include_path 407 if(strpos($className,'\\')===false) // class without namespace 408 { |
| #1 |
+
–
/home/seosmoco/public_html/dsqrealestate/apps/common/framework/base/CComponent.php(474): YiiBase::autoload("CList") 469 { 470 if($this->hasEvent($name)) 471 { 472 $name=strtolower($name); 473 if(!isset($this->_e[$name])) 474 $this->_e[$name]=new CList; 475 return $this->_e[$name]; 476 } 477 else 478 throw new CException(Yii::t('yii','Event "{class}.{event}" is not defined.', 479 array('{class}'=>get_class($this), '{event}'=>$name))); |
| #2 |
+
–
/home/seosmoco/public_html/dsqrealestate/apps/common/framework/base/CComponent.php(516): CComponent->getEventHandlers("onflush") 511 * @throws CException if the event is not defined 512 * @see detachEventHandler 513 */ 514 public function attachEventHandler($name,$handler) 515 { 516 $this->getEventHandlers($name)->add($handler); 517 } 518 519 /** 520 * Detaches an existing event handler. 521 * This method is the opposite of {@link attachEventHandler}. |
| #3 |
+
–
/home/seosmoco/public_html/dsqrealestate/apps/common/framework/logging/CLogRouter.php(69): CComponent->attachEventHandler("onFlush", array(CLogRouter, "collectLogs")) 64 { 65 $route=Yii::createComponent($route); 66 $route->init(); 67 $this->_routes[$name]=$route; 68 } 69 Yii::getLogger()->attachEventHandler('onFlush',array($this,'collectLogs')); 70 Yii::app()->attachEventHandler('onEndRequest',array($this,'processLogs')); 71 } 72 73 /** 74 * @return array the currently initialized routes |
| #4 |
+
–
/home/seosmoco/public_html/dsqrealestate/apps/common/framework/base/CModule.php(387): CLogRouter->init() 382 if(!isset($config['enabled']) || $config['enabled']) 383 { 384 Yii::trace("Loading \"$id\" application component",'system.CModule'); 385 unset($config['enabled']); 386 $component=Yii::createComponent($config); 387 $component->init(); 388 return $this->_components[$id]=$component; 389 } 390 } 391 } 392 |
| #5 |
+
–
/home/seosmoco/public_html/dsqrealestate/apps/common/framework/base/CModule.php(523): CModule->getComponent("log") 518 * Loads static application components. 519 */ 520 protected function preloadComponents() 521 { 522 foreach($this->preload as $id) 523 $this->getComponent($id); 524 } 525 526 /** 527 * Preinitializes the module. 528 * This method is called at the beginning of the module constructor. |
| #6 |
+
–
/home/seosmoco/public_html/dsqrealestate/apps/common/framework/base/CApplication.php(163): CModule->preloadComponents() 158 $this->initSystemHandlers(); 159 $this->registerCoreComponents(); 160 161 $this->configure($config); 162 $this->attachBehaviors($this->behaviors); 163 $this->preloadComponents(); 164 165 $this->init(); 166 } 167 168 |
| #7 |
+
–
/home/seosmoco/public_html/dsqrealestate/apps/common/framework/YiiBase.php(125): CApplication->__construct(array("runtimePath" => "/home/seosmoco/public_html/dsqrealestate/apps/common/runtime", "name" => "Classifieds", "id" => "Classifieds", "sourceLanguage" => "en", ...)) 120 * to the constructor of the application class. 121 * @return mixed the application instance 122 */ 123 public static function createApplication($class,$config=null) 124 { 125 return new $class($config); 126 } 127 128 /** 129 * Returns the application singleton or null if the singleton has not been created yet. 130 * @return CApplication the application singleton, null if the singleton has not been created yet. |
| #8 |
+
–
/home/seosmoco/public_html/dsqrealestate/apps/common/framework/YiiBase.php(98): YiiBase::createApplication("CWebApplication", array("basePath" => "/home/seosmoco/public_html/dsqrealestate/apps/api", "runtimePath" => "/home/seosmoco/public_html/dsqrealestate/apps/common/runtime", "name" => "Classifieds", "id" => "Classifieds", ...)) 093 * If not, the directory will be defaulted to 'protected'. 094 * @return CWebApplication 095 */ 096 public static function createWebApplication($config=null) 097 { 098 return self::createApplication('CWebApplication',$config); 099 } 100 101 /** 102 * Creates a console application instance. 103 * @param mixed $config application configuration. |
| #9 |
+
–
/home/seosmoco/public_html/dsqrealestate/apps/init.php(151): YiiBase::createWebApplication(array("basePath" => "/home/seosmoco/public_html/dsqrealestate/apps/api", "runtimePath" => "/home/seosmoco/public_html/dsqrealestate/apps/common/runtime", "name" => "Classifieds", "id" => "Classifieds", ...)) 146 147 // create the application instance. 148 if (!MW_IS_CLI) { 149 150 // echo Yii::getPathOfAlias(MW_APP_NAME . '.config.main');exit; 151 $app = Yii::createWebApplication($appConfig); 152 } else { 153 $webSpecific = array('defaultController', 'modules', 'controllerNamespace'); 154 foreach ($webSpecific as $prop) { 155 if (isset($appConfig[$prop])) { 156 unset($appConfig[$prop]); |
| #10 |
+
–
/home/seosmoco/public_html/dsqrealestate/api/index.php(18): require_once("/home/seosmoco/public_html/dsqrealestate/apps/init.php") 13 14 // define the type of application we are creating. 15 define('MW_APP_NAME', 'api'); 16 17 // and start an instance of it. 18 require_once(dirname(__FILE__) . '/../apps/init.php'); |