/home/targettr/target/framework/collections/CMap.php(82)
70 * @param boolean $value whether this list is read-only or not 71 */ 72 protected function setReadOnly($value) 73 { 74 $this->_r=$value; 75 } 76 77 /** 78 * Returns an iterator for traversing the items in the list. 79 * This method is required by the interface IteratorAggregate. 80 * @return CMapIterator an iterator for traversing the items in the list. 81 */ 82 public function getIterator() 83 { 84 return new CMapIterator($this->_d); 85 } 86 87 /** 88 * Returns the number of items in the map. 89 * This method is required by Countable interface. 90 * @return integer number of items in the map. 91 */ 92 public function count() 93 { 94 return $this->getCount();
#0 |
+
–
/home/targettr/target/framework/YiiBase.php(399): include("/home/targettr/target/framework/collections/CMap.php") 394 { 395 // use include so that the error PHP file may appear 396 if(isset(self::$classMap[$className])) 397 include(self::$classMap[$className]); 398 else if(isset(self::$_coreClasses[$className])) 399 include(YII_PATH.self::$_coreClasses[$className]); 400 else 401 { 402 // include class file relying on include_path 403 if(strpos($className,'\\')===false) // class without namespace 404 { |
#1 |
+
–
/home/targettr/target/framework/base/CModule.php(468): YiiBase::autoload("CMap") 463 foreach($components as $id=>$component) 464 { 465 if($component instanceof IApplicationComponent) 466 $this->setComponent($id,$component); 467 else if(isset($this->_componentConfig[$id]) && $merge) 468 $this->_componentConfig[$id]=CMap::mergeArray($this->_componentConfig[$id],$component); 469 else 470 $this->_componentConfig[$id]=$component; 471 } 472 } 473 |
#2 |
+
–
/home/targettr/target/framework/base/CComponent.php(153): CModule->setComponents(array("user" => array("allowAutoLogin" => true), "db" => array("connectionString" => "mysql:host=localhost;dbname=targettr_newtt", "emulatePrepare" => true, "username" => "targettr", "password" => "Xt139!Ro", ...), "errorHandler" => array("errorAction" => "site/error"), "log" => array("class" => "CLogRouter", "routes" => array(array("class" => "CFileLogRoute", "levels" => "error, warning"))))) 148 */ 149 public function __set($name,$value) 150 { 151 $setter='set'.$name; 152 if(method_exists($this,$setter)) 153 return $this->$setter($value); 154 else if(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) 155 { 156 // duplicating getEventHandlers() here for performance 157 $name=strtolower($name); 158 if(!isset($this->_e[$name])) |
#3 |
+
–
/home/targettr/target/framework/base/CModule.php(483): CComponent->__set("components", array("user" => array("allowAutoLogin" => true), "db" => array("connectionString" => "mysql:host=localhost;dbname=targettr_newtt", "emulatePrepare" => true, "username" => "targettr", "password" => "Xt139!Ro", ...), "errorHandler" => array("errorAction" => "site/error"), "log" => array("class" => "CLogRouter", "routes" => array(array("class" => "CFileLogRoute", "levels" => "error, warning"))))) 478 public function configure($config) 479 { 480 if(is_array($config)) 481 { 482 foreach($config as $key=>$value) 483 $this->$key=$value; 484 } 485 } 486 487 /** 488 * Loads static application components. |
#4 |
+
–
/home/targettr/target/framework/base/CApplication.php(144): CModule->configure(array("name" => "Target Trainings", "preload" => array("log"), "import" => array("application.models.*", "application.components.*"), "modules" => array("gii" => array("class" => "system.gii.GiiModule", "password" => "12345", "ipFilters" => array("127.0.0.1", "::1"))), ...)) 139 $this->preinit(); 140 141 $this->initSystemHandlers(); 142 $this->registerCoreComponents(); 143 144 $this->configure($config); 145 $this->attachBehaviors($this->behaviors); 146 $this->preloadComponents(); 147 148 $this->init(); 149 } |
#5 |
+
–
/home/targettr/target/framework/YiiBase.php(127): CApplication->__construct(array("name" => "Target Trainings", "preload" => array("log"), "import" => array("application.models.*", "application.components.*"), "modules" => array("gii" => array("class" => "system.gii.GiiModule", "password" => "12345", "ipFilters" => array("127.0.0.1", "::1"))), ...)) 122 * to the constructor of the application class. 123 * @return mixed the application instance 124 */ 125 public static function createApplication($class,$config=null) 126 { 127 return new $class($config); 128 } 129 130 /** 131 * Returns the application singleton, null if the singleton has not been created yet. 132 * @return CApplication the application singleton, null if the singleton has not been created yet. |
#6 |
+
–
/home/targettr/target/framework/YiiBase.php(100): YiiBase::createApplication("CWebApplication", "/home/targettr/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. |
#7 |
+
–
/home/targettr/public_html/index.php(13): YiiBase::createWebApplication("/home/targettr/public_html/protected/config/main.php") 08 defined('YII_DEBUG') or define('YII_DEBUG',true); 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |