APPPATH/classes/Controller/Objects.php [ 90 ]
85 ->where('title_'.$this->request->param('lang'), '!=', '')
86 ->where('link_'.$this->request->param('lang'), '=', $this->request->param('id'))
87 ->where('status', '!=', ORM::STATUS_DRAFT)
88 ->find();
89
90 if(!$item->id) throw new HTTP_Exception_404();
91
92 $query =
93 DB::select('options.title_'.$this->request->param('lang'))
94 ->from('options')->join('objects_options')
95 ->on('options.id', '=', 'objects_options.option_id')
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Objects->action_item()
79 [':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 [ 94 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Objects(9)
{ public views => string(0) "" public template => object View(2)
{ protected _file => string(64) "/var/www/html/lafivents.lv/application/views/global/template.php" protected _data => array(0) }
public auto_render => bool TRUE protected section => object Model_Section(37){ protected _created_column => array(2) ( "column" => string(12) "date_created" "format" => string(11) "Y-m-d H:i:s" ) protected _updated_column => array(2) ( "column" => string(12) "date_updated" "format" => string(11) "Y-m-d H:i:s" ) protected _sorting => array(1) ( "list_order" => string(3) "ASC" ) protected _has_one => array(1) ( "textdoc" => array(2) ( "model" => string(7) "Textdoc" "foreign_key" => string(10) "section_id" ) ) protected _has_many => array(1) ( "images" => array(4) ( "model" => string(14) "Sections_Image" "foreign_key" => string(10) "section_id" "through" => NULL "far_key" => string(8) "image_id" ) ) protected _cmsEditAction => string(4) "view" protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(33) ( "id" => string(1) "2" "parent_id" => string(1) "0" "module_id" => string(7) "objects" "lang" => string(2) "lv" "controller" => string(0) "" "action" => string(0) "" "template" => string(0) "" "menu" => string(1) "1" "main_icon" => string(1) "0" "list_order" => string(1) "3" "user_id" => string(1) "6" "date_created" => string(19) "2014-09-05 13:09:16" "date_updated" => string(19) "2024-10-09 14:03:32" "title_lv" => string(7) "Objekti" "link_lv" => string(7) "objekti" "redirect_lv" => string(0) "" "target_lv" => string(0) "" "metadescription_lv" => string(0) "" "metakeywords_lv" => string(0) "" "title_en" => string(7) "Objects" "link_en" => string(7) "objects" "redirect_en" => string(0) "" "target_en" => string(0) "" "metadescription_en" => string(0) "" "metakeywords_en" => string(0) "" "intro_lv" => string(0) "" "intro_en" => string(0) "" "file_lv" => string(0) "" "file_en" => string(0) "" "config" => string(0) "" "status" => string(1) "3" "show_mobile" => string(1) "1" "image" => string(0) "" ) protected _changed => array(0) protected _original_values => array(33) ( "id" => string(1) "2" "parent_id" => string(1) "0" "module_id" => string(7) "objects" "lang" => string(2) "lv" "controller" => string(0) "" "action" => string(0) "" "template" => string(0) "" "menu" => string(1) "1" "main_icon" => string(1) "0" "list_order" => string(1) "3" "user_id" => string(1) "6" "date_created" => string(19) "2014-09-05 13:09:16" "date_updated" => string(19) "2024-10-09 14:03:32" "title_lv" => string(7) "Objekti" "link_lv" => string(7) "objekti" "redirect_lv" => string(0) "" "target_lv" => string(0) "" "metadescription_lv" => string(0) "" "metakeywords_lv" => string(0) "" "title_en" => string(7) "Objects" "link_en" => string(7) "objects" "redirect_en" => string(0) "" "target_en" => string(0) "" "metadescription_en" => string(0) "" "metakeywords_en" => string(0) "" "intro_lv" => string(0) "" "intro_en" => string(0) "" "file_lv" => string(0) "" "file_en" => string(0) "" "config" => string(0) "" "status" => string(1) "3" "show_mobile" => string(1) "1" "image" => string(0) "" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "section" protected _object_plural => string(8) "sections" protected _table_name => string(8) "sections" protected _table_columns => array(33) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "module_id" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "module_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "16" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(1) "2" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "controller" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "controller" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "action" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "action" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "template" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "template" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "menu" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "menu" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "main_icon" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "main_icon" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "list_order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "list_order" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "user_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "user_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_created" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_created" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_updated" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_updated" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "link_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "link_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "redirect_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "redirect_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "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" ) "target_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "target_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "character_maximum_length" => string(1) "8" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metadescription_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(18) "metadescription_lv" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metakeywords_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "metakeywords_lv" "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" ) "title_en" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "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" ) "link_en" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "link_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "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" ) "redirect_en" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "redirect_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "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" ) "target_en" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "target_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "character_maximum_length" => string(2) "16" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metadescription_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(18) "metadescription_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metakeywords_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "metakeywords_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "intro_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "intro_lv" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "intro_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "intro_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "file_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 28 "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" ) "file_en" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "file_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 29 "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" ) "config" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(6) "config" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 30 "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(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(6) "status" "column_default" => string(1) "2" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 31 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_mobile" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(11) "show_mobile" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "image" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "image" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "2" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
public request => object Request(19){ protected _connection_id => string(40) "af08063a4045497c88bb93116842bc58b616fe1a" protected _identifier => string(1) "`" public last_query => string(961) "SELECT `objects`.`id` AS `id`, `objects`.`section_id` AS `section_id`, `objects`.`status` AS `status`, `objects`.`rating` AS `ra …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(7) "section" protected _behaviors => array(0) protected _private_columns => bool FALSE }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(4) ( "hostname" => string(9) "localhost" "database" => string(12) "LafiventsWWW" "persistent" => bool FALSE "ssl" => NULL ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ 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(54) "_decoded/<lang>/<controller>/<action>/<section>(/<id>)" protected _regex => array(0) protected _defaults => array(2) ( "action" => string(5) "index" "host" => bool FALSE ) protected _route_regex => string(143) "#^_decoded/(?P<lang>[^/.,;?\n]++)/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)/(?P<section>[^/.,;?\n]++)(?:/(?P<id>[^/. …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Objects" protected _action => string(4) "item" protected _uri => string(53) "_decoded/lv/objects/item/2/celtniecibas-iela-8-livani" protected _external => bool FALSE protected _params => array(4) ( "lang" => string(2) "lv" "section" => string(1) "2" "id" => string(26) "celtniecibas-iela-8-livani" "host" => bool FALSE ) 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 parent_section => object Model_Section(37){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _created_column => array(2) ( "column" => string(12) "date_created" "format" => string(11) "Y-m-d H:i:s" ) protected _updated_column => array(2) ( "column" => string(12) "date_updated" "format" => string(11) "Y-m-d H:i:s" ) protected _sorting => array(1) ( "list_order" => string(3) "ASC" ) protected _has_one => array(1) ( "textdoc" => array(2) ( "model" => string(7) "Textdoc" "foreign_key" => string(10) "section_id" ) ) protected _has_many => array(1) ( "images" => array(4) ( "model" => string(14) "Sections_Image" "foreign_key" => string(10) "section_id" "through" => NULL "far_key" => string(8) "image_id" ) ) protected _cmsEditAction => string(4) "view" protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(33) ( "id" => string(1) "2" "parent_id" => string(1) "0" "module_id" => string(7) "objects" "lang" => string(2) "lv" "controller" => string(0) "" "action" => string(0) "" "template" => string(0) "" "menu" => string(1) "1" "main_icon" => string(1) "0" "list_order" => string(1) "3" "user_id" => string(1) "6" "date_created" => string(19) "2014-09-05 13:09:16" "date_updated" => string(19) "2024-10-09 14:03:32" "title_lv" => string(7) "Objekti" "link_lv" => string(7) "objekti" "redirect_lv" => string(0) "" "target_lv" => string(0) "" "metadescription_lv" => string(0) "" "metakeywords_lv" => string(0) "" "title_en" => string(7) "Objects" "link_en" => string(7) "objects" "redirect_en" => string(0) "" "target_en" => string(0) "" "metadescription_en" => string(0) "" "metakeywords_en" => string(0) "" "intro_lv" => string(0) "" "intro_en" => string(0) "" "file_lv" => string(0) "" "file_en" => string(0) "" "config" => string(0) "" "status" => string(1) "3" "show_mobile" => string(1) "1" "image" => string(0) "" ) protected _changed => array(0) protected _original_values => array(33) ( "id" => string(1) "2" "parent_id" => string(1) "0" "module_id" => string(7) "objects" "lang" => string(2) "lv" "controller" => string(0) "" "action" => string(0) "" "template" => string(0) "" "menu" => string(1) "1" "main_icon" => string(1) "0" "list_order" => string(1) "3" "user_id" => string(1) "6" "date_created" => string(19) "2014-09-05 13:09:16" "date_updated" => string(19) "2024-10-09 14:03:32" "title_lv" => string(7) "Objekti" "link_lv" => string(7) "objekti" "redirect_lv" => string(0) "" "target_lv" => string(0) "" "metadescription_lv" => string(0) "" "metakeywords_lv" => string(0) "" "title_en" => string(7) "Objects" "link_en" => string(7) "objects" "redirect_en" => string(0) "" "target_en" => string(0) "" "metadescription_en" => string(0) "" "metakeywords_en" => string(0) "" "intro_lv" => string(0) "" "intro_en" => string(0) "" "file_lv" => string(0) "" "file_en" => string(0) "" "config" => string(0) "" "status" => string(1) "3" "show_mobile" => string(1) "1" "image" => string(0) "" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "section" protected _object_plural => string(8) "sections" protected _table_name => string(8) "sections" protected _table_columns => array(33) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "module_id" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "module_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "16" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(1) "2" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "controller" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "controller" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "action" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "action" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "template" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "template" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "menu" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "menu" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "main_icon" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "main_icon" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "list_order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "list_order" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "user_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "user_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_created" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_created" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_updated" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_updated" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "link_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "link_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "redirect_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "redirect_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "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" ) "target_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "target_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "character_maximum_length" => string(1) "8" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metadescription_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(18) "metadescription_lv" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metakeywords_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "metakeywords_lv" "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" ) "title_en" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "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" ) "link_en" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "link_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "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" ) "redirect_en" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "redirect_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "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" ) "target_en" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "target_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "character_maximum_length" => string(2) "16" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metadescription_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(18) "metadescription_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metakeywords_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "metakeywords_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "intro_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "intro_lv" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "intro_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "intro_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "file_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 28 "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" ) "file_en" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "file_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 29 "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" ) "config" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(6) "config" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 30 "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(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(6) "status" "column_default" => string(1) "2" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 31 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_mobile" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(11) "show_mobile" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "image" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "image" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(1) "2" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
public menu => string(1) "1" public submenu => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "af08063a4045497c88bb93116842bc58b616fe1a" protected _identifier => string(1) "`" public last_query => string(961) "SELECT `objects`.`id` AS `id`, `objects`.`section_id` AS `section_id`, `objects`.`status` AS `status`, `objects`.`rating` AS `ra …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(7) "section" protected _behaviors => array(0) protected _private_columns => bool FALSE }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(4) ( "hostname" => string(9) "localhost" "database" => string(12) "LafiventsWWW" "persistent" => bool FALSE "ssl" => NULL ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _internal_row => integer 0 protected _query => string(1356) "SELECT `section`.`id` AS `id`, `section`.`parent_id` AS `parent_id`, `section`.`module_id` AS `module_id`, `section`.`lang` AS ` …" protected _result => object mysqli_result(5)
}{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 7 protected _current_row => integer 0 protected _as_object => string(13) "Model_Section" protected _object_params => NULL }89 90 // Create a new instance of the controller 91 $controller = $class->newInstance($request, $response); 92 93 // Run the controller's execute() method 94 $response = $class->getMethod('execute')->invoke($controller); 95 96 if ( ! $response instanceof Response) 97 { 98 // Controller failed to return a Response. 99 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(54) "_decoded/<lang>/<controller>/<action>/<section>(/<id>)" protected _regex => array(0) protected _defaults => array(2) ( "action" => string(5) "index" "host" => bool FALSE ) protected _route_regex => string(143) "#^_decoded/(?P<lang>[^/.,;?\n]++)/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)/(?P<section>[^/.,;?\n]++)(?:/(?P<id>[^/. …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Objects" protected _action => string(4) "item" protected _uri => string(53) "_decoded/lv/objects/item/2/celtniecibas-iela-8-livani" protected _external => bool FALSE protected _params => array(4) ( "lang" => string(2) "lv" "section" => string(1) "2" "id" => string(26) "celtniecibas-iela-8-livani" "host" => bool FALSE ) 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(['_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 [ 1000 ] » 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(54) "_decoded/<lang>/<controller>/<action>/<section>(/<id>)" protected _regex => array(0) protected _defaults => array(2) ( "action" => string(5) "index" "host" => bool FALSE ) protected _route_regex => string(143) "#^_decoded/(?P<lang>[^/.,;?\n]++)/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)/(?P<section>[^/.,;?\n]++)(?:/(?P<id>[^/. …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Objects" protected _action => string(4) "item" protected _uri => string(53) "_decoded/lv/objects/item/2/celtniecibas-iela-8-livani" protected _external => bool FALSE protected _params => array(4) ( "lang" => string(2) "lv" "section" => string(1) "2" "id" => string(26) "celtniecibas-iela-8-livani" "host" => bool FALSE ) 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) }
}995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * Can be used to test for sub requests.
-
APPPATH/classes/Controller/Decode.php [ 29 ] » Kohana_Request->execute()
24 'controller' => empty($section->controller) ? $section->module_id : $section->controller, 25 'action' => 'item', 26 'section' => $section->id, 27 'id' => $this->request->param('id') 28 ))) 29 ->execute() 30 ->send_headers() 31 ->body()); 32 } 33 } 34 ?>
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Decode->action_item()
79 [':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 [ 94 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Decode(6)
{ protected section => object Model_Section(37)
{ protected _created_column => array(2) ( "column" => string(12) "date_created" "format" => string(11) "Y-m-d H:i:s" ) protected _updated_column => array(2) ( "column" => string(12) "date_updated" "format" => string(11) "Y-m-d H:i:s" ) protected _sorting => array(1) ( "list_order" => string(3) "ASC" ) protected _has_one => array(1) ( "textdoc" => array(2) ( "model" => string(7) "Textdoc" "foreign_key" => string(10) "section_id" ) ) protected _has_many => array(1) ( "images" => array(4) ( "model" => string(14) "Sections_Image" "foreign_key" => string(10) "section_id" "through" => NULL "far_key" => string(8) "image_id" ) ) protected _cmsEditAction => string(4) "view" protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(33) ( "id" => NULL "parent_id" => NULL "module_id" => NULL "lang" => NULL "controller" => NULL "action" => NULL "template" => NULL "menu" => NULL "main_icon" => NULL "list_order" => NULL "user_id" => NULL "date_created" => NULL "date_updated" => NULL "title_lv" => NULL "link_lv" => NULL "redirect_lv" => NULL "target_lv" => NULL "metadescription_lv" => NULL "metakeywords_lv" => NULL "title_en" => NULL "link_en" => NULL "redirect_en" => NULL "target_en" => NULL "metadescription_en" => NULL "metakeywords_en" => NULL "intro_lv" => NULL "intro_en" => NULL "file_lv" => NULL "file_en" => NULL "config" => NULL "status" => NULL "show_mobile" => NULL "image" => 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 _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "section" protected _object_plural => string(8) "sections" protected _table_name => string(8) "sections" protected _table_columns => array(33) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "module_id" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "module_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "16" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(1) "2" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "controller" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "controller" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "action" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "action" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "template" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "template" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "menu" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "menu" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "main_icon" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "main_icon" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "list_order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "list_order" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "user_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "user_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_created" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_created" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_updated" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_updated" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "link_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "link_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "redirect_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "redirect_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "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" ) "target_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "target_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "character_maximum_length" => string(1) "8" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metadescription_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(18) "metadescription_lv" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metakeywords_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "metakeywords_lv" "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" ) "title_en" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "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" ) "link_en" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "link_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "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" ) "redirect_en" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "redirect_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "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" ) "target_en" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "target_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "character_maximum_length" => string(2) "16" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metadescription_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(18) "metadescription_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metakeywords_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "metakeywords_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "intro_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "intro_lv" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "intro_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "intro_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "file_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 28 "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" ) "file_en" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "file_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 29 "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" ) "config" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(6) "config" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 30 "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(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(6) "status" "column_default" => string(1) "2" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 31 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_mobile" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(11) "show_mobile" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "image" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "image" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) 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_MySQLi(6)
public request => object Request(19){ protected _connection_id => string(40) "af08063a4045497c88bb93116842bc58b616fe1a" protected _identifier => string(1) "`" public last_query => string(961) "SELECT `objects`.`id` AS `id`, `objects`.`section_id` AS `section_id`, `objects`.`status` AS `status`, `objects`.`rating` AS `ra …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(7) "section" protected _behaviors => array(0) protected _private_columns => bool FALSE }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(4) ( "hostname" => string(9) "localhost" "database" => string(12) "LafiventsWWW" "persistent" => bool FALSE "ssl" => NULL ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(23) "<lang>/<path>/<id>.html" protected _regex => array(2) ( "lang" => string(5) "lv|en" "path" => string(2) ".+" ) protected _defaults => array(3) ( "lang" => string(2) "lv" "controller" => string(6) "decode" "action" => string(4) "item" ) protected _route_regex => string(61) "#^(?P<lang>lv|en)/(?P<path>.+)/(?P<id>[^/.,;?\n]++)\.html$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Decode" protected _action => string(4) "item" protected _uri => string(42) "lv/objekti/celtniecibas-iela-8-livani.html" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "lv" "path" => string(7) "objekti" "id" => string(26) "celtniecibas-iela-8-livani" ) 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 parent_section => object Model_Section(37){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _created_column => array(2) ( "column" => string(12) "date_created" "format" => string(11) "Y-m-d H:i:s" ) protected _updated_column => array(2) ( "column" => string(12) "date_updated" "format" => string(11) "Y-m-d H:i:s" ) protected _sorting => array(1) ( "list_order" => string(3) "ASC" ) protected _has_one => array(1) ( "textdoc" => array(2) ( "model" => string(7) "Textdoc" "foreign_key" => string(10) "section_id" ) ) protected _has_many => array(1) ( "images" => array(4) ( "model" => string(14) "Sections_Image" "foreign_key" => string(10) "section_id" "through" => NULL "far_key" => string(8) "image_id" ) ) protected _cmsEditAction => string(4) "view" protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(33) ( "id" => NULL "parent_id" => NULL "module_id" => NULL "lang" => NULL "controller" => NULL "action" => NULL "template" => NULL "menu" => NULL "main_icon" => NULL "list_order" => NULL "user_id" => NULL "date_created" => NULL "date_updated" => NULL "title_lv" => NULL "link_lv" => NULL "redirect_lv" => NULL "target_lv" => NULL "metadescription_lv" => NULL "metakeywords_lv" => NULL "title_en" => NULL "link_en" => NULL "redirect_en" => NULL "target_en" => NULL "metadescription_en" => NULL "metakeywords_en" => NULL "intro_lv" => NULL "intro_en" => NULL "file_lv" => NULL "file_en" => NULL "config" => NULL "status" => NULL "show_mobile" => NULL "image" => 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 _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "section" protected _object_plural => string(8) "sections" protected _table_name => string(8) "sections" protected _table_columns => array(33) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "module_id" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "module_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "16" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(1) "2" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "controller" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "controller" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "action" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "action" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(2) "20" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "template" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "template" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "menu" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(4) "menu" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "main_icon" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "main_icon" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "list_order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "list_order" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "user_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "user_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_created" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_created" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_updated" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_updated" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "link_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "link_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "redirect_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "redirect_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "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" ) "target_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "target_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "character_maximum_length" => string(1) "8" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metadescription_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(18) "metadescription_lv" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metakeywords_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "metakeywords_lv" "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" ) "title_en" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "title_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "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" ) "link_en" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "link_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "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" ) "redirect_en" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "redirect_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "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" ) "target_en" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "target_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "character_maximum_length" => string(2) "16" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metadescription_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(18) "metadescription_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metakeywords_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(15) "metakeywords_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "intro_lv" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "intro_lv" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "intro_en" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(8) "intro_en" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_lv" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "file_lv" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 28 "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" ) "file_en" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "file_en" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 29 "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" ) "config" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(6) "config" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 30 "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(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(6) "status" "column_default" => string(1) "2" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 31 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_mobile" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(11) "show_mobile" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "image" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "image" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "character_maximum_length" => string(2) "64" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) 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_MySQLi(6)
public menu => NULL public submenu => object Database_MySQLi_Result(7){ protected _connection_id => string(40) "af08063a4045497c88bb93116842bc58b616fe1a" protected _identifier => string(1) "`" public last_query => string(961) "SELECT `objects`.`id` AS `id`, `objects`.`section_id` AS `section_id`, `objects`.`status` AS `status`, `objects`.`rating` AS `ra …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(7) "section" protected _behaviors => array(0) protected _private_columns => bool FALSE }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(4) ( "hostname" => string(9) "localhost" "database" => string(12) "LafiventsWWW" "persistent" => bool FALSE "ssl" => NULL ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _internal_row => integer 0 protected _query => string(1356) "SELECT `section`.`id` AS `id`, `section`.`parent_id` AS `parent_id`, `section`.`module_id` AS `module_id`, `section`.`lang` AS ` …" protected _result => object mysqli_result(5)
}{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 7 protected _current_row => integer 0 protected _as_object => string(13) "Model_Section" protected _object_params => NULL }89 90 // Create a new instance of the controller 91 $controller = $class->newInstance($request, $response); 92 93 // Run the controller's execute() method 94 $response = $class->getMethod('execute')->invoke($controller); 95 96 if ( ! $response instanceof Response) 97 { 98 // Controller failed to return a Response. 99 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 TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(23) "<lang>/<path>/<id>.html" protected _regex => array(2) ( "lang" => string(5) "lv|en" "path" => string(2) ".+" ) protected _defaults => array(3) ( "lang" => string(2) "lv" "controller" => string(6) "decode" "action" => string(4) "item" ) protected _route_regex => string(61) "#^(?P<lang>lv|en)/(?P<path>.+)/(?P<id>[^/.,;?\n]++)\.html$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Decode" protected _action => string(4) "item" protected _uri => string(42) "lv/objekti/celtniecibas-iela-8-livani.html" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "lv" "path" => string(7) "objekti" "id" => string(26) "celtniecibas-iela-8-livani" ) 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(['_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 [ 1000 ] » 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 TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(23) "<lang>/<path>/<id>.html" protected _regex => array(2) ( "lang" => string(5) "lv|en" "path" => string(2) ".+" ) protected _defaults => array(3) ( "lang" => string(2) "lv" "controller" => string(6) "decode" "action" => string(4) "item" ) protected _route_regex => string(61) "#^(?P<lang>lv|en)/(?P<path>.+)/(?P<id>[^/.,;?\n]++)\.html$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Decode" protected _action => string(4) "item" protected _uri => string(42) "lv/objekti/celtniecibas-iela-8-livani.html" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "lv" "path" => string(7) "objekti" "id" => string(26) "celtniecibas-iela-8-livani" ) 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) }
}995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * 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, [], FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }