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
-
SYSPATH/classes/Kohana/View.php [ 137 ] » Kohana_View->set_filename(arguments)
0
string(7) "client/"
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(7) "client/"
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/Client.php [ 772 ] » Kohana_View::factory(arguments)
0
string(7) "client/"
767 768 $page = ORM::factory('Categories')->get_category_by_translit($translit, $this->lang); // Данные о категории 769 if (!$page && !$page->id) { 770 throw new HTTP_Exception_404; 771 } 772 $view = View::factory('client/'.$page->view_path); 773 $view->data = $page; 774 775 $array = ORM::factory('Categories')->get_all_categories($this->lang); 776 $rec = new Recursive; 777 $ids = $rec->get_childs_full($array, $page->id, array($page->id));
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Client->action_catalog()
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)
0
object Controller_Client(7)
{ public template => object View(2)
{ protected _file => string(64) "/home/zavizoib/public_html/application/views/client/template.php" protected _data => array(19) ( "socials" => array(5) ( "vk" => string(0) "" "facebook" => string(43) "https://www.facebook.com/groups/zavizoi.by/" "gooogle_plus" => string(0) "" "twitter" => string(27) "https://twitter.com/zavizoi" "odnoklassniki" => string(35) "http://www.odnoklassniki.ru/zavizoi" ) "contacts" => array(10) ( "velcom" => string(19) "+375 (29) 361-00-86" "mts" => string(19) "+375 (44) 589-95-96" "address" => string(121) "<b style="color: #44acd5;">г. Минск</b>, ул. Гурского 46, офис 312, ст. метро Михалово" "email" => string(20) "zavizoi.by@gmail.com" "velcom2" => string(19) "+375 (44) 589-95-96" "mts2" => string(19) "+375 (29) 763-77-80" "gorod" => string(19) "+375 (29) 596-00-86" "work" => string(51) "с 10.00 до 18.00, выходные сб., вс. " "details" => string(267) "р/с BY42MTBK30120001093300064984 ЗАО «МТБанк», БИК MTBKBY22 220033, г. Минск, пр. Партизанский, 6а Назначение платежа - за инфор …" "tchup" => string(167) "Республика Беларусь, 220015, г. Минск, ул. Гурского 46, офис 312, 3 этаж, ст. метро Михалово, УНП 192377534" ) "image_url" => string(63) "/content/images/product_images/23/fon-1401276302-1401443581.jpg" "cats" => object Database_MySQL_Result(7)
public lang => string(2) "ru" public auto_render => bool TRUE public request => object Request(19){ protected _internal_row => integer 0 protected _query => string(832) "SELECT `categories`.`id` AS `id`, `categories`.`pid` AS `pid`, `categories`.`name` AS `name`, `categories`.`translit` AS `transl …" protected _result => resource(mysql result) public _total_rows => integer 8 protected _current_row => integer 0 protected _as_object => string(16) "Model_Categories" protected _object_params => NULL }
"uslugi_sub_part" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(758) "SELECT `custom`.`id` AS `id`, `custom`.`pid` AS `pid`, `custom`.`name` AS `name`, `custom`.`translit` AS `translit`, `custom`.`v …" protected _result => resource(mysql result) public _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(12) "Model_Custom" protected _object_params => NULL }
"uslugi" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(871) "SELECT `page_images`.*, `custompages`.`id` AS `id`, `custompages`.`category_id` AS `category_id`, `custompages`.`name` AS `name` …" protected _result => resource(mysql result) public _total_rows => integer 2 protected _current_row => integer 0 protected _as_object => string(17) "Model_CustomPages" protected _object_params => NULL }
"vizy" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(778) "SELECT `custom`.`id` AS `id`, `custom`.`pid` AS `pid`, `custom`.`name` AS `name`, `custom`.`translit` AS `translit`, `custom`.`v …" protected _result => resource(mysql result) public _total_rows => integer 6 protected _current_row => integer 0 protected _as_object => string(12) "Model_Custom" protected _object_params => NULL }
"url" => string(38) "/каталог/tury-s-otdyhom-na-more" "pid_viza" => NULL "category_id_usluga" => NULL "level2" => string(22) "tury-s-otdyhom-na-more" "items" => array(16) ( 0 => array(8) ( "id" => string(1) "1" "pid" => string(1) "0" "name" => string(8) "Визы" "translit" => string(8) "визы" "item_id" => string(1) "3" "item_pid" => string(1) "0" "item_type" => string(6) "custom" "order" => string(1) "1" ) 1 => array(8) ( "id" => string(1) "2" "pid" => string(1) "1" "name" => string(24) "Виза в Польшу" "translit" => string(24) "виза-в-польшу" "item_id" => string(1) "9" "item_pid" => string(1) "3" "item_type" => string(6) "custom" "order" => string(1) "1" ) 2 => array(8) ( "id" => string(1) "3" "pid" => string(1) "1" "name" => string(22) "Виза в Литву" "translit" => string(22) "виза-в-литву" "item_id" => string(2) "12" "item_pid" => string(1) "3" "item_type" => string(6) "custom" "order" => string(1) "2" ) 3 => array(8) ( "id" => string(1) "4" "pid" => string(1) "1" "name" => string(28) "Виза во Францию" "translit" => string(25) "визы-viza-vo-franciyu" "item_id" => string(2) "15" "item_pid" => string(1) "3" "item_type" => string(6) "custom" "order" => string(1) "3" ) 4 => array(8) ( "id" => string(1) "5" "pid" => string(1) "1" "name" => string(24) "Виза в Италию" "translit" => string(22) "vizy-novaya-kategoriya" "item_id" => string(2) "52" "item_pid" => string(1) "3" "item_type" => string(6) "custom" "order" => string(1) "5" ) 5 => array(8) ( "id" => string(1) "6" "pid" => string(1) "1" "name" => string(26) "Виза в Таиланд" "translit" => string(19) "vizy-viza-v-tailand" "item_id" => string(2) "55" "item_pid" => string(1) "3" "item_type" => string(6) "custom" "order" => string(1) "6" ) 6 => array(8) ( "id" => string(1) "7" "pid" => string(1) "1" "name" => string(26) "Виза в Испанию" "translit" => string(20) "vizy-viza-v-ispaniyu" "item_id" => string(2) "45" "item_pid" => string(1) "3" "item_type" => string(6) "custom" "order" => string(1) "6" ) 7 => array(8) ( "id" => string(1) "8" "pid" => string(1) "0" "name" => string(8) "Туры" "translit" => string(4) "tury" "item_id" => string(2) "28" "item_pid" => string(1) "0" "item_type" => string(6) "custom" "order" => string(1) "2" ) 8 => array(8) ( "id" => string(1) "9" "pid" => string(1) "8" "name" => string(12) "Страны" "translit" => string(6) "strany" "item_id" => string(1) "3" "item_pid" => string(2) "28" "item_type" => string(10) "categories" "order" => string(1) "1" ) 9 => array(8) ( "id" => string(2) "10" "pid" => string(1) "8" "name" => string(53) "Экскурсионные туры по Европе" "translit" => string(14) "tury-po-evrope" "item_id" => string(2) "19" "item_pid" => string(2) "28" "item_type" => string(10) "categories" "order" => string(1) "5" ) 10 => array(8) ( "id" => string(2) "11" "pid" => string(1) "8" "name" => string(40) "Туры с отдыхом на море" "translit" => string(22) "tury-s-otdyhom-na-more" "item_id" => string(2) "25" "item_pid" => string(2) "28" "item_type" => string(10) "categories" "order" => string(1) "8" ) 11 => array(8) ( "id" => string(2) "12" "pid" => string(1) "8" "name" => string(20) "Авиабилеты" "translit" => string(10) "aviabilety" "item_id" => string(2) "89" "item_pid" => string(2) "28" "item_type" => string(12) "custom_pages" "order" => string(1) "6" ) 12 => array(8) ( "id" => string(2) "13" "pid" => string(1) "0" "name" => string(12) "Услуги" "translit" => string(12) "услуги" "item_id" => string(1) "4" "item_pid" => string(1) "0" "item_type" => string(6) "custom" "order" => string(1) "3" ) 13 => array(8) ( "id" => string(2) "14" "pid" => string(2) "13" "name" => string(18) "Страховки" "translit" => string(9) "strahovki" "item_id" => string(2) "90" "item_pid" => string(1) "4" "item_type" => string(12) "custom_pages" "order" => string(1) "3" ) 14 => array(8) ( "id" => string(2) "15" "pid" => string(1) "0" "name" => string(14) "Новости" "translit" => string(4) "news" "item_id" => string(1) "5" "item_pid" => string(1) "0" "item_type" => string(6) "custom" "order" => string(1) "5" ) 15 => array(8) ( "id" => string(2) "16" "pid" => string(1) "0" "name" => string(16) "Контакты" "translit" => string(16) "контакты" "item_id" => string(1) "6" "item_pid" => string(1) "0" "item_type" => string(6) "custom" "order" => string(1) "6" ) ) "products" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(970) "SELECT `product_images`.*, `products`.`id` AS `id`, `products`.`category_id` AS `category_id`, `products`.`brand_id` AS `brand_i …" protected _result => resource(mysql result) public _total_rows => integer 6 protected _current_row => integer 0 protected _as_object => string(14) "Model_Products" protected _object_params => NULL }
"categories_level1" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(848) "SELECT `categories`.`id` AS `id`, `categories`.`pid` AS `pid`, `categories`.`name` AS `name`, `categories`.`translit` AS `transl …" protected _result => resource(mysql result) public _total_rows => integer 8 protected _current_row => integer 0 protected _as_object => string(16) "Model_Categories" protected _object_params => NULL }
"categories_level2" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(848) "SELECT `categories`.`id` AS `id`, `categories`.`pid` AS `pid`, `categories`.`name` AS `name`, `categories`.`translit` AS `transl …" protected _result => resource(mysql result) public _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(16) "Model_Categories" protected _object_params => NULL }
"parts" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(764) "SELECT `custom`.`id` AS `id`, `custom`.`pid` AS `pid`, `custom`.`name` AS `name`, `custom`.`translit` AS `translit`, `custom`.`v …" protected _result => resource(mysql result) public _total_rows => integer 12 protected _current_row => integer 0 protected _as_object => string(12) "Model_Custom" protected _object_params => NULL }
"pages" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(745) "SELECT `custompages`.`id` AS `id`, `custompages`.`category_id` AS `category_id`, `custompages`.`name` AS `name`, `custompages`.` …" protected _result => resource(mysql result) public _total_rows => integer 2 protected _current_row => integer 0 protected _as_object => string(17) "Model_CustomPages" protected _object_params => NULL }
"styles" => array(8) ( 0 => string(32) "content/css/font-awesome.min.css" 1 => string(29) "content/css/bootstrap.min.css" 2 => string(23) "content/css/owl.min.css" 3 => string(29) "content/css/owl.theme.min.css" 4 => string(28) "content/fonts/stylesheet.css" 5 => string(25) "content/css/style.min.css" 6 => string(30) "content/css/adaptation.min.css" 7 => string(27) "content/css/animate.min.css" ) "scripts" => array(11) ( 0 => string(24) "content/js/jquery.min.js" 1 => string(29) "content/js/jquery.form.min.js" 2 => string(27) "content/js/bootstrap.min.js" 3 => string(23) "content/js/html5shiv.js" 4 => string(24) "content/js/custom.min.js" 5 => string(26) "content/js/carousel.min.js" 6 => string(30) "content/js/owl.carousel-min.js" 7 => string(20) "content/js/mobile.js" 8 => string(18) "content/js/call.js" 9 => string(21) "content/js/request.js" 10 => string(19) "content/js/round.js" ) ) }{ 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(58) "каталог(/<level2>(/<level3>(/<level4>(/<level5>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(6) "Client" "action" => string(7) "catalog" ) protected _route_regex => string(140) "#^каталог(?:/(?P<level2>[^/.,;?\n]++)(?:/(?P<level3>[^/.,;?\n]++)(?:/(?P<level4>[^/.,;?\n]++)(?:/(?P<level5>[^/.,;?\n]++))?)?)?) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Client" protected _action => string(7) "catalog" protected _uri => string(37) "каталог/tury-s-otdyhom-na-more" protected _external => bool FALSE protected _params => array(1) ( "level2" => string(22) "tury-s-otdyhom-na-more" ) 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)
public act => object View(2){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _file => string(68) "/home/zavizoib/public_html/application/views/client/act_news/act.php" protected _data => array(1) ( "data" => object Model_CustomPages(34)
public last_news => object View(2){ protected _table_name => string(12) "custom_pages" protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(16) ( "id" => NULL "category_id" => NULL "name" => NULL "translit" => NULL "page_keywords" => NULL "page_title" => NULL "page_description" => NULL "page_text" => NULL "main_img_id" => NULL "lang" => NULL "hits" => NULL "date" => NULL "view_path" => NULL "sort" => NULL "status" => NULL "video" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(11) "custompages" protected _object_plural => string(13) "custompageses" protected _table_columns => array(16) ( "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" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "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 3 "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" ) "translit" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "translit" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "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" ) "page_keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "page_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "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" ) "page_title" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "page_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "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" ) "page_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "page_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "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" ) "page_text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(9) "page_text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "main_img_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "main_img_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(3) "200" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "character_maximum_length" => string(1) "3" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "hits" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "hits" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "view_path" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "view_path" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(2) "80" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sort" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "sort" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "status" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(6) "status" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "video" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "video" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "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" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
) }{ protected _connection_id => string(40) "1c271f072a173c340c9cc508a024f23986becb59" protected _identifier => string(1) "`" public last_query => string(882) "SELECT `categories`.`id` AS `id`, `categories`.`pid` AS `pid`, `categories`.`name` AS `name`, `categories`.`translit` AS `transl …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(11) "zavizoib_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
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(11) "custompages" }{ protected _file => string(74) "/home/zavizoib/public_html/application/views/client/act_news/last_news.php" protected _data => array(1) ( "data" => object Model_CustomPages(34)
}{ protected _table_name => string(12) "custom_pages" protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(22) ( "id" => string(3) "189" "category_id" => string(1) "3" "name" => string(27) "Виза в Таиланд!" "translit" => string(21) "strany-viza-v-tailand" "page_keywords" => string(0) "" "page_title" => string(55) "Визы: Виза в Таиланд! | За визой" "page_description" => string(0) "" "page_text" => string(1604) "<p><span style="font-size:16px"><strong>Туристическая виза в Таиланд через Москву</strong>< …" "main_img_id" => string(1) "0" "lang" => string(2) "ru" "hits" => string(1) "0" "date" => string(10) "1570787346" "view_path" => string(9) "vizy_info" "sort" => string(1) "0" "status" => string(1) "3" "video" => string(0) "" "product_id" => NULL "img_url" => NULL "img_url_s" => NULL "img_alt" => NULL "img_title" => NULL "img_link" => NULL ) protected _changed => array(0) protected _original_values => array(22) ( "id" => string(3) "189" "category_id" => string(1) "3" "name" => string(27) "Виза в Таиланд!" "translit" => string(21) "strany-viza-v-tailand" "page_keywords" => string(0) "" "page_title" => string(55) "Визы: Виза в Таиланд! | За визой" "page_description" => string(0) "" "page_text" => string(1604) "<p><span style="font-size:16px"><strong>Туристическая виза в Таиланд через Москву</strong>< …" "main_img_id" => string(1) "0" "lang" => string(2) "ru" "hits" => string(1) "0" "date" => string(10) "1570787346" "view_path" => string(9) "vizy_info" "sort" => string(1) "0" "status" => string(1) "3" "video" => string(0) "" "product_id" => NULL "img_url" => NULL "img_url_s" => NULL "img_alt" => NULL "img_title" => NULL "img_link" => NULL ) 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(11) "custompages" protected _object_plural => string(13) "custompageses" protected _table_columns => array(16) ( "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" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "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 3 "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" ) "translit" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "translit" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "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" ) "page_keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "page_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "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" ) "page_title" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "page_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "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" ) "page_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "page_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "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" ) "page_text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(9) "page_text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "main_img_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "main_img_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(3) "200" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "character_maximum_length" => string(1) "3" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "hits" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "hits" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "view_path" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "view_path" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(2) "80" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sort" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "sort" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "status" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(6) "status" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "video" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "video" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "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" ) ) 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) "189" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
) }{ protected _connection_id => string(40) "1c271f072a173c340c9cc508a024f23986becb59" protected _identifier => string(1) "`" public last_query => string(882) "SELECT `categories`.`id` AS `id`, `categories`.`pid` AS `pid`, `categories`.`name` AS `name`, `categories`.`translit` AS `transl …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(11) "zavizoib_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
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(11) "custompages" }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(5)
{ protected _filters => array(0) protected _uri => string(58) "каталог(/<level2>(/<level3>(/<level4>(/<level5>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(6) "Client" "action" => string(7) "catalog" ) protected _route_regex => string(140) "#^каталог(?:/(?P<level2>[^/.,;?\n]++)(?:/(?P<level3>[^/.,;?\n]++)(?:/(?P<level4>[^/.,;?\n]++)(?:/(?P<level5>[^/.,;?\n]++))?)?)?) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Client" protected _action => string(7) "catalog" protected _uri => string(37) "каталог/tury-s-otdyhom-na-more" protected _external => bool FALSE protected _params => array(1) ( "level2" => string(22) "tury-s-otdyhom-na-more" ) 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(5)
{ protected _filters => array(0) protected _uri => string(58) "каталог(/<level2>(/<level3>(/<level4>(/<level5>))))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(6) "Client" "action" => string(7) "catalog" ) protected _route_regex => string(140) "#^каталог(?:/(?P<level2>[^/.,;?\n]++)(?:/(?P<level3>[^/.,;?\n]++)(?:/(?P<level4>[^/.,;?\n]++)(?:/(?P<level5>[^/.,;?\n]++))?)?)?) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Client" protected _action => string(7) "catalog" protected _uri => string(37) "каталог/tury-s-otdyhom-na-more" protected _external => bool FALSE protected _params => array(1) ( "level2" => string(22) "tury-s-otdyhom-na-more" ) 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 [ 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 }