SYSPATH/classes/kohana/view.php [ 252 ]
247 */
248 public function set_filename($file)
249 {
250 if (($path = Kohana::find_file('views', $file)) === FALSE)
251 {
252 throw new View_Exception('The requested view :file could not be found', array(
253 ':file' => $file,
254 ));
255 }
256
257 // Store the file path locally
-
SYSPATH/classes/kohana/view.php [ 137 ] » Kohana_View->set_filename(arguments)
0
string(15) "v_paid_services"
132 */ 133 public function __construct($file = NULL, array $data = NULL) 134 { 135 if ($file !== NULL) 136 { 137 $this->set_filename($file); 138 } 139 140 if ($data !== NULL) 141 { 142 // Add the values to the current data
-
SYSPATH/classes/kohana/view.php [ 30 ] » Kohana_View->__construct(arguments)
0
string(15) "v_paid_services"
1
NULL
25 * @param array $data array of values 26 * @return View 27 */ 28 public static function factory($file = NULL, array $data = NULL) 29 { 30 return new View($file, $data); 31 } 32 33 /** 34 * Captures the output that is generated when a view is included. 35 * The view data will be extracted to make local variables. This method
-
APPPATH/classes/controller/paidservices.php [ 9 ] » Kohana_View::factory(arguments)
0
string(15) "v_paid_services"
4 //==========================================================================// 5 public function action_index() 6 { 7 $this->template->page_title = 'Платные образовательные услуги'; 8 9 $services = View::factory('v_paid_services'); 10 11 $services->mode = $this->mode; 12 $services->page_title = $this->template->page_title; 13 $services->dir_docs = ORM::factory('setting', array('key' => 'dir_docs_docs'))->value; 14 $services->dir_docs_paid_services = ORM::factory('setting', array('key' => 'dir_docs_paid_services'))->value;
-
{PHP internal call} » Controller_Paidservices->action_index()
-
SYSPATH/classes/kohana/request/client/internal.php [ 116 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Paidservices(6)
{ public template => object View(2)
{ protected _file => string(56) "/home/c/cy54569/public_html/application/views/v_base.php" protected _data => array(11) ( "site_name" => string(39) "СКФ БГТУ им.В.Г.Шухова" "site_description" => string(188) "Северо-Кавказский филиал Белгородского государственного технологического университета им.В.Г.Шухова" "keywords" => string(205) "СКФ БГТУ им.В.Г.Шухова, Северо-Кавказский филиал Белгородского государственного технологического университета" "description" => string(188) "Северо-Кавказский филиал Белгородского государственного технологического университета им.В.Г.Шухова" "page_title" => string(58) "Платные образовательные услуги" "main" => NULL "header" => object Response(5)
public mode => string(6) "normal" protected widgets_folder => string(8) "widgets/" public auto_render => bool TRUE public request => object Request(20){ protected _status => integer 200 protected _header => object HTTP_Header(0)
"menu_top" => object Response(5){ }
protected _body => string(7341) "<div class="header row bg-info"> <!-- Картинка шапки сайта --> <!----------------------------------------------------------- …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"footer" => object Response(5){ }
protected _body => string(13997) "<nav class="menu-top navbar navbar-default row"> <div class="navbar-header"> <button type="button" class="navbar-toggle col …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"styles" => array(6) ( 0 => string(28) "/media/css/bootstrap.min.css" 1 => string(22) "/media/css/all.min.css" 2 => string(27) "/media/css/v4-shims.min.css" 3 => string(22) "/media/css/animate.css" 4 => string(22) "/media/css/skfbgtu.css" 5 => string(22) "/media/css/bvi.min.css" ) "scripts" => array(4) ( 0 => string(23) "/media/js/jquery.min.js" 1 => string(26) "/media/js/bootstrap.min.js" 2 => string(23) "/media/js/holder.min.js" 3 => string(20) "/media/js/bvi.min.js" ) ) }{ }
protected _body => string(1147) "<!-- Панель с согласием --> <!-----------------------------------------------------------------------------------------------> …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(39) "sveden(/<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(9) "basicinfo" "action" => string(5) "index" ) protected _route_regex => string(102) "#^sveden(?:/(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(12) "paidservices" protected _action => string(5) "index" protected _uri => string(19) "sveden/paidservices" 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(2){ protected _previous_environment => NULL protected _cache => NULL }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }111 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 112 array(':uri' => $request->uri())); 113 } 114 115 $method = $class->getMethod('action_'.$action); 116 $method->invoke($controller); 117 118 // Execute the "after action" method 119 $class->getMethod('after')->invoke($controller); 120 } 121 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(39) "sveden(/<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(9) "basicinfo" "action" => string(5) "index" ) protected _route_regex => string(102) "#^sveden(?:/(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(12) "paidservices" protected _action => string(5) "index" protected _uri => string(19) "sveden/paidservices" 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(2){ protected _previous_environment => NULL protected _cache => NULL }
}59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1164 ] » Kohana_Request_Client->execute(arguments)
0
object Request(20)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(39) "sveden(/<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(9) "basicinfo" "action" => string(5) "index" ) protected _route_regex => string(102) "#^sveden(?:/(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(12) "paidservices" protected _action => string(5) "index" protected _uri => string(19) "sveden/paidservices" 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(2){ protected _previous_environment => NULL protected _cache => NULL }
}1159 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1160 ':uri' => $this->_uri, 1161 )); 1162 } 1163 1164 return $this->_client->execute($this); 1165 } 1166 1167 /** 1168 * Returns whether this request is the initial request Kohana received. 1169 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 109 ] » Kohana_Request->execute()
104 /** 105 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 106 * If no source is specified, the URI will be automatically detected. 107 */ 108 echo Request::factory() 109 ->execute() 110 ->send_headers(TRUE) 111 ->body();