APPPATH/classes/controller/park.php [ 184 ]
179 ;
180 $gallery = $cars->gallery->find_all();
181 $price = ORM::factory('rate')->get_price_item_for_city($id, $city->id);
182 $stationIds = array_keys(ORM::factory('station')->station_list($city->id, $id));
183 if(empty($stationIds)){
184 throw new HTTP_Exception_404('File not found!');
185 }
186
187 $carsIds = ORM::factory('carsstation')
188 ->where('station_id', 'IN', $stationIds)
189 ->find_all()->as_array('car_id', 'car_id');
-
{PHP internal call} » Controller_Park->action_item()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Park(6)
{ public cache => NULL protected _ajax => bool FALSE public template => object View(2)
{ protected _file => string(73) "/var/www/naprokat/data/www/old.naprokat.ru/application/views/template.php" protected _data => array(13) ( "logged_in" => bool FALSE "site" => string(4) "perm" "current" => string(27) "perm/arenda-ford-mondeo-new" "title" => string(122) "FORD MONDEO NEW 2017 в аренду в Перми > Взять автомобиль FORD MONDEO NEW 2017 напрокат" "meta" => string(0) "" "meta_keywords" => string(68) "Аренда автомобиля FORD MONDEO NEW 2017 в Перми" "meta_description" => string(358) "Аренда автомобиля FORD MONDEO NEW 2017 в Перми напрокат посуточно от компании Naprokat.Ru. Взять авто FORD MONDEO NEW 2017в арен …" "content" => object View(2)
public auto_render => bool TRUE public request => object Request(21){ protected _file => string(74) "/var/www/naprokat/data/www/old.naprokat.ru/application/views/park/item.php" protected _data => array(8) ( "cars" => object Model_Cars(35)
"style" => array(1) ( 0 => string(60) "components/datepicer_overcast/jquery-ui-1.9.2.custom.min.css" ) "params" => string(0) "" "script" => array(5) ( 0 => string(31) "media/js/jquery.validate.min.js" 1 => string(23) "media/js/messages_ru.js" 2 => string(32) "media/js/jquery.jcarousel.min.js" 3 => string(66) "media/components/datepicer_overcast/jquery-ui-1.8.10.custom.min.js" 4 => string(62) "media/components/datepicer_overcast/jquery.ui.datepicker-ru.js" ) "prefix" => string(72) " — Naprokat.ru Аренда автомобилей в России" "canonical" => string(0) "" ) }{ protected _table_name => string(4) "cars" protected _primary_key => string(2) "id" protected _primary_value => string(4) "name" protected _belongs_to => array(1) ( "body_type" => array(2) ( "model" => string(4) "body" "foreign_key" => string(12) "body_type_id" ) ) protected _has_many => array(5) ( "station" => array(4) ( "model" => string(7) "station" "foreign_key" => string(7) "cars_id" "through" => string(12) "car_stations" "far_key" => string(10) "station_id" ) "rates" => array(4) ( "model" => string(4) "rate" "foreign_key" => string(7) "cars_id" "through" => string(9) "rate_cars" "far_key" => string(7) "rate_id" ) "car_rate" => array(4) ( "model" => string(8) "ratecars" "foreign_key" => string(6) "car_id" "through" => NULL "far_key" => string(11) "car_rate_id" ) "gallery" => array(4) ( "model" => string(12) "cars_gallery" "foreign_key" => string(6) "car_id" "through" => NULL "far_key" => string(10) "gallery_id" ) "news" => array(4) ( "model" => string(4) "news" "foreign_key" => string(6) "car_id" "through" => string(9) "news_cars" "far_key" => string(7) "news_id" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(21) ( "id" => string(3) "159" "name" => string(20) "FORD MONDEO NEW 2017" "class" => string(0) "" "acriss" => string(0) "" "body_type_id" => string(1) "1" "engine" => string(3) "2.0" "group" => string(1) "1" "group_age" => string(1) "0" "people" => string(1) "5" "bag_small" => string(1) "2" "bag_big" => string(1) "2" "gearbox" => string(1) "1" "conditioner" => string(1) "1" "info" => string(0) "" "enabled" => string(1) "1" "speed" => string(0) "" "acceleration" => string(0) "" "title" => string(0) "" "description" => string(0) "" "alias" => string(15) "ford-mondeo-new" "sipp_code" => string(0) "" ) protected _changed => array(0) protected _original_values => array(21) ( "id" => string(3) "159" "name" => string(20) "FORD MONDEO NEW 2017" "class" => string(0) "" "acriss" => string(0) "" "body_type_id" => string(1) "1" "engine" => string(3) "2.0" "group" => string(1) "1" "group_age" => string(1) "0" "people" => string(1) "5" "bag_small" => string(1) "2" "bag_big" => string(1) "2" "gearbox" => string(1) "1" "conditioner" => string(1) "1" "info" => string(0) "" "enabled" => string(1) "1" "speed" => string(0) "" "acceleration" => string(0) "" "title" => string(0) "" "description" => string(0) "" "alias" => string(15) "ford-mondeo-new" "sipp_code" => string(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(4) "cars" protected _object_plural => string(6) "carses" protected _table_columns => array(21) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "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(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" ) "class" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "class" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "acriss" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "acriss" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "body_type_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(12) "body_type_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "engine" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "engine" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "group" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "group" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(1) "5" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "group_age" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(9) "group_age" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "people" => array(13) ( "type" => string(3) "int" "min" => string(6) "-32768" "max" => string(5) "32767" "column_name" => string(6) "people" "column_default" => NULL "data_type" => string(8) "smallint" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "bag_small" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(5) "65535" "column_name" => string(9) "bag_small" "column_default" => NULL "data_type" => string(17) "smallint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "bag_big" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(5) "65535" "column_name" => string(7) "bag_big" "column_default" => NULL "data_type" => string(17) "smallint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "gearbox" => array(13) ( "type" => string(3) "int" "min" => string(6) "-32768" "max" => string(5) "32767" "column_name" => string(7) "gearbox" "column_default" => NULL "data_type" => string(8) "smallint" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "conditioner" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(11) "conditioner" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "info" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "info" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "enabled" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(7) "enabled" "column_default" => string(1) "1" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "speed" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "speed" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "acceleration" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "acceleration" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "character_maximum_length" => string(2) "50" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "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" ) "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 19 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "alias" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "alias" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "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" ) "sipp_code" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "sipp_code" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 21 "character_maximum_length" => string(3) "200" "collation_name" => string(15) "utf8_general_ci" "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_value => string(3) "159" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"car_description" => NULL "city" => object Model_City(35){ protected _connection_id => string(40) "b68fb2c363558fab3c6ce4e3b34f5714819b67a8" protected _identifier => string(1) "`" public last_query => string(82) "SELECT `carsstation`.* FROM `car_stations` AS `carsstation` WHERE `car_id` = '159'" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(12) "naprokat_old" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
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(4) "cars" }{ protected _table_name => string(6) "cities" protected _primary_key => string(2) "id" protected _primary_value => string(4) "name" protected _has_many => array(5) ( "company" => array(4) ( "model" => string(7) "company" "foreign_key" => string(7) "city_id" "through" => string(14) "company_cities" "far_key" => string(10) "company_id" ) "station" => array(4) ( "model" => string(7) "station" "foreign_key" => string(7) "city_id" "through" => NULL "far_key" => string(10) "station_id" ) "rates" => array(4) ( "model" => string(4) "rate" "foreign_key" => string(7) "city_id" "through" => NULL "far_key" => string(7) "rate_id" ) "back" => array(4) ( "model" => string(4) "back" "foreign_key" => string(7) "from_id" "through" => NULL "far_key" => string(7) "back_id" ) "banner" => array(4) ( "model" => string(6) "banner" "foreign_key" => string(7) "city_id" "through" => string(11) "banner_city" "far_key" => string(9) "banner_id" ) ) protected _table_columns => array(24) ( "id" => array(4) ( "type" => string(3) "int" "column_name" => string(2) "id" "data_type" => string(9) "mediumint" "is_nullable" => bool FALSE ) "name" => array(4) ( "type" => string(6) "string" "column_name" => string(4) "name" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE ) "h1" => array(4) ( "type" => string(6) "string" "column_name" => string(2) "h1" "data_type" => string(7) "varchar" "is_nullable" => bool TRUE ) "name2" => array(4) ( "type" => string(6) "string" "column_name" => string(5) "name2" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE ) "alias" => array(4) ( "type" => string(6) "string" "column_name" => string(5) "alias" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE ) "enabled" => array(4) ( "type" => string(3) "int" "column_name" => string(7) "enabled" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE ) "is_important" => array(4) ( "type" => string(3) "int" "column_name" => string(12) "is_important" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE ) "title" => array(4) ( "type" => string(6) "string" "column_name" => string(5) "title" "data_type" => string(7) "varchar" "is_nullable" => bool TRUE ) "description" => array(4) ( "type" => string(6) "string" "column_name" => string(11) "description" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "keywords" => array(4) ( "type" => string(6) "string" "column_name" => string(8) "keywords" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "meta" => array(4) ( "type" => string(6) "string" "column_name" => string(4) "meta" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "seo_text" => array(4) ( "type" => string(6) "string" "column_name" => string(8) "seo_text" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "seo_text2" => array(4) ( "type" => string(6) "string" "column_name" => string(9) "seo_text2" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "title2" => array(4) ( "type" => string(6) "string" "column_name" => string(6) "title2" "data_type" => string(7) "varchar" "is_nullable" => bool TRUE ) "description2" => array(4) ( "type" => string(6) "string" "column_name" => string(12) "description2" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "keywords2" => array(4) ( "type" => string(6) "string" "column_name" => string(9) "keywords2" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "seo1" => array(4) ( "type" => string(6) "string" "column_name" => string(4) "seo1" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "seo2" => array(4) ( "type" => string(6) "string" "column_name" => string(4) "seo2" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "seo3" => array(4) ( "type" => string(6) "string" "column_name" => string(4) "seo3" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "seo4" => array(4) ( "type" => string(6) "string" "column_name" => string(4) "seo4" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "seo5" => array(4) ( "type" => string(6) "string" "column_name" => string(4) "seo5" "data_type" => string(4) "text" "is_nullable" => bool TRUE ) "lat" => array(4) ( "type" => string(6) "string" "column_name" => string(3) "lat" "data_type" => string(7) "varchar" "is_nullable" => bool TRUE ) "lng" => array(4) ( "type" => string(6) "string" "column_name" => string(3) "lng" "data_type" => string(7) "varchar" "is_nullable" => bool TRUE ) "zoom" => array(4) ( "type" => string(6) "string" "column_name" => string(4) "zoom" "data_type" => string(7) "varchar" "is_nullable" => bool TRUE ) ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(24) ( "id" => string(2) "24" "name" => string(10) "Пермь" "h1" => NULL "name2" => string(13) "в Перми" "alias" => string(4) "perm" "enabled" => string(1) "1" "is_important" => string(1) "0" "title" => string(0) "" "description" => string(0) "" "keywords" => string(0) "" "meta" => string(0) "" "seo_text" => string(0) "" "seo_text2" => string(0) "" "title2" => string(0) "" "description2" => string(0) "" "keywords2" => string(0) "" "seo1" => string(0) "" "seo2" => string(746) "<div class="caption">Требования к арендатору<br/> </div> <div class="demands"> <div>Минимальный возраст водите …" "seo3" => string(1063) "<div class="caption">Дополнительные сборы<br/> </div> <div class="price-tbl"> <ul> <li class="label">< …" "seo4" => string(1228) "<div class="caption">Размер залога на прокат автомобиля</div> <div class="price-tbl bigger"> <ul> <li class …" "seo5" => string(0) "" "lat" => string(17) "58.01600655463407" "lng" => string(17) "56.11061096191406" "zoom" => string(2) "10" ) protected _changed => array(0) protected _original_values => array(24) ( "id" => string(2) "24" "name" => string(10) "Пермь" "h1" => NULL "name2" => string(13) "в Перми" "alias" => string(4) "perm" "enabled" => string(1) "1" "is_important" => string(1) "0" "title" => string(0) "" "description" => string(0) "" "keywords" => string(0) "" "meta" => string(0) "" "seo_text" => string(0) "" "seo_text2" => string(0) "" "title2" => string(0) "" "description2" => string(0) "" "keywords2" => string(0) "" "seo1" => string(0) "" "seo2" => string(746) "<div class="caption">Требования к арендатору<br/> </div> <div class="demands"> <div>Минимальный возраст водите …" "seo3" => string(1063) "<div class="caption">Дополнительные сборы<br/> </div> <div class="price-tbl"> <ul> <li class="label">< …" "seo4" => string(1228) "<div class="caption">Размер залога на прокат автомобиля</div> <div class="price-tbl bigger"> <ul> <li class …" "seo5" => string(0) "" "lat" => string(17) "58.01600655463407" "lng" => string(17) "56.11061096191406" "zoom" => string(2) "10" ) 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(4) "city" protected _object_plural => string(6) "cities" protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(2) "24" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
"price" => NULL "discount" => NULL "discount_inf" => NULL "other_cars" => NULL "gallery" => object Database_MySQL_Result(7){ protected _connection_id => string(40) "b68fb2c363558fab3c6ce4e3b34f5714819b67a8" protected _identifier => string(1) "`" public last_query => string(82) "SELECT `carsstation`.* FROM `car_stations` AS `carsstation` WHERE `car_id` = '159'" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(12) "naprokat_old" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
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(4) "city" }{ protected _internal_row => integer 0 protected _query => string(98) "SELECT `cars_gallery`.* FROM `car_gallery` AS `cars_gallery` WHERE `cars_gallery`.`car_id` = '159'" protected _result => resource(mysql result) protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(18) "Model_Cars_Gallery" protected _object_params => NULL }
) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(19) "perm/arenda-<alias>" protected _regex => array(1) ( "alias" => string(2) ".*" ) protected _defaults => array(3) ( "controller" => string(4) "park" "action" => string(4) "item" "city" => string(4) "perm" ) protected _route_regex => string(31) "#^perm/arenda-(?P<alias>.*)$#uD" }
protected _routes => NULL 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(4) "park" protected _action => string(4) "item" protected _uri => string(27) "perm/arenda-ford-mondeo-new" protected _external => bool FALSE protected _params => array(2) ( "alias" => string(15) "ford-mondeo-new" "city" => string(4) "perm" ) 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 }
public _injected_routes => 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.0" }113 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 114 array(':uri' => $request->uri())); 115 } 116 117 $method = $class->getMethod('action_'.$action); 118 $method->invoke($controller); 119 120 // Execute the "after action" method 121 $class->getMethod('after')->invoke($controller); 122 } 123 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(19) "perm/arenda-<alias>" protected _regex => array(1) ( "alias" => string(2) ".*" ) protected _defaults => array(3) ( "controller" => string(4) "park" "action" => string(4) "item" "city" => string(4) "perm" ) protected _route_regex => string(31) "#^perm/arenda-(?P<alias>.*)$#uD" }
protected _routes => NULL 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(4) "park" protected _action => string(4) "item" protected _uri => string(27) "perm/arenda-ford-mondeo-new" protected _external => bool FALSE protected _params => array(2) ( "alias" => string(15) "ford-mondeo-new" "city" => string(4) "perm" ) 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 }
public _injected_routes => array(0) }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 [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(21)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(19) "perm/arenda-<alias>" protected _regex => array(1) ( "alias" => string(2) ".*" ) protected _defaults => array(3) ( "controller" => string(4) "park" "action" => string(4) "item" "city" => string(4) "perm" ) protected _route_regex => string(31) "#^perm/arenda-(?P<alias>.*)$#uD" }
protected _routes => NULL 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(4) "park" protected _action => string(4) "item" protected _uri => string(27) "perm/arenda-ford-mondeo-new" protected _external => bool FALSE protected _params => array(2) ( "alias" => string(15) "ford-mondeo-new" "city" => string(4) "perm" ) 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 }
public _injected_routes => array(0) }1133 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 112 ] » Kohana_Request->execute()
107 */ 108 $request = Request::factory(); 109 110 Log::instance()->add(Log::DEBUG, $request->controller() . '::' . $request->action()); 111 112 echo $request->execute() 113 ->send_headers() 114 ->body();