APPPATH/classes/module.php [ 120 ]
115 $fields = new Fields($p['element_fields']);
116
117 $r = DB::select()->from($p['etable'])
118 ->where('isactive', '=', '1')->where('id', '=', $this->mdata['eid'])
119 ->execute()->as_array('id');
120 $elem = $r[$this->mdata['eid']];
121
122 $elem_process = $this->dynamic_process($elem, $fields, $p['element']);
123 $elem_process['href'] = $this->get_dynamic_href($p['id'], $elem['parent_id'], $elem['id']);
124 $elem_process['id'] = $elem['id'];
125 $elem_process['part_id'] = $p['id'];
-
APPPATH/classes/module.php [ 120 ] » Kohana_Core::error_handler()
115 $fields = new Fields($p['element_fields']); 116 117 $r = DB::select()->from($p['etable']) 118 ->where('isactive', '=', '1')->where('id', '=', $this->mdata['eid']) 119 ->execute()->as_array('id'); 120 $elem = $r[$this->mdata['eid']]; 121 122 $elem_process = $this->dynamic_process($elem, $fields, $p['element']); 123 $elem_process['href'] = $this->get_dynamic_href($p['id'], $elem['parent_id'], $elem['id']); 124 $elem_process['id'] = $elem['id']; 125 $elem_process['part_id'] = $p['id'];
-
APPPATH/classes/module.php [ 89 ] » Module->get_dynamic_element()
84 * Генерация контента модуля "dynamic" 85 */ 86 protected function set_dynamic_page_content(){ 87 88 if ($this->mdata['id'] AND $this->mdata['cid'] AND $this->mdata['eid']){ 89 $this->module_content = $this->get_dynamic_element(); 90 } 91 else if ($this->mdata['id'] AND $this->mdata['cid']){ 92 $this->module_content = $this->get_dynamic_catalog(); 93 } 94 else{
-
APPPATH/classes/module.php [ 46 ] » Module->set_dynamic_page_content()
41 break; 42 case 'catalog': 43 $this->set_catalog_page_content(); 44 break; 45 case 'dynamic': 46 $this->set_dynamic_page_content(); 47 break; 48 } 49 50 if ($this->error_404) 51 return false;
-
MODPATH/gengine/classes/controller/module.php [ 55 ] » Module->get_page_content()
50 $this->module->fill_navigation(); 51 } 52 53 public function action_index() 54 { 55 if ( ! ($this->content = $this->module->get_page_content()) ) 56 throw new Kohana_Exception404; 57 } 58 59 public function action_short() 60 {
-
{PHP internal call} » Controller_Module->action_index(arguments)
0
string(2) "18"
1
string(0) ""
2
string(0) ""
3
string(0) ""
4
string(1) "2"
5
string(2) "41"
6
string(7) "catalog"
-
SYSPATH/classes/kohana/request.php [ 863 ] » ReflectionMethod->invokeArgs(arguments)
object
object Controller_Catalog(35)
{ protected module => object Catalog_Module(24)
{ protected price_type => NULL private price_title => NULL protected mdata => array(4) ( "id" => integer 18 "cid" => string(1) "2" "eid" => string(2) "41" "property" => array(9) ( 7 => array(7) ( "id" => integer 7 "ctable" => string(15) "gmod_catalog_c7" "etable" => string(15) "gmod_catalog_e7" "catalog" => array(5) ( ... ) "element" => array(12) ( ... ) "catalog_fields" => array(5) ( ... ) "element_fields" => array(16) ( ... ) ) 18 => array(7) ( "id" => integer 18 "ctable" => string(16) "gmod_catalog_c18" "etable" => string(16) "gmod_catalog_e18" "catalog" => array(5) ( ... ) "element" => array(12) ( ... ) "catalog_fields" => array(5) ( ... ) "element_fields" => array(42) ( ... ) ) 8 => array(7) ( "id" => integer 8 "ctable" => string(15) "gmod_catalog_c8" "etable" => string(15) "gmod_catalog_e8" "catalog" => array(5) ( ... ) "element" => array(12) ( ... ) "catalog_fields" => array(5) ( ... ) "element_fields" => array(13) ( ... ) ) 16 => array(7) ( "id" => integer 16 "ctable" => string(16) "gmod_catalog_c16" "etable" => string(16) "gmod_catalog_e16" "catalog" => array(5) ( ... ) "element" => array(12) ( ... ) "catalog_fields" => array(5) ( ... ) "element_fields" => array(14) ( ... ) ) 10 => array(7) ( "id" => integer 10 "ctable" => string(16) "gmod_catalog_c10" "etable" => string(16) "gmod_catalog_e10" "catalog" => array(5) ( ... ) "element" => array(12) ( ... ) "catalog_fields" => array(5) ( ... ) "element_fields" => array(13) ( ... ) ) 11 => array(7) ( "id" => integer 11 "ctable" => string(16) "gmod_catalog_c11" "etable" => string(16) "gmod_catalog_e11" "catalog" => array(5) ( ... ) "element" => array(12) ( ... ) "catalog_fields" => array(5) ( ... ) "element_fields" => array(13) ( ... ) ) 12 => array(7) ( "id" => integer 12 "ctable" => string(16) "gmod_catalog_c12" "etable" => string(16) "gmod_catalog_e12" "catalog" => array(5) ( ... ) "element" => array(12) ( ... ) "catalog_fields" => array(5) ( ... ) "element_fields" => array(18) ( ... ) ) 13 => array(7) ( "id" => integer 13 "ctable" => string(16) "gmod_catalog_c13" "etable" => string(16) "gmod_catalog_e13" "catalog" => array(5) ( ... ) "element" => array(12) ( ... ) "catalog_fields" => array(5) ( ... ) "element_fields" => array(14) ( ... ) ) 15 => array(7) ( "id" => integer 15 "ctable" => string(16) "gmod_catalog_c15" "etable" => string(16) "gmod_catalog_e15" "catalog" => array(5) ( ... ) "element" => array(12) ( ... ) "catalog_fields" => array(5) ( ... ) "element_fields" => array(13) ( ... ) ) ) ) protected config => array(7) ( "name" => string(7) "catalog" "type" => string(7) "dynamic" "title" => string(14) "Каталог" "caption_field" => string(7) "caption" "maxnum" => string(1) "0" "controller" => string(7) "catalog" "value" => string(3) " " ) protected module => string(7) "catalog" protected id => integer 18 protected page => integer 1 protected type => string(7) "dynamic" protected template_dir => string(15) "module/catalog/" protected type_view => bool FALSE protected module_content => string(0) "" protected pagination => string(0) "" protected model => object Model_Content(37)
protected _submenu_id => integer 1 public menu => string(0) "" public poll => string(0) "" public office => string(0) "" public basket => string(0) "" public csearch => array(0) public block_adviser => string(0) "" public block_news => string(0) "" public block_article => string(0) "" public block_action => string(0) "" public block_cat => string(0) "" public block_main_text => string(0) "" public block_bottom_text => string(0) "" public block_cat_new => string(0) "" public block_brands => string(0) "" public block_novelty => string(0) "" public price_type => string(0) "" public template => object View(5){ protected config => NULL protected sort => NULL protected _has_one => array(1) ( "module" => array(2) ( "model" => string(7) "sitemap" "foreign_key" => string(7) "item_id" ) ) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validate => NULL protected _rules => array(0) protected _callbacks => array(0) protected _filters => array(0) protected _labels => array(0) protected _object => array(8) ( "id" => integer 0 "caption" => string(0) "" "cat_property" => string(0) "" "elem_property" => string(0) "" "cat_table" => string(0) "" "elem_table" => string(0) "" "outorder" => integer 0 "user_id" => integer 0 ) protected _changed => array(0) protected _related => array(0) protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => array(1) ( "id" => string(3) "ASC" ) protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "content" protected _object_plural => string(8) "contents" protected _table_name => string(12) "gmod_catalog" protected _table_columns => array(8) ( "id" => array(8) ( "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 ) "caption" => array(7) ( "type" => string(6) "string" "column_name" => string(7) "caption" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" ) "cat_property" => array(7) ( "type" => string(6) "string" "column_name" => string(12) "cat_property" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => integer 65535 ) "elem_property" => array(7) ( "type" => string(6) "string" "column_name" => string(13) "elem_property" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => integer 65535 ) "cat_table" => array(7) ( "type" => string(6) "string" "column_name" => string(9) "cat_table" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" ) "elem_table" => array(7) ( "type" => string(6) "string" "column_name" => string(10) "elem_table" "column_default" => string(0) "" "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" ) "outorder" => array(8) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "outorder" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 7 ) "user_id" => array(8) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "user_id" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 ) ) protected _ignored_columns => array(0) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_val => string(4) "name" protected _foreign_key => array(0) protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(5)
protected model_element => NULL protected fields => NULL protected limit => string(0) "" protected p1 => string(1) "2" protected p2 => string(2) "41" protected p3 => NULL protected keywords => string(0) "" protected description => string(0) "" protected title => string(14) "Каталог" protected navigation => array(3) ( 0 => array(2) ( "title" => string(14) "Каталог" "url" => string(8) "/catalog" ) 1 => array(2) ( "title" => string(49) "СТРУЙНЫЕ ПРИНТЕРЫ и МФУ EPSON" "url" => string(14) "/catalog/18/$2" ) 2 => array(2) ( "title" => string(12) "МФУ EPSON" "url" => string(14) "/catalog/18/$2" ) ) protected error_404 => bool FALSE }{ protected _identifier => string(1) "`" public last_query => string(71) "SELECT * FROM `gmod_catalog_e18` WHERE `isactive` = '1' AND `id` = '41'" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "mysql" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE "profiling" => bool TRUE ) }
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 _preload_data => array(0) }{ protected _renderer => string(6) "parent" protected _default_renderer => string(6) "parent" protected _config => object Kohana_Config_File(2)
public title => string(10) "Site Title" public description => string(0) "" public keywords => string(0) "" public js => string(0) "" public css => string(0) "" public navigation => string(0) "" public content => string(12) "Site Content" public debug => string(0) "" private _js => array(8) ( 0 => string(23) "/rs/js/mootools_core.js" 1 => string(23) "/rs/js/mootools_more.js" 2 => string(19) "/rs/js/swfobject.js" 3 => string(16) "/rs/js/window.js" 4 => string(17) "/rs/js/gengine.js" 5 => string(14) "/rs/js/main.js" 6 => string(30) "/rs/app/highslide/highslide.js" 7 => string(34) "/rs/app/highslide/highslide.cfg.js" ) private _css => array(3) ( 0 => string(17) "/rs/css/style.css" 1 => string(18) "/rs/css/window.css" 2 => string(31) "/rs/app/highslide/highslide.css" ) private _title => array(2) ( 0 => string(15) "Tiger Computers" 1 => string(14) "Каталог" ) private _keywords => array(2) ( 0 => string(39) "расходники картриджи" 1 => string(0) "" ) private _description => array(2) ( 0 => string(26) "наш новый сайт" 1 => string(0) "" ) private _navigation => array(4) ( 0 => array(2) ( "title" => string(14) "Главная" "href" => string(1) "/" ) 1 => array(2) ( "title" => string(14) "Каталог" "href" => string(8) "/catalog" ) 2 => array(2) ( "title" => string(49) "СТРУЙНЫЕ ПРИНТЕРЫ и МФУ EPSON" "href" => string(14) "/catalog/18/$2" ) 3 => array(2) ( "title" => string(12) "МФУ EPSON" "href" => string(14) "/catalog/18/$2" ) ) public auto_render => bool TRUE public request => object Request(9){ public extensions => array(3) ( "smarty" => string(3) "tpl" "text" => bool TRUE "json" => bool TRUE ) public expose => array(2) ( 0 => string(5) "title" 1 => string(7) "content" ) }
protected _file => string(56) "/home/t/tigertru/public_html/application/views/index.php" protected _data => array(23) ( "title" => string(10) "Site Title" "description" => string(0) "" "keywords" => string(0) "" "js" => string(0) "" "css" => string(0) "" "navigation" => string(0) "" "content" => string(12) "Site Content" "debug" => string(0) "" "menu" => string(0) "" "poll" => string(0) "" "office" => string(0) "" "basket" => string(0) "" "csearch" => array(0) "block_adviser" => string(0) "" "block_news" => string(0) "" "block_article" => string(0) "" "block_cat" => string(0) "" "block_action" => string(0) "" "block_cat_new" => string(0) "" "block_main_text" => string(0) "" "block_bottom_text" => string(0) "" "block_novelty" => string(0) "" "block_brands" => string(0) "" ) }{ public route => object Route(4)
}{ protected _uri => string(100) "catalog(/<id>)(/<action>)(/p<page>)(/*<template>)(/s<limit>)(/$<p1>(/$<p2>(/$<p3>(/$<p4>(/$<p5>)))))" protected _regex => array(4) ( "id" => string(3) "\d+" "page" => string(3) "\d+" "action" => string(9) "[a-zA-Z]+" "limit" => string(3) "\d+" ) protected _defaults => array(3) ( "module" => string(7) "catalog" "controller" => string(7) "catalog" "action" => string(5) "index" ) protected _route_regex => string(258) "#^catalog(?:/(?P
public status => integer 500 public response => string(0) "" public headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) public directory => string(0) "" public controller => string(7) "catalog" public action => string(5) "index" public uri => string(17) "catalog/18/$2/$41" protected _params => array(7) ( "id" => string(2) "18" "page" => string(0) "" "template" => string(0) "" "limit" => string(0) "" "p1" => string(1) "2" "p2" => string(2) "41" "module" => string(7) "catalog" ) }\d+))?(?:/(?P [a-zA-Z]+))?(?:/p(?P \d+))?(?:/\*(?P[^/.,;?]++))?(?:/s(?P \d+))?(?:/\$(?P [^/.,;?]++)(?:/\$(?P [^/.,;?]++)(?:/\$(?P [^/.,;?]++)(?:/\$(?P [^/.,;?]++)(?:/\$(?P [^/.,;?]++))?)?)?)?)?$#" } args
array(7) ( "id" => string(2) "18" "page" => string(0) "" "template" => string(0) "" "limit" => string(0) "" "p1" => string(1) "2" "p2" => string(2) "41" "module" => string(7) "catalog" )
858 859 // Determine the action to use 860 $action = empty($this->action) ? Route::$default_action : $this->action; 861 862 // Execute the main action with the parameters 863 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 864 865 // Execute the "after action" method 866 $class->getMethod('after')->invoke($controller); 867 } 868 catch (Exception $e)
-
APPPATH/bootstrap.php [ 126 ] » Kohana_Request->execute()
121 * If no source is specified, the URI will be automatically detected. 122 */ 123 $request = Request::instance(); 124 125 try{ 126 $request->execute(); 127 } 128 catch (Kohana_Exception404 $e){ 129 $request = Request::factory('error/404')->execute(); 130 /* 131 $request = Request::factory('default', array(
-
DOCROOT/index.php [ 106 ] » require(arguments)
0
string(54) "/home/t/tigertru/public_html/application/bootstrap.php"
101 // Load empty core extension 102 require SYSPATH.'classes/kohana'.EXT; 103 } 104 105 // Bootstrap the application 106 require APPPATH.'bootstrap'.EXT;