APPPATH/views/bootstrap/terms-and-conditions.php [ 149 ]
144 <div class="navbar-inner">
145 <div class="container">
146 <div class="row text-center">
147 <div id="ft">
148 <p><a href="/terms-and-conditions" title="terms and conditions">Terms and Conditions</a> | <a href="/disclaimer" title="disclaimer">Disclaimer</a> | <a href="/privacy-policy" title="privacy policy">Privacy Policy</a></p>
149 <p> Copyright 2009 - 2013 <a href="/"><?php echo $site_name; ?></a>. All Rights Reserved. </p>
150 </div>
151 </div>
152 </div>
153 </div>
154 </div>
-
APPPATH/views/bootstrap/terms-and-conditions.php [ 149 ] » Kohana_Core::error_handler(arguments)
0integer 8
1string(29) "Undefined variable: site_name"2string(61) "/var/www/application/views/bootstrap/terms-and-conditions.php"3integer 149
4array(3) ( "kohana_view_filename" => string(61) "/var/www/application/views/bootstrap/terms-and-conditions.php" "kohana_view_data" => array(1) ( "ganalytics" => string(13) "UA-11113950-1" ) "ganalytics" => string(13) "UA-11113950-1" )
144 <div class="navbar-inner"> 145 <div class="container"> 146 <div class="row text-center"> 147 <div id="ft"> 148 <p><a href="/terms-and-conditions" title="terms and conditions">Terms and Conditions</a> | <a href="/disclaimer" title="disclaimer">Disclaimer</a> | <a href="/privacy-policy" title="privacy policy">Privacy Policy</a></p> 149 <p> Copyright 2009 - 2013 <a href="/"><?php echo $site_name; ?></a>. All Rights Reserved. </p> 150 </div> 151 </div> 152 </div> 153 </div> 154 </div> -
SYSPATH/classes/Kohana/View.php [ 61 ] » include(arguments)
0string(61) "/var/www/application/views/bootstrap/terms-and-conditions.php"56 ob_start(); 57 58 try 59 { 60 // Load the view within the current scope 61 include $kohana_view_filename; 62 } 63 catch (Exception $e) 64 { 65 // Delete the output buffer 66 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 348 ] » Kohana_View::capture(arguments)
0string(61) "/var/www/application/views/bootstrap/terms-and-conditions.php"1array(1) ( "ganalytics" => string(13) "UA-11113950-1" )
343 { 344 throw new View_Exception('You must set the file to use within your view before rendering'); 345 } 346 347 // Combine local and global data and capture the output 348 return View::capture($this->_file, $this->_data); 349 } 350 351 } // End View -
SYSPATH/classes/Kohana/View.php [ 228 ] » Kohana_View->render()
223 */ 224 public function __toString() 225 { 226 try 227 { 228 return $this->render(); 229 } 230 catch (Exception $e) 231 { 232 /** 233 * Display the exception message. -
SYSPATH/classes/Kohana/Response.php [ 160 ] » Kohana_View->__toString()
155 public function body($content = NULL) 156 { 157 if ($content === NULL) 158 return $this->_body; 159 160 $this->_body = (string) $content; 161 return $this; 162 } 163 164 /** 165 * Gets or sets the HTTP protocol. The standard protocol to use -
APPPATH/classes/Controller/Static.php [ 26 ] » Kohana_Response->body(arguments)
0object View(2)
{ protected _file => string(61) "/var/www/application/views/bootstrap/terms-and-conditions.php" protected _data => array(1) ( "ganalytics" => string(13) "UA-11113950-1" ) }21 { 22 $config = Kohana::$config->load('application'); 23 $theme = $config->get('theme'); 24 $view = View::factory($theme.'/terms-and-conditions'); 25 $view->ganalytics = $config->get('ganalytics'); 26 $this->response->body($view); 27 28 } 29 } -
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Static->action_termsandconditions()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response -
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0object Controller_Static(2)
{ public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(23) "terms-and-conditions(/)" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(6) "static" "action" => string(18) "termsandconditions" ) protected _route_regex => string(32) "#^terms-and-conditions(?:/)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Static" protected _action => string(18) "termsandconditions" protected _uri => string(20) "terms-and-conditions" protected _external => bool FALSE protected _params => array(0) 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)}{ }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)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(23) "terms-and-conditions(/)" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(6) "static" "action" => string(18) "termsandconditions" ) protected _route_regex => string(32) "#^terms-and-conditions(?:/)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Static" protected _action => string(18) "termsandconditions" protected _uri => string(20) "terms-and-conditions" protected _external => bool FALSE protected _params => array(0) 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) }}1object 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)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(23) "terms-and-conditions(/)" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(6) "static" "action" => string(18) "termsandconditions" ) protected _route_regex => string(32) "#^terms-and-conditions(?:/)?$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Static" protected _action => string(18) "termsandconditions" protected _uri => string(20) "terms-and-conditions" protected _external => bool FALSE protected _params => array(0) 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 }