SYSPATH/classes/Kohana/View.php [ 257 ]
252 */
253 public function set_filename($file)
254 {
255 if (($path = Kohana::find_file('views', $file)) === FALSE)
256 {
257 throw new View_Exception('The requested view :file could not be found', array(
258 ':file' => $file,
259 ));
260 }
261
262 // Store the file path locally
-
MODPATH/ariol/classes/Extasy/View.php [ 97 ] » Kohana_View->set_filename(arguments)
0
string(24) "layout/site/global_inner"
92 } 93 94 // Нигде не нашли - ну и пусть Kohana сама разбирается с этой ситуацией 95 96 self::$_files[$file] = $file; 97 return parent::set_filename($file); 98 } 99 100 static public function strip_tags($str) 101 { 102 return strip_tags($str);
-
SYSPATH/classes/Kohana/View.php [ 339 ] » Extasy_View->set_filename(arguments)
0
string(24) "layout/site/global_inner"
334 */ 335 public function render($file = NULL) 336 { 337 if ($file !== NULL) 338 { 339 $this->set_filename($file); 340 } 341 342 if (empty($this->_file)) 343 { 344 throw new View_Exception('You must set the file to use within your view before rendering');
-
MODPATH/ariol/classes/Extasy/View.php [ 28 ] » Kohana_View->render(arguments)
0
string(24) "layout/site/global_inner"
23 return parent::render($file); 24 } 25 else 26 { 27 $this->content = parent::render($file); 28 return parent::render($this->_layout); 29 } 30 } 31 32 public function set_filename($file) 33 {
-
SYSPATH/classes/Kohana/View.php [ 228 ] » Extasy_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.
-
MODPATH/ariol/classes/Extasy/Controller.php [ 71 ] » Kohana_View->__toString()
66 67 } else { 68 $this->template->set_filename(mb_strtolower($this->_view)); 69 } 70 71 $response = (string) $this->template; 72 $this->response->body($response); 73 } 74 75 76 // public function after()
-
MODPATH/ariol/classes/Controller/Site.php [ 136 ] » Extasy_Controller->after()
131 } 132 if ($SEO->h1) { 133 $this->template->h1 = $SEO->h1; 134 } 135 136 parent::after(); 137 138 } 139 140 public function set_metatags_and_content($url, $name = 'page', $items_on_page = null) 141 {
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Site->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Site_Brand(11)
{ private _items_on_page => integer 48 private _object_name => NULL protected device => object Device(1)
{ protected _detector => object Mobile_Detect(3)
protected _model => NULL protected template => object View(3){ protected userAgent => string(40) "CCBot/2.0 (https://commoncrawl.org/faq/)" protected httpHeaders => array(14) ( "HTTP_CF_IPCOUNTRY" => string(2) "US" "HTTP_CF_CONNECTING_IP" => string(12) "3.227.251.94" "HTTP_CDN_LOOP" => string(10) "cloudflare" "HTTP_IF_MODIFIED_SINCE" => string(29) "Tue, 31 Jan 2023 04:49:31 GMT" "HTTP_ACCEPT_LANGUAGE" => string(14) "en-US,en;q=0.5" "HTTP_ACCEPT" => string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" "HTTP_USER_AGENT" => string(40) "CCBot/2.0 (https://commoncrawl.org/faq/)" "HTTP_CF_VISITOR" => string(18) "{"scheme":"https"}" "HTTP_X_FORWARDED_PROTO" => string(5) "https" "HTTP_CF_RAY" => string(20) "7d191ae9ff4b3b2f-IAD" "HTTP_X_FORWARDED_FOR" => string(12) "3.227.251.94" "HTTP_ACCEPT_ENCODING" => string(4) "gzip" "HTTP_CONNECTION" => string(5) "close" "HTTP_HOST" => string(7) "1teh.by" ) protected detectionType => string(6) "mobile" }
}{ private _layout => string(24) "layout/site/global_inner" protected _file => string(71) "/var/www/oneteh/data/www/1teh.by/application/views/site/brand/index.php" protected _data => array(24) ( "return_location" => NULL "isAppeal" => integer 0 "brand" => object Model_Brand(40)
private _view => string(5) "index" private _return_location => NULL public request => object Request(19){ protected _table_name => string(5) "brand" protected _has_many => array(2) ( "product" => array(4) ( "foreign_key" => string(8) "brand_id" "through" => string(13) "brand_product" "model" => string(7) "Product" "far_key" => string(10) "product_id" ) "category" => array(4) ( "foreign_key" => string(8) "brand_id" "through" => string(14) "brand_category" "model" => string(8) "Category" "far_key" => string(11) "category_id" ) ) protected _grid_columns => array(6) ( "name" => array(3) ( "type" => string(4) "name" "route_str" => string(25) "admin-brand:edit?id=${id}" "external_url" => string(27) "site-brand:index?url=${url}" ) "active" => string(4) "bool" "on_main" => string(4) "bool" "position" => string(8) "position" "description" => array(3) ( "width" => string(3) "40%" "route_str" => string(25) "admin-brand:edit?id=${id}" "type" => string(4) "more" ) "delete" => array(7) ( "width" => string(2) "50" "type" => string(4) "link" "color" => string(3) "red" "route_str" => string(27) "admin-brand:delete?id=${id}" "title" => string(29) "<i class="fa fa-trash-o"></i>" "alternative" => string(14) "Удалить" "confirm" => string(20) "Вы уверены?" ) ) protected _form_fields => array(0) protected _grid_options => array(0) private _has_many_to_save => array(0) protected _render_options => array(0) protected _pdo => NULL protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(14) ( "id" => string(3) "699" "name" => string(5) "RYOBI" "russian" => string(0) "" "s_title" => string(5) "RYOBI" "s_description" => string(0) "" "s_keywords" => string(0) "" "url" => string(5) "ryobi" "md5_url" => string(32) "a4baf49f434880f1caada1cd720ac4b8" "popular" => NULL "active" => string(1) "1" "position" => string(1) "0" "description" => string(0) "" "main_image" => string(53) "/files/brand/699/5386b6e0a1ad92e9dc616b5cf6652983.jpg" "on_main" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(14) ( "id" => string(3) "699" "name" => string(5) "RYOBI" "russian" => string(0) "" "s_title" => string(5) "RYOBI" "s_description" => string(0) "" "s_keywords" => string(0) "" "url" => string(5) "ryobi" "md5_url" => string(32) "a4baf49f434880f1caada1cd720ac4b8" "popular" => NULL "active" => string(1) "1" "position" => string(1) "0" "description" => string(0) "" "main_image" => string(53) "/files/brand/699/5386b6e0a1ad92e9dc616b5cf6652983.jpg" "on_main" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(5) "brand" protected _object_plural => string(6) "brands" protected _table_columns => array(14) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "UNI" "privileges" => string(31) "select,insert,update,references" ) "russian" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "russian" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "s_title" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "s_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "s_description" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "s_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "350" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "s_keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "s_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "md5_url" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(7) "md5_url" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(2) "32" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "popular" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(7) "popular" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "active" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(6) "active" "column_default" => string(1) "1" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "position" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "position" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "main_image" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "main_image" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "on_main" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(7) "on_main" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(3) "699" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"mobile" => integer 0 "img_height" => integer 150 "more" => bool TRUE "img_width" => integer 320 "product" => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "5369f2cfccf42481e0ba552107c6c9bd3e773fe4" protected _identifier => string(1) "`" public last_query => string(520) "SELECT `brand`.`id` AS `id`, `brand`.`name` AS `name`, `brand`.`russian` AS `russian`, `brand`.`s_title` AS `s_title`, `brand`.` …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(5) "brand" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(4) "1teh" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool FALSE ) }{ protected _internal_row => integer 48 protected _query => string(3174) "SELECT `section`.`id` AS `section:id`, `section`.`name` AS `section:name`, `section`.`url` AS `section:url`, `section`.`md5_url` …" protected _result => object mysqli_result(5)
"page" => integer 1 "pagination" => string(195) "<div class="paginate"> <!--<a href="/brand/ryobi"><<</a>--> <a class="current"><span>1</span></a> <a href="/bran …" "categories" => array(35) ( 0 => array(5) ( "url" => string(26) "avtomobilnyie-kompressoryi" "name" => string(49) "Автомобильные компрессоры" "rod_name" => string(47) "Автомобильный компрессор" "section_url" => string(4) "avto" "parent_url" => string(12) "oborudovanie" ) 1 => array(5) ( "url" => string(55) "akkumulyatoryi-i-zaryadnyie-ustroystva-dlya-instrumenta" "name" => string(95) "Аккумуляторы и зарядные устройства для инструмента" "rod_name" => string(0) "" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 2 => array(5) ( "url" => string(12) "vozduhoduvki" "name" => string(24) "Воздуходувки" "rod_name" => string(24) "Воздуходувку" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(16) "sadovaya-tehnika" ) 3 => array(5) ( "url" => string(13) "gazonokosilki" "name" => string(26) "Газонокосилки" "rod_name" => string(26) "Газонокосилку" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(16) "sadovaya-tehnika" ) 4 => array(5) ( "url" => string(8) "graveryi" "name" => string(14) "Граверы" "rod_name" => string(12) "Гравер" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 5 => array(5) ( "url" => string(31) "derevoobrabatyivayuschie-stanki" "name" => string(53) "Деревообрабатывающие станки" "rod_name" => string(53) "Деревообрабатывающую станку" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(10) "instrument" ) 6 => array(5) ( "url" => string(25) "zatochnyie-stanki-tochila" "name" => string(44) "Заточные станки (точила)" "rod_name" => string(31) "Точильный станок" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 7 => array(5) ( "url" => string(12) "kompressoryi" "name" => string(22) "Компрессоры" "rod_name" => string(0) "" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(10) "instrument" ) 8 => array(5) ( "url" => string(31) "kustorezyi-i-sadovyie-nojnitsyi" "name" => string(51) "Кусторезы и садовые ножницы" "rod_name" => string(16) "Кусторез" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(16) "sadovaya-tehnika" ) 9 => array(5) ( "url" => string(32) "metalloobrabatyivayuschie-stanki" "name" => string(55) "Металлообрабатывающие станки" "rod_name" => string(55) "Металлообрабатывающую станку" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(10) "instrument" ) 10 => array(5) ( "url" => string(25) "moyki-vyisokogo-davleniya" "name" => string(44) "Мойки высокого давления" "rod_name" => string(48) "Аппарат высокого давления" "section_url" => string(4) "avto" "parent_url" => string(12) "oborudovanie" ) 11 => array(5) ( "url" => string(28) "motobloki-i-motokultivatoryi" "name" => string(54) "Мотоблоки и мотокультиваторы" "rod_name" => string(16) "Мотоблок" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(16) "sadovaya-tehnika" ) 12 => array(5) ( "url" => string(20) "naboryi-instrumentov" "name" => string(37) "Наборы инструментов" "rod_name" => string(35) "Набор инструментов" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(10) "instrument" ) 13 => array(5) ( "url" => string(14) "opryiskivateli" "name" => string(26) "Опрыскиватели" "rod_name" => string(0) "" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(16) "sadovaya-tehnika" ) 14 => array(5) ( "url" => string(12) "perforatoryi" "name" => string(22) "Перфораторы" "rod_name" => string(20) "Перфоратор" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 15 => array(5) ( "url" => string(11) "plitkorezyi" "name" => string(20) "Плиткорезы" "rod_name" => string(18) "Плиткорез" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 16 => array(5) ( "url" => string(21) "promyishlennyie-fenyi" "name" => string(33) "Промышленные фены" "rod_name" => string(31) "Строительный фен" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(10) "instrument" ) 17 => array(5) ( "url" => string(10) "pyilesosyi" "name" => string(16) "Пылесосы" "rod_name" => string(14) "Пылесос" "section_url" => string(9) "dlya-doma" "parent_url" => string(17) "byitovaya-tehnika" ) 18 => array(5) ( "url" => string(7) "rubanki" "name" => string(14) "Рубанки" "rod_name" => string(14) "Рубанок" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 19 => array(5) ( "url" => string(21) "sadovyie-izmelchiteli" "name" => string(39) "Садовые измельчители" "rod_name" => string(24) "Измельчитель" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(16) "sadovaya-tehnika" ) 20 => array(5) ( "url" => string(42) "skobozabivateli-gvozdezabivateli-stepleryi" "name" => string(82) "Скобозабиватели, гвоздезабиватели, степлеры" "rod_name" => string(0) "" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(10) "instrument" ) 21 => array(5) ( "url" => string(9) "trimmeryi" "name" => string(16) "Триммеры" "rod_name" => string(14) "Триммер" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(16) "sadovaya-tehnika" ) 22 => array(5) ( "url" => string(31) "uglovyie-shlifmashinyi-bolgarki" "name" => string(54) "Угловые шлифмашины (болгарки)" "rod_name" => string(16) "Болгарку" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 23 => array(5) ( "url" => string(6) "fonari" "name" => string(12) "Фонари" "rod_name" => string(14) "Фонарик" "section_url" => string(14) "sport-i-otdyih" "parent_url" => string(6) "turizm" ) 24 => array(5) ( "url" => string(8) "frezeryi" "name" => string(14) "Фрезеры" "rod_name" => string(25) "Ручной фрезер" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 25 => array(5) ( "url" => string(47) "tsirkulyarnyie-tortsovochnyie-i-sabelnyie-pilyi" "name" => string(77) "Циркулярные, торцовочные и сабельные пилы" "rod_name" => string(0) "" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 26 => array(5) ( "url" => string(13) "shlifmashinyi" "name" => string(20) "Шлифмашины" "rod_name" => string(20) "Шлифмашину" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 27 => array(5) ( "url" => string(41) "shurupovertyi-gaykovertyi-elektrootvertki" "name" => string(76) "Шуруповерты, гайковерты, электроотвертки" "rod_name" => string(0) "" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(10) "instrument" ) 28 => array(5) ( "url" => string(20) "elektro-i-benzopilyi" "name" => string(37) "Электро- и бензопилы" "rod_name" => string(18) "Бензопилу" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 29 => array(5) ( "url" => string(13) "elektroveniki" "name" => string(26) "Электровеники" "rod_name" => string(24) "Электровеник" "section_url" => string(9) "dlya-doma" "parent_url" => string(17) "byitovaya-tehnika" ) 30 => array(5) ( "url" => string(34) "elektrodreli-i-dreli-shurupovertyi" "name" => string(61) "Электродрели и дрели-шуруповерты" "rod_name" => string(59) "Электродрель и дрель-шуруповерт" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 31 => array(5) ( "url" => string(36) "elektrodreli-i-stroitelnyie-mikseryi" "name" => string(67) "Электродрели и строительные миксеры" "rod_name" => string(0) "" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(10) "instrument" ) 32 => array(5) ( "url" => string(14) "elektrolobziki" "name" => string(28) "Электролобзики" "rod_name" => string(26) "Электролобзик" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 33 => array(5) ( "url" => string(31) "elektrootvertki-i-shurupovertyi" "name" => string(56) "Электроотвертки и шуруповерты" "rod_name" => string(20) "Шуруповерт" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) 34 => array(5) ( "url" => string(12) "elektropilyi" "name" => string(22) "Электропилы" "rod_name" => string(22) "Электропилу" "section_url" => string(31) "instrumentyi-i-sadovaya-tehnika" "parent_url" => string(17) "elektroinstrument" ) ) "s_title" => string(120) "Производитель RYOBI в интернет-магазине 1teh. Продукция RYOBI в Беларуси" "s_description" => string(361) "Купить продукцию от производителя RYOBI недорого в Минске в интернет магазине 1teh.by. Цены, отзывы покупателей, описанием, фото …" "s_keywords" => string(19) "Купить RYOBI" "ender_likes" => NULL "ender" => string(0) "" "result_quantity" => integer 0 "cartitems" => NULL "likeitems" => NULL "summlikes" => integer 0 "sravnenieCount" => integer 0 "lookedCount" => integer 0 "result_price" => string(1) "0" "content" => string(165101) "<div class="container"> <div class="clearfix" xmlns:v="http://rdf.data-vocabulary.org/#"> <div class="breadcrumbs col-xs-12 …" ) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 48 protected _current_row => integer 48 protected _as_object => string(13) "Model_Product" protected _object_params => NULL }{ 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(6)
public response => object Response(5){ private _name => string(10) "site-brand" protected _filters => array(0) protected _uri => string(20) "brand/<url>(/<page>)" protected _regex => array(1) ( "page" => string(3) "\d+" ) protected _defaults => array(3) ( "directory" => string(4) "site" "controller" => string(5) "brand" "action" => string(5) "index" ) protected _route_regex => string(52) "#^brand/(?P<url>[^/.,;?\n]++)(?:/(?P<page>\d+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(5) "Brand" protected _action => string(5) "index" protected _uri => string(11) "brand/ryobi" protected _external => bool FALSE protected _params => array(1) ( "url" => string(5) "ryobi" ) 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)
private _items_on_page => NULL public _device => object Device(1){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _detector => object Mobile_Detect(3)
}{ protected userAgent => string(40) "CCBot/2.0 (https://commoncrawl.org/faq/)" protected httpHeaders => array(14) ( "HTTP_CF_IPCOUNTRY" => string(2) "US" "HTTP_CF_CONNECTING_IP" => string(12) "3.227.251.94" "HTTP_CDN_LOOP" => string(10) "cloudflare" "HTTP_IF_MODIFIED_SINCE" => string(29) "Tue, 31 Jan 2023 04:49:31 GMT" "HTTP_ACCEPT_LANGUAGE" => string(14) "en-US,en;q=0.5" "HTTP_ACCEPT" => string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" "HTTP_USER_AGENT" => string(40) "CCBot/2.0 (https://commoncrawl.org/faq/)" "HTTP_CF_VISITOR" => string(18) "{"scheme":"https"}" "HTTP_X_FORWARDED_PROTO" => string(5) "https" "HTTP_CF_RAY" => string(20) "7d191ae9ff4b3b2f-IAD" "HTTP_X_FORWARDED_FOR" => string(12) "3.227.251.94" "HTTP_ACCEPT_ENCODING" => string(4) "gzip" "HTTP_CONNECTION" => string(5) "close" "HTTP_HOST" => string(7) "1teh.by" ) protected detectionType => string(6) "mobile" }
}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 FALSE protected _referrer => NULL protected _route => object Route(6)
{ private _name => string(10) "site-brand" protected _filters => array(0) protected _uri => string(20) "brand/<url>(/<page>)" protected _regex => array(1) ( "page" => string(3) "\d+" ) protected _defaults => array(3) ( "directory" => string(4) "site" "controller" => string(5) "brand" "action" => string(5) "index" ) protected _route_regex => string(52) "#^brand/(?P<url>[^/.,;?\n]++)(?:/(?P<page>\d+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(5) "Brand" protected _action => string(5) "index" protected _uri => string(11) "brand/ryobi" protected _external => bool FALSE protected _params => array(1) ( "url" => string(5) "ryobi" ) 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 => 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 [ 986 ] » 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 FALSE protected _referrer => NULL protected _route => object Route(6)
{ private _name => string(10) "site-brand" protected _filters => array(0) protected _uri => string(20) "brand/<url>(/<page>)" protected _regex => array(1) ( "page" => string(3) "\d+" ) protected _defaults => array(3) ( "directory" => string(4) "site" "controller" => string(5) "brand" "action" => string(5) "index" ) protected _route_regex => string(52) "#^brand/(?P<url>[^/.,;?\n]++)(?:/(?P<page>\d+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(4) "Site" protected _controller => string(5) "Brand" protected _action => string(5) "index" protected _uri => string(11) "brand/ryobi" protected _external => bool FALSE protected _params => array(1) ( "url" => string(5) "ryobi" ) 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) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 149 ] » Kohana_Request->execute()
144 /** 145 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 146 * If no source is specified, the URI will be automatically detected. 147 */ 148 echo Request::factory(TRUE, array(), FALSE) 149 ->execute() 150 ->send_headers(TRUE) 151 ->body(); 152 }