MODPATH/cache/classes/Kohana/Cache/File.php [ 151 ]
146 $lifetime = $data->fgets();
147
148 // If we're at the EOF at this point, corrupted!
149 if ($data->eof())
150 {
151 throw new Cache_Exception(__METHOD__.' corrupted cache file!');
152 }
153
154 $cache = '';
155
156 while ($data->eof() === FALSE)
-
APPPATH/classes/Model/Search.php [ 17 ] » Kohana_Cache_File->get(arguments)
0
string(3) "pls"
1
bool FALSE
12 parent::__construct(); 13 $this->plsURL = API_ENDPOINT . 'pls.php'; 14 15 $cache = Cache::instance(); 16 try { 17 $pls = $cache->get('pls', false); 18 } catch (Execption $e) { 19 $pls = false; 20 } 21 22 if ($pls === false) {
-
APPPATH/classes/Controller/Template/Default.php [ 22 ] » Model_Search->__construct()
17 18 View::bind_global('is_mobile', $this->is_mobile); 19 View::bind_global('is_ipad', $this->is_ipad); 20 21 // Ensure LiveSearch array is loaded into cache 22 $search = new Model_Search(); 23 } 24 25 private function isMobileBrowser($useragent) { 26 // Consider the Nexus 7 as a mobile 27 if((bool)(preg_match('/Nexus 7/', $useragent))){
-
APPPATH/classes/Controller/Tags.php [ 11 ] » Controller_Template_Default->before()
6 protected $data; 7 protected $raw_tags; 8 protected $tags; 9 10 public function before() { 11 parent::before(); 12 13 $params = $this->request->param(); 14 15 if (array_key_exists('tags', $params)) { 16 $params['tags'] = str_replace('__', chr(10), $params['tags']);
-
SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Tags->before()
64 * @return Response 65 */ 66 public function execute() 67 { 68 // Execute the "before action" method 69 $this->before(); 70 71 // Determine the action to use 72 $action = 'action_'.$this->request->action(); 73 74 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Tags(13)
{ protected cache => NULL protected cloud => NULL protected data => NULL protected raw_tags => NULL protected tags => NULL public template => object View(2)
{ protected _file => string(62) "/var/www/html/research/application/views/templates/default.php" protected _data => array(0) }
protected configs => array(1) ( "splashthumbs" => string(3) "543" ) protected is_mobile => bool FALSE protected Session => object Session_Native(5){ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(0) protected _destroyed => bool FALSE }
public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(157) "http://explore.concordia.ca/expertise/energy_efficiency+solar_energy+biomass_energy+renewable_energy+design_for_sustainability+e …" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(18) "expertise(/<tags>)" protected _regex => array(1) ( "tags" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(4) "tags" "action" => string(4) "list" ) protected _route_regex => string(33) "#^expertise(?:/(?P<tags>.*))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Tags" protected _action => string(4) "list" protected _uri => string(129) "expertise/energy_efficiency+solar_energy+biomass_energy+renewable_energy+design_for_sustainability+electrical_machines_and_drive …" protected _external => bool FALSE protected _params => array(1) ( "tags" => string(119) "energy_efficiency+solar_energy+biomass_energy+renewable_energy+design_for_sustainability+electrical_machines_and_drives" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
public is_ipad => bool FALSE }{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(157) "http://explore.concordia.ca/expertise/energy_efficiency+solar_energy+biomass_energy+renewable_energy+design_for_sustainability+e …" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(18) "expertise(/<tags>)" protected _regex => array(1) ( "tags" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(4) "tags" "action" => string(4) "list" ) protected _route_regex => string(33) "#^expertise(?:/(?P<tags>.*))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Tags" protected _action => string(4) "list" protected _uri => string(129) "expertise/energy_efficiency+solar_energy+biomass_energy+renewable_energy+design_for_sustainability+electrical_machines_and_drive …" protected _external => bool FALSE protected _params => array(1) ( "tags" => string(119) "energy_efficiency+solar_energy+biomass_energy+renewable_energy+design_for_sustainability+electrical_machines_and_drives" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }109 $orig_response = $response = Response::factory(); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(157) "http://explore.concordia.ca/expertise/energy_efficiency+solar_energy+biomass_energy+renewable_energy+design_for_sustainability+e …" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(18) "expertise(/<tags>)" protected _regex => array(1) ( "tags" => string(2) ".*" ) protected _defaults => array(2) ( "controller" => string(4) "tags" "action" => string(4) "list" ) protected _route_regex => string(33) "#^expertise(?:/(?P<tags>.*))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Tags" protected _action => string(4) "list" protected _uri => string(129) "expertise/energy_efficiency+solar_energy+biomass_energy+renewable_energy+design_for_sustainability+electrical_machines_and_drive …" protected _external => bool FALSE protected _params => array(1) ( "tags" => string(119) "energy_efficiency+solar_energy+biomass_energy+renewable_energy+design_for_sustainability+electrical_machines_and_drives" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 986 ':uri' => $this->_uri, 987 )); 988 } 989 990 return $this->_client->execute($this); 991 } 992 993 /** 994 * Returns whether this request is the initial request Kohana received. 995 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }