MODPATH/cmf/classes/Lessc.php [ 1818 ]
1813 return $out;
1814 }
1815
1816 public function compileFile($fname, $outFname = null) {
1817 if (!is_readable($fname)) {
1818 throw new Exception('load error: failed to find '.$fname);
1819 }
1820
1821 $pi = pathinfo($fname);
1822
1823 $oldImport = $this->importDir;
-
MODPATH/cmf/classes/Lessc.php [ 1932 ] » Lessc->compileFile(arguments)
0string(104) "/home/c110162/xn----itbbc1bddbn.xn--p1ai/www/upload/_theme/service_2a0a5293fbeb00ac6b44ecb62511fc47.css_"1927 if ($str == null) { 1928 if (empty($this->_parseFile)) { 1929 throw new exception("nothing to parse"); 1930 } 1931 1932 $out = $this->compileFile($this->_parseFile); 1933 } else { 1934 $out = $this->compile($str); 1935 } 1936 1937 $this->registeredVars = $oldVars; -
MODPATH/cmf/classes/Kohana/Head.php [ 203 ] » Lessc->parse()
198 } 199 fputs($f, ob_get_clean()); 200 fclose($f); 201 $less = new Lessc(DOCROOT . $css . '_'); 202 $f = fopen(DOCROOT . $css, 'w+b'); 203 fputs($f, $less->parse()."\n\n"); 204 fclose($f); 205 unlink(DOCROOT . $css . '_'); 206 } 207 return $css; 208 } -
MODPATH/cmf/classes/Kohana/Head.php [ 124 ] » Kohana_Head->renderCSS()
119 } 120 $html = "\n"; 121 if( $tags['meta'] ) 122 $html .= ' ' . $this->renderMeta(); 123 if( $tags['css'] ) 124 $html .= ' <link type="text/css" href="/' . $this->renderCSS() . '" rel="stylesheet" />' . "\n"; 125 if( $tags['js'] ) 126 $html .= ' <script type="text/javascript" src="/' . $this->renderJS() . '"></script>' . "\n"; 127 if( $tags['title'] ) 128 $html .= ' <title>' . $this->title . '</title>' . "\n"; 129 // if( $tags['favicon'] ) -
MODPATH/cmf/classes/Kohana/Head.php [ 244 ] » Kohana_Head->head_tag(arguments)
0NULL
239 } 240 return array_unique(array_merge($files, $arr)); 241 } 242 243 static public function headTag( array $tags = NULL ){ 244 return self::init()->head_tag( $tags ); 245 } 246 247 static public function is_active($id, $table_name = false){ 248 if( $id instanceof ORM ){ 249 foreach(Head::$init->_bread_crumbs as $v){ -
APPPATH/views/index.php [ 4 ] » Kohana_Head::headTag()
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <?= Head::headTag();?> 5 <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,300,400italic&subset=latin,cyrillic' rel='stylesheet' type='text/css' /> 6 <meta name="viewport" content="width=device-width; initial-scale=1.0" /> 7 </head> 8 <body> 9 -
MODPATH/cmf/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(75) "/home/c110162/xn----itbbc1bddbn.xn--p1ai/www/kohana/service/views/index.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
MODPATH/cmf/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(75) "/home/c110162/xn----itbbc1bddbn.xn--p1ai/www/kohana/service/views/index.php"1array(1) ( "content" => object View(2)
{ protected _file => string(84) "/home/c110162/xn----itbbc1bddbn.xn--p1ai/www/kohana/service/views/folder/catalog.php" protected _data => array(1) ( "str" => array(20) ( "id" => string(2) "11" "name" => string(47) "Техническое обслуживание" "url" => string(24) "tehnicheskoeobslujivanie" "parent" => string(1) "3" "parents" => array(3) ( 0 => string(1) "0" 1 => string(1) "1" 2 => string(1) "3" ) "ctrl" => string(6) "folder" "child" => string(1) "0" "child_active" => string(1) "0" "inside" => string(1) "0" "inside_active" => string(1) "0" "pos" => string(1) "3" "active" => string(1) "1" "image" => string(43) "/upload/service/folder/11_584680b5877ae.png" "price" => string(17) "от 2000 руб." "preview" => string(3940) "<p>Хотите, что бы Ваш автомобиль служил долго и безотказно?<br /> Тогда не забывайте, что Ваш автомобиль нуждается в регулярном …" "layout" => string(0) "" "template" => string(7) "catalog" "date_cr" => string(10) "1476356204" "date_edit" => string(10) "1791188036" "link" => string(30) "/tehnicheskoeobslujivanie.html" ) ) })354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return self::capture($this->_file, $this->_data); 360 } 361 362 static public function action($controller, array $param = array(), $query = array()){ 363 $e = explode(':', $controller); 364 $ctrl = 'Controller_' . $e[0]; -
MODPATH/cmf/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * 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 -
MODPATH/cmf/classes/Kohana/Controller.php [ 132 ] » Kohana_Response->body(arguments)
0object View(2)
{ protected _file => string(75) "/home/c110162/xn----itbbc1bddbn.xn--p1ai/www/kohana/service/views/index.php" protected _data => array(1) ( "content" => object View(2){ protected _file => string(84) "/home/c110162/xn----itbbc1bddbn.xn--p1ai/www/kohana/service/views/folder/catalog.php" protected _data => array(1) ( "str" => array(20) ( "id" => string(2) "11" "name" => string(47) "Техническое обслуживание" "url" => string(24) "tehnicheskoeobslujivanie" "parent" => string(1) "3" "parents" => array(3) ( 0 => string(1) "0" 1 => string(1) "1" 2 => string(1) "3" ) "ctrl" => string(6) "folder" "child" => string(1) "0" "child_active" => string(1) "0" "inside" => string(1) "0" "inside_active" => string(1) "0" "pos" => string(1) "3" "active" => string(1) "1" "image" => string(43) "/upload/service/folder/11_584680b5877ae.png" "price" => string(17) "от 2000 руб." "preview" => string(3940) "<p>Хотите, что бы Ваш автомобиль служил долго и безотказно?<br /> Тогда не забывайте, что Ваш автомобиль нуждается в регулярном …" "layout" => string(0) "" "template" => string(7) "catalog" "date_cr" => string(10) "1476356204" "date_edit" => string(10) "1791188036" "link" => string(30) "/tehnicheskoeobslujivanie.html" ) ) }) }127 if( $this->layout && $this->request->is_initial() && ! $this->request->is_ajax() ){ 128 $this->response->body( 129 // Tag::factory( 130 View::factory($this->layout, array('content' => $this->content)) 131 // ) 132 ); 133 }else{ 134 $this->response->body($this->content); 135 } 136 137 // Return the response -
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0object Controller_CMF(8)
{ public content => object View(2){ protected _file => string(84) "/home/c110162/xn----itbbc1bddbn.xn--p1ai/www/kohana/service/views/folder/catalog.php" protected _data => array(1) ( "str" => array(20) ( "id" => string(2) "11" "name" => string(47) "Техническое обслуживание" "url" => string(24) "tehnicheskoeobslujivanie" "parent" => string(1) "3" "parents" => array(3) ( 0 => string(1) "0" 1 => string(1) "1" 2 => string(1) "3" ) "ctrl" => string(6) "folder" "child" => string(1) "0" "child_active" => string(1) "0" "inside" => string(1) "0" "inside_active" => string(1) "0" "pos" => string(1) "3" "active" => string(1) "1" "image" => string(43) "/upload/service/folder/11_584680b5877ae.png" "price" => string(17) "от 2000 руб." "preview" => string(3940) "<p>Хотите, что бы Ваш автомобиль служил долго и безотказно?<br /> Тогда не забывайте, что Ваш автомобиль нуждается в регулярном …" "layout" => string(0) "" "template" => string(7) "catalog" "date_cr" => string(10) "1476356204" "date_edit" => string(10) "1791188036" "link" => string(30) "/tehnicheskoeobslujivanie.html" ) ) }public template => string(14) "folder/catalog" public layout => string(5) "index" public title => string(0) "" public auth => NULL public session => NULL 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 => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(21) "<str>(/<inside>).html" protected _regex => array(2) ( "str" => string(8) "[-+.\w]+" "inside" => string(7) "[-+\w]+" ) protected _defaults => array(2) ( "controller" => string(3) "CMF" "action" => string(4) "html" ) protected _route_regex => string(54) "#^(?P<str>[-+.\w]+)(?:/(?P<inside>[-+\w]+))?\.html$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(3) "CMF" protected _action => string(4) "html" protected _uri => string(29) "tehnicheskoeobslujivanie.html" protected _external => bool FALSE protected _params => array(1) ( "str" => string(24) "tehnicheskoeobslujivanie" ) 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 => string(8) "HTTP/1.1" }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 TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(21) "<str>(/<inside>).html" protected _regex => array(2) ( "str" => string(8) "[-+.\w]+" "inside" => string(7) "[-+\w]+" ) protected _defaults => array(2) ( "controller" => string(3) "CMF" "action" => string(4) "html" ) protected _route_regex => string(54) "#^(?P<str>[-+.\w]+)(?:/(?P<inside>[-+\w]+))?\.html$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(3) "CMF" protected _action => string(4) "html" protected _uri => string(29) "tehnicheskoeobslujivanie.html" protected _external => bool FALSE protected _params => array(1) ( "str" => string(24) "tehnicheskoeobslujivanie" ) 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 => string(8) "HTTP/1.1" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 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 [ 997 ] » 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 TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(21) "<str>(/<inside>).html" protected _regex => array(2) ( "str" => string(8) "[-+.\w]+" "inside" => string(7) "[-+\w]+" ) protected _defaults => array(2) ( "controller" => string(3) "CMF" "action" => string(4) "html" ) protected _route_regex => string(54) "#^(?P<str>[-+.\w]+)(?:/(?P<inside>[-+\w]+))?\.html$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(3) "CMF" protected _action => string(4) "html" protected _uri => string(29) "tehnicheskoeobslujivanie.html" protected _external => bool FALSE protected _params => array(1) ( "str" => string(24) "tehnicheskoeobslujivanie" ) 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) }}992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 993 ':uri' => $this->_uri, 994 )); 995 } 996 997 return $this->_client->execute($this); 998 } 999 1000 /** 1001 * Returns whether this request is the initial request Kohana received. 1002 * Can be used to test for sub requests. -
DOCROOT/index.php [ 143 ] » Kohana_Request->execute()
138 /** 139 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 140 * If no source is specified, the URI will be automatically detected. 141 */ 142 echo Request::factory(REQUEST_URL, array(), FALSE) 143 ->execute() 144 ->send_headers(TRUE) 145 ->body(); 146 }