/var/www/expressestateagency.co.uk/exprestimate-v3/yii/framework/caching/CCache.php(108)
096 097 /** 098 * Retrieves a value from cache with a specified key. 099 * @param string $id a key identifying the cached value 100 * @return mixed the value stored in cache, false if the value is not in the cache, expired or the dependency has changed. 101 */ 102 public function get($id) 103 { 104 $value = $this->getValue($this->generateUniqueKey($id)); 105 if($value===false || $this->serializer===false) 106 return $value; 107 if($this->serializer===null) 108 $value=unserialize($value); 109 else 110 $value=call_user_func($this->serializer[1], $value); 111 if(is_array($value) && (!$value[1] instanceof ICacheDependency || !$value[1]->getHasChanged())) 112 { 113 Yii::trace('Serving "'.$id.'" from cache','system.caching.'.get_class($this)); 114 return $value[0]; 115 } 116 else 117 return false; 118 } 119 120 /**
#0 |
+
–
/var/www/expressestateagency.co.uk/exprestimate-v3/yii/framework/caching/CCache.php(108): unserialize("}") 103 { 104 $value = $this->getValue($this->generateUniqueKey($id)); 105 if($value===false || $this->serializer===false) 106 return $value; 107 if($this->serializer===null) 108 $value=unserialize($value); 109 else 110 $value=call_user_func($this->serializer[1], $value); 111 if(is_array($value) && (!$value[1] instanceof ICacheDependency || !$value[1]->getHasChanged())) 112 { 113 Yii::trace('Serving "'.$id.'" from cache','system.caching.'.get_class($this)); |
#1 |
+
–
/var/www/expressestateagency.co.uk/exprestimate-v3/yii/framework/web/CUrlManager.php(219): CCache->get("Yii.CUrlManager.rules") 214 if(empty($this->rules) || $this->getUrlFormat()===self::GET_FORMAT) 215 return; 216 if($this->cacheID!==false && ($cache=Yii::app()->getComponent($this->cacheID))!==null) 217 { 218 $hash=md5(serialize($this->rules)); 219 if(($data=$cache->get(self::CACHE_KEY))!==false && isset($data[1]) && $data[1]===$hash) 220 { 221 $this->_rules=$data[0]; 222 return; 223 } 224 } |
#2 |
+
–
/var/www/expressestateagency.co.uk/exprestimate-v3/yii/framework/web/CUrlManager.php(206): CUrlManager->processRules() 201 * Initializes the application component. 202 */ 203 public function init() 204 { 205 parent::init(); 206 $this->processRules(); 207 } 208 209 /** 210 * Processes the URL rules. 211 */ |
#3 |
+
–
/var/www/expressestateagency.co.uk/exprestimate-v3/yii/framework/base/CModule.php(387): CUrlManager->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 |
#4 |
+
–
/var/www/expressestateagency.co.uk/exprestimate-v3/yii/framework/base/CApplication.php(522): CModule->getComponent("urlManager") 517 * Returns the URL manager component. 518 * @return CUrlManager the URL manager component 519 */ 520 public function getUrlManager() 521 { 522 return $this->getComponent('urlManager'); 523 } 524 525 /** 526 * @return CController the currently active controller. Null is returned in this base class. 527 * @since 1.1.8 |
#5 |
+
–
/var/www/expressestateagency.co.uk/exprestimate-v3/yii/framework/web/CWebApplication.php(140): CApplication->getUrlManager() 135 $route=$this->catchAllRequest[0]; 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. |
#6 |
+
–
/var/www/expressestateagency.co.uk/exprestimate-v3/yii/framework/base/CApplication.php(180): CWebApplication->processRequest() 175 public function run() 176 { 177 if($this->hasEventHandler('onBeginRequest')) 178 $this->onBeginRequest(new CEvent($this)); 179 register_shutdown_function(array($this,'end'),0,false); 180 $this->processRequest(); 181 if($this->hasEventHandler('onEndRequest')) 182 $this->onEndRequest(new CEvent($this)); 183 } 184 185 /** |
#7 |
+
–
/var/www/expressestateagency.co.uk/exprestimate-v3/index.php(18): CApplication->run() 13 defined('YII_DEBUG') or define('YII_DEBUG', true); 14 // specify how many levels of call stack should be shown in each log message 15 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); 16 header("Access-Control-Allow-Origin: *"); // by Naveed to allow cross domain ajax requests 17 require_once($yii); 18 Yii::createWebApplication($config)->run(); 19 |