/home/ntsolvec/public_html/yiifw/collections/CMap.php(81)
69 * @param boolean $value whether this list is read-only or not 70 */ 71 protected function setReadOnly($value) 72 { 73 $this->_r=$value; 74 } 75 76 /** 77 * Returns an iterator for traversing the items in the list. 78 * This method is required by the interface IteratorAggregate. 79 * @return CMapIterator an iterator for traversing the items in the list. 80 */ 81 public function getIterator() 82 { 83 return new CMapIterator($this->_d); 84 } 85 86 /** 87 * Returns the number of items in the map. 88 * This method is required by Countable interface. 89 * @return integer number of items in the map. 90 */ 91 public function count() 92 { 93 return $this->getCount();
#0 |
+
–
/home/ntsolvec/public_html/yiifw/YiiBase.php(403): include("/home/ntsolvec/public_html/yiifw/collections/CMap.php") 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/ntsolvec/public_html/yiifw/base/CModule.php(446): YiiBase::autoload("CMap") 441 $this->_componentConfig[$id]=$component; //we should ignore merge here 442 return; 443 } 444 445 if(isset($this->_componentConfig[$id]) && $merge) 446 $this->_componentConfig[$id]=CMap::mergeArray($this->_componentConfig[$id],$component); 447 else 448 $this->_componentConfig[$id]=$component; 449 } 450 451 /** |
#2 |
+
–
/home/ntsolvec/public_html/yiifw/base/CModule.php(501): CModule->setComponent("user", array("allowAutoLogin" => true), true) 496 * will be merged with the new configuration. If false, the existing configuration will be replaced completely. 497 */ 498 public function setComponents($components,$merge=true) 499 { 500 foreach($components as $id=>$component) 501 $this->setComponent($id,$component,$merge); 502 } 503 504 /** 505 * Configures the module with the specified configuration. 506 * @param array $config the configuration array |
#3 |
+
–
/home/ntsolvec/public_html/yiifw/base/CComponent.php(152): CModule->setComponents(array("bootstrap" => array("class" => "ext.bootstrap.components.Bootstrap"), "user" => array("allowAutoLogin" => true), "urlManager" => array("urlFormat" => "path", "showScriptName" => false, "rules" => array("<controller:\w+>/<id:\d+>" => "<controller>/view", "<controller:\w+>/<action:\w+>/<id:\d+>" => "<controller>/<action>", "<controller:\w+>/<action:\w+>" => "<controller>/<action>")), "db" => array("connectionString" => "mysql:host=localhost;dbname=ntsolvec_system", "emulatePrepare" => true, "username" => "ntsolvec_contact", "password" => "ntsolve123", ...), ...)) 147 */ 148 public function __set($name,$value) 149 { 150 $setter='set'.$name; 151 if(method_exists($this,$setter)) 152 return $this->$setter($value); 153 elseif(strncasecmp($name,'on',2)===0 && method_exists($this,$name)) 154 { 155 // duplicating getEventHandlers() here for performance 156 $name=strtolower($name); 157 if(!isset($this->_e[$name])) |
#4 |
+
–
/home/ntsolvec/public_html/yiifw/base/CModule.php(513): CComponent->__set("components", array("bootstrap" => array("class" => "ext.bootstrap.components.Bootstrap"), "user" => array("allowAutoLogin" => true), "urlManager" => array("urlFormat" => "path", "showScriptName" => false, "rules" => array("<controller:\w+>/<id:\d+>" => "<controller>/view", "<controller:\w+>/<action:\w+>/<id:\d+>" => "<controller>/<action>", "<controller:\w+>/<action:\w+>" => "<controller>/<action>")), "db" => array("connectionString" => "mysql:host=localhost;dbname=ntsolvec_system", "emulatePrepare" => true, "username" => "ntsolvec_contact", "password" => "ntsolve123", ...), ...)) 508 public function configure($config) 509 { 510 if(is_array($config)) 511 { 512 foreach($config as $key=>$value) 513 $this->$key=$value; 514 } 515 } 516 517 /** 518 * Loads static application components. |
#5 |
+
–
/home/ntsolvec/public_html/yiifw/base/CApplication.php(161): CModule->configure(array("name" => "New Technology Solution", "preload" => array("log", "bootstrap"), "import" => array("application.models.*", "application.components.*", "ext.counter.Counts"), "modules" => array("gii" => array("class" => "system.gii.GiiModule", "password" => "shakir", "ipFilters" => array("127.0.0.1", "::1"), "generatorPaths" => array("bootstrap.gii"))), ...)) 156 $this->preinit(); 157 158 $this->initSystemHandlers(); 159 $this->registerCoreComponents(); 160 161 $this->configure($config); 162 $this->attachBehaviors($this->behaviors); 163 $this->preloadComponents(); 164 165 $this->init(); 166 } |
#6 |
+
–
/home/ntsolvec/public_html/yiifw/YiiBase.php(125): CApplication->__construct(array("name" => "New Technology Solution", "preload" => array("log", "bootstrap"), "import" => array("application.models.*", "application.components.*", "ext.counter.Counts"), "modules" => array("gii" => array("class" => "system.gii.GiiModule", "password" => "shakir", "ipFilters" => array("127.0.0.1", "::1"), "generatorPaths" => array("bootstrap.gii"))), ...)) 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. |
#7 |
+
–
/home/ntsolvec/public_html/yiifw/YiiBase.php(98): YiiBase::createApplication("CWebApplication", "/home/ntsolvec/public_html/protected/config/main.php") 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. |
#8 |
+
–
/home/ntsolvec/public_html/index.php(13): YiiBase::createWebApplication("/home/ntsolvec/public_html/protected/config/main.php") 08 // specify how many levels of call stack should be shown in each log message 09 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 10 // for getting current local time 11 date_default_timezone_set("Asia/Karachi"); 12 require_once($yii); 13 Yii::createWebApplication($config)->run(); |