MODPATH/database/classes/kohana/database/mysql.php [ 194 ]
189 {
190 // This benchmark is worthless
191 Profiler::delete($benchmark);
192 }
193
194 throw new Database_Exception(':error [ :query ]',
195 array(':error' => mysql_error($this->_connection), ':query' => $sql),
196 mysql_errno($this->_connection));
197 }
198
199 if (isset($benchmark))
-
MODPATH/database/classes/kohana/database/query.php [ 245 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(68) "SELECT * FROM `api_products` WHERE `id` IN () ORDER BY FIELD(`id`, )"
2
string(13) "model_product"
3
array(0)
240 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 241 } 242 } 243 244 // Execute the query 245 $result = $db->query($this->_type, $sql, $as_object, $object_params); 246 247 if (isset($cache_key) AND $this->_lifetime > 0) 248 { 249 // Cache the result array 250 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
APPPATH/classes/controller/site/catalog.php [ 289 ] » Kohana_Database_Query->execute()
284 285 $products = DB::select()->from('api_products')->where('id', 'in', $products_array) 286 ->order_by(DB::Expr("FIELD(`id`, {$products_string})")) 287 ->as_object('model_product') 288 ->cached(2592000) 289 ->execute(); 290 291 $this->template->page['title'] = $this->category->name; 292 293 $breadcrumbs = array(); 294 $breadcrumbs[$this->category->name] = '/catalog/'.$this->category->id;
-
{PHP internal call} » Controller_Site_Catalog->action_index()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Site_Catalog(11)
{ public template => object View(5)
{ protected _renderer => string(6) "parent" protected _default_renderer => string(6) "parent" protected _config => object Config_Group(2)
public auto_render => bool TRUE public request => object Request(21){ public extensions => array(3) ( "smarty" => string(3) "tpl" "text" => bool TRUE "json" => bool TRUE ) public expose => array(2) ( 0 => string(5) "title" 1 => string(7) "content" ) }
protected _file => string(43) "/srv/web21/application/views/index.view.php" protected _data => array(17) ( "auth" => object MyAuth(4){ protected _session => object Session_Database(11)
"logged_in" => bool FALSE "opengraph_tags" => array(0) "styles" => array(8) ( 0 => string(19) "media/css/style.css" 1 => string(22) "media/css/header.css?9" 2 => string(25) "media/css/new_style.css?1" 3 => string(27) "media/css/jquery.jgrowl.css" 4 => string(27) "media/css/tooltip/style.css" 5 => string(35) "media/admin/highslide/highslide.css" 6 => string(39) "media/css/left_menu/jquery.treeview.css" 7 => string(23) "media/css/recommend.css" ) "scripts" => array(4) ( 0 => string(43) "dist/vendors~common.8ed46d446a9840ab94a2.js" 1 => string(35) "dist/common.502b866665cbcb3bb56b.js" 2 => string(47) "media/admin/highslide/highslide-with-gallery.js" 3 => string(10) "dist/hs.js" ) "webpack_scripts" => array(0) "auth_form" => object Response(5){ protected _db => object Database_MySQL(6)
protected _config => object Config_Group(0){ protected _connection_id => string(40) "6f91364afb99a00e1169508e0d89132139cc0c47" protected _identifier => string(1) "`" public last_query => string(65) "SELECT `order`.* FROM `orders` AS `order` WHERE `cart_id` IS NULL" 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(8) "igrushki" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _table => string(8) "sessions" protected _columns => array(5) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" "user_agent" => string(10) "user_agent" "user_ip" => string(7) "user_ip" ) protected _gc => integer 2 protected _session_id => string(23) "66078771b34de5-55372988" protected _update_id => NULL protected _name => string(16) "session_database" protected _lifetime => integer 864000 protected _encrypted => bool FALSE protected _data => array(2) ( "ordering" => array(2) ( "type" => string(14) "stock_qnt|desc" "count" => integer 15 ) "city" => array(1) ( "country" => string(2) "US" ) ) protected _destroyed => bool FALSE }{ }
protected _auth => object Auth_ORM(2){ protected _session => object Session_Database(11)
protected _type => string(6) "native" }{ protected _db => object Database_MySQL(6)
protected _config => object Config_Group(7){ protected _connection_id => string(40) "6f91364afb99a00e1169508e0d89132139cc0c47" protected _identifier => string(1) "`" public last_query => string(65) "SELECT `order`.* FROM `orders` AS `order` WHERE `cart_id` IS NULL" 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(8) "igrushki" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _table => string(8) "sessions" protected _columns => array(5) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" "user_agent" => string(10) "user_agent" "user_ip" => string(7) "user_ip" ) protected _gc => integer 2 protected _session_id => string(23) "66078771b34de5-55372988" protected _update_id => NULL protected _name => string(16) "session_database" protected _lifetime => integer 864000 protected _encrypted => bool FALSE protected _data => array(2) ( "ordering" => array(2) ( "type" => string(14) "stock_qnt|desc" "count" => integer 15 ) "city" => array(1) ( "country" => string(2) "US" ) ) protected _destroyed => bool FALSE }{ public driver => string(3) "ORM" public hash_method => string(6) "sha256" public hash_key => string(16) "Ah2LIy37H4pofyur" public lifetime => integer 1209600 public session_type => string(8) "database" public session_key => string(9) "auth_user" public users => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
"bottom" => array(1) ( 0 => object Response(5){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _status => integer 200 protected _header => object HTTP_Header(0)
) "profiler" => array(0) "cart" => array(1) ( "total" => string(4) "0.00" ) "cdn" => object Config_Group(0){ }
protected _body => string(34446) "<!--googleoff: all--> <!--noindex--> <!--################################################################################### …" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
"contents" => array(0) "top_contents" => array(0) "left_sidebar" => array(0) "title" => string(14) "Новинки" "page" => array(3) ( "title" => string(0) "" "keywords" => string(0) "" "description" => string(0) "" ) "categories" => string(963) " <ul id='tree' class='treeview'> …" ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => string(39) "http://castorland.kiev.ua/catalog/45/10" protected _route => object Route(5)
public response => object Response(5){ protected _callback => NULL protected _uri => string(23) "catalog(/<id>(/<page>))" protected _regex => array(1) ( "id" => string(3) "\d+" ) protected _defaults => array(3) ( "directory" => string(4) "site" "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(58) "#^catalog(?:/(?P<id>\d+)(?:/(?P<page>[^/.,;?\n]++))?)?$#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(4) "site" protected _controller => string(7) "catalog" protected _action => string(5) "index" protected _uri => string(13) "catalog/45/10" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "45" "page" => string(2) "10" ) 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)
public auth => object MyAuth(4){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ protected _session => object Session_Database(11)
public id_cart => NULL public memcache => object Cache_Memcache(4){ protected _db => object Database_MySQL(6)
protected _config => object Config_Group(0){ protected _connection_id => string(40) "6f91364afb99a00e1169508e0d89132139cc0c47" protected _identifier => string(1) "`" public last_query => string(65) "SELECT `order`.* FROM `orders` AS `order` WHERE `cart_id` IS NULL" 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(8) "igrushki" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _table => string(8) "sessions" protected _columns => array(5) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" "user_agent" => string(10) "user_agent" "user_ip" => string(7) "user_ip" ) protected _gc => integer 2 protected _session_id => string(23) "66078771b34de5-55372988" protected _update_id => NULL protected _name => string(16) "session_database" protected _lifetime => integer 864000 protected _encrypted => bool FALSE protected _data => array(2) ( "ordering" => array(2) ( "type" => string(14) "stock_qnt|desc" "count" => integer 15 ) "city" => array(1) ( "country" => string(2) "US" ) ) protected _destroyed => bool FALSE }{ }
protected _auth => object Auth_ORM(2){ protected _session => object Session_Database(11)
protected _type => string(6) "native" }{ protected _db => object Database_MySQL(6)
protected _config => object Config_Group(7){ protected _connection_id => string(40) "6f91364afb99a00e1169508e0d89132139cc0c47" protected _identifier => string(1) "`" public last_query => string(65) "SELECT `order`.* FROM `orders` AS `order` WHERE `cart_id` IS NULL" 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(8) "igrushki" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
protected _table => string(8) "sessions" protected _columns => array(5) ( "session_id" => string(10) "session_id" "last_active" => string(11) "last_active" "contents" => string(8) "contents" "user_agent" => string(10) "user_agent" "user_ip" => string(7) "user_ip" ) protected _gc => integer 2 protected _session_id => string(23) "66078771b34de5-55372988" protected _update_id => NULL protected _name => string(16) "session_database" protected _lifetime => integer 864000 protected _encrypted => bool FALSE protected _data => array(2) ( "ordering" => array(2) ( "type" => string(14) "stock_qnt|desc" "count" => integer 15 ) "city" => array(1) ( "country" => string(2) "US" ) ) protected _destroyed => bool FALSE }{ public driver => string(3) "ORM" public hash_method => string(6) "sha256" public hash_key => string(16) "Ah2LIy37H4pofyur" public lifetime => integer 1209600 public session_type => string(8) "database" public session_key => string(9) "auth_user" public users => array(0) }
}{ protected _memcache => object Memcache(2)
public id => string(2) "45" public page => string(2) "10" public category => object Model_Categorie(40){ public connection => resource(memcache connection) public _failureCallback => array(2) ( 0 => object Cache_Memcache(4) { *RECURSION* } 1 => string(15) "_failed_request" ) }
protected _flags => bool FALSE protected _default_config => array(9) ( "host" => string(9) "localhost" "port" => integer 11211 "persistent" => bool FALSE "weight" => integer 1 "timeout" => integer 1 "retry_interval" => integer 15 "status" => bool TRUE "instant_death" => bool TRUE "failure_callback" => array(2) ( 0 => object Cache_Memcache(4) { *RECURSION* } 1 => string(15) "_failed_request" ) ) protected _config => array(5) ( "driver" => string(8) "memcache" "default_expire" => integer 86400 "compression" => bool FALSE "servers" => array(1) ( 0 => array(7) ( "host" => string(9) "localhost" "port" => integer 11211 "persistent" => bool FALSE "weight" => integer 1 "timeout" => integer 1 "retry_interval" => integer 15 "status" => bool TRUE ) ) "instant_death" => bool TRUE ) }{ public categories => NULL public left_column => string(4) "left" public right_column => string(5) "right" public level_column => string(5) "level" public scope_column => string(5) "scope" public parent_column => string(9) "parent_id" 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(18) ( "id" => string(2) "45" "name" => string(23) "1000 элементов" "keywords" => string(144) "пазлы,puzzles,купить пазлы,castorland,trefl,heye,1000 элементов,взрослые пазлы,магазин пазлов" "description" => string(215) "Пазлы на 1000 элементов. Купить в Киеве и Украине пазлы торговых марок Castorland, Trefl, HEYE в нашем интернет-магазине Castorl …" "category_description" => NULL "meta_title" => NULL "slug" => NULL "parent_name" => string(14) "Главная" "parent_id" => string(1) "2" "scope" => string(1) "0" "position" => string(1) "8" "left" => string(2) "19" "right" => string(2) "20" "level" => string(1) "2" "parent" => NULL "type" => NULL "status" => string(7) "publish" "product_count" => NULL ) protected _changed => array(0) protected _original_values => array(18) ( "id" => string(2) "45" "name" => string(23) "1000 элементов" "keywords" => string(144) "пазлы,puzzles,купить пазлы,castorland,trefl,heye,1000 элементов,взрослые пазлы,магазин пазлов" "description" => string(215) "Пазлы на 1000 элементов. Купить в Киеве и Украине пазлы торговых марок Castorland, Trefl, HEYE в нашем интернет-магазине Castorl …" "category_description" => NULL "meta_title" => NULL "slug" => NULL "parent_name" => string(14) "Главная" "parent_id" => string(1) "2" "scope" => string(1) "0" "position" => string(1) "8" "left" => string(2) "19" "right" => string(2) "20" "level" => string(1) "2" "parent" => NULL "type" => NULL "status" => string(7) "publish" "product_count" => NULL ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => array(1) ( "left" => string(3) "ASC" ) protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(9) "categorie" protected _object_plural => string(10) "categories" protected _table_name => string(10) "categories" protected _table_columns => array(18) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "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 TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "250" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "500" "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 4 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(20) "category_description" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "500" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slug" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "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" ) "parent_name" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "parent_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "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" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "parent_id" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(2) "55" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "scope" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "scope" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "position" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "position" "column_default" => string(1) "0" "data_type" => string(3) "int" "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" ) "left" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "left" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "right" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "right" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "level" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "level" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "parent" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "parent" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "type" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "type" "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" ) "status" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "status" "column_default" => string(7) "publish" "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "character_maximum_length" => string(2) "10" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "product_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(13) "product_count" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "display" => string(2) "10" "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(2) "45" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
public user => NULL }{ protected _connection_id => string(40) "6f91364afb99a00e1169508e0d89132139cc0c47" protected _identifier => string(1) "`" public last_query => string(65) "SELECT `order`.* FROM `orders` AS `order` WHERE `cart_id` IS NULL" 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(8) "igrushki" "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(9) "categorie" }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 FALSE protected _referrer => string(39) "http://castorland.kiev.ua/catalog/45/10" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(23) "catalog(/<id>(/<page>))" protected _regex => array(1) ( "id" => string(3) "\d+" ) protected _defaults => array(3) ( "directory" => string(4) "site" "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(58) "#^catalog(?:/(?P<id>\d+)(?:/(?P<page>[^/.,;?\n]++))?)?$#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(4) "site" protected _controller => string(7) "catalog" protected _action => string(5) "index" protected _uri => string(13) "catalog/45/10" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "45" "page" => string(2) "10" ) 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 FALSE protected _referrer => string(39) "http://castorland.kiev.ua/catalog/45/10" protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(23) "catalog(/<id>(/<page>))" protected _regex => array(1) ( "id" => string(3) "\d+" ) protected _defaults => array(3) ( "directory" => string(4) "site" "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(58) "#^catalog(?:/(?P<id>\d+)(?:/(?P<page>[^/.,;?\n]++))?)?$#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(4) "site" protected _controller => string(7) "catalog" protected _action => string(5) "index" protected _uri => string(13) "catalog/45/10" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "45" "page" => string(2) "10" ) 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 [ 109 ] » Kohana_Request->execute()
104 /** 105 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 106 * If no source is specified, the URI will be automatically detected. 107 */ 108 echo Request::factory() 109 ->execute() 110 ->send_headers() 111 ->body();