macros/system/libraries/drivers/Database/Mysqli.php [ 148 ]
143 $this->link = $link;
144
145 if ( ! $this->link->multi_query($sql))
146 {
147 // SQL error
148 throw new Kohana_Database_Exception('database.error', $this->link->error.' - '.$sql);
149 }
150 else
151 {
152 $this->result = $this->link->store_result();
153
-
SYSPATH/libraries/drivers/Database/Mysqli.php [ 96 ] edit » Kohana_Mysqli_Result->__construct(arguments)
0
object mysqli(19)
{ 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 }
1
bool TRUE
2
string(30) "SHOW COLUMNS FROM `categories`"
91 92 // Return the cached query 93 return $this->query_cache[$hash]; 94 } 95 96 return new Kohana_Mysqli_Result($this->link, $this->db_config['object'], $sql); 97 } 98 99 public function set_charset($charset) 100 { 101 if ($this->link->set_charset($charset) === FALSE)
-
SYSPATH/libraries/drivers/Database/Mysql.php [ 371 ] edit » Database_Mysqli_Driver->query(arguments)
0
string(30) "SHOW COLUMNS FROM `categories`"
366 return $result; 367 } 368 369 public function field_data($table) 370 { 371 $result = $this->query('SHOW COLUMNS FROM '.$this->escape_table($table)); 372 373 return $result->result_array(TRUE); 374 } 375 376 } // End Database_Mysql_Driver Class
-
SYSPATH/libraries/drivers/Database/Mysql.php [ 345 ] edit » Database_Mysql_Driver->field_data(arguments)
0
string(10) "categories"
340 341 public function list_fields($table) 342 { 343 $result = NULL; 344 345 foreach ($this->field_data($table) as $row) 346 { 347 // Make an associative array 348 $result[$row->Field] = $this->sql_type($row->Type); 349 350 if ($row->Key === 'PRI' AND $row->Extra === 'auto_increment')
-
SYSPATH/libraries/Database.php [ 1265 ] edit » Database_Mysql_Driver->list_fields(arguments)
0
string(10) "categories"
1260 */ 1261 public function list_fields($table = '') 1262 { 1263 $this->link or $this->connect(); 1264 1265 return $this->driver->list_fields($this->config['table_prefix'].$table); 1266 } 1267 1268 /** 1269 * Escapes a value for a query. 1270 *
-
SYSPATH/libraries/ORM.php [ 1044 ] edit » Database_Core->list_fields(arguments)
0
string(10) "categories"
1039 { 1040 $table = $this->table_name; 1041 } 1042 1043 // Proxy to database 1044 return $this->db->list_fields($table); 1045 } 1046 1047 /** 1048 * Proxy method to Database field_data. 1049 *
-
SYSPATH/libraries/ORM.php [ 914 ] edit » ORM_Core->list_fields()
909 $this->table_columns = ORM::$column_cache[$this->object_name]; 910 } 911 else 912 { 913 // Load table columns 914 ORM::$column_cache[$this->object_name] = $this->table_columns = $this->list_fields(); 915 } 916 } 917 918 return $this; 919 }
-
SYSPATH/libraries/ORM.php [ 154 ] edit » ORM_Core->reload_columns()
149 // Make the ignored columns mirrored = mirrored 150 $this->ignored_columns = array_combine($this->ignored_columns, $this->ignored_columns); 151 } 152 153 // Load column information 154 $this->reload_columns(); 155 } 156 157 /** 158 * Allows serialization of only the object data and state, to prevent 159 * "stale" objects being unserialized, which also requires less memory.
-
SYSPATH/libraries/ORM.php [ 104 ] edit » ORM_Core->__initialize()
99 // Default sorting 100 $this->sorting = array($this->primary_key => 'asc'); 101 } 102 103 // Initialize database 104 $this->__initialize(); 105 106 // Clear the object 107 $this->clear(); 108 109 if (is_object($id))
-
MODPATH/core/libraries/MY_ORM.php [ 38 ] edit » ORM_Core->__construct(arguments)
0
NULL
33 * Description: 34 * Funkce pri nacteni modelu 35 */ 36 public function __construct($id = null) 37 { 38 parent::__construct($id); 39 // nacte do promenne original_values vychozi hodnoty po nacteni modelu 40 $this->reload_original(); 41 } 42 43 /**
-
MODPATH/core/libraries/MY_ORM.php [ 60 ] edit » ORM->__construct(arguments)
0
NULL
55 56 if (!class_exists($model)) { 57 throw new Kohana_Exception('Model ' . $model_name . ' does not exists.'); 58 } 59 60 return new $model($id); 61 } 62 63 /** 64 * __get($column); 65 * Author: Josef Traxler
-
MODPATH/presenter/libraries/drivers/Presenter/Menu/Category.php [ 78 ] edit » ORM::factory(arguments)
0
string(18) "Presenter_Category"
73 return Presenter_Category::instance()->model(); 74 } 75 76 protected function _init() 77 { 78 $this->_model = ORM::factory('Presenter_Category')->where('visible', 1)->orderby('lft', 'Asc'); 79 } 80 }
-
MODPATH/presenter/libraries/drivers/Presenter/Menu.php [ 121 ] edit » Presenter_Menu_Category_Driver->_init()
116 117 $this->_menu_instance = $menu; 118 119 $this->_name = substr(get_class($this), 15, -7); 120 121 $this->_init(); 122 } 123 124 125 public function __toString() 126 {
-
MODPATH/presenter/libraries/Presenter_Menu.php [ 74 ] edit » Presenter_Menu_Driver->__construct(arguments)
0
object Presenter_Menu(3)
{ protected _name => string(8) "category" protected _config => array(7) ( "model" => string(8) "category" "show_all_subcategories" => bool FALSE "caching" => bool TRUE "driver" => string(8) "category" "js" => array(1) ( 0 => string(36) "presenter_menu/categories_alza_style" ) "css" => array(1) ( 0 => string(36) "presenter_menu/categories_alza_style" ) "on:init" => string(32) "AppPresenter::init_category_menu" ) protected _driver => NULL }
69 70 protected function _init_driver($driver_name) 71 { 72 $driver_class = 'Presenter_Menu_' . ucfirst($driver_name) . '_Driver'; 73 74 $this->_driver = new $driver_class($this); 75 76 return $this; 77 } 78 79 /**
-
MODPATH/presenter/libraries/Presenter_Menu.php [ 102 ] edit » Presenter_Menu->_init_driver(arguments)
0
string(8) "category"
97 { 98 $this->_name = $name; 99 100 $this->_config = is_array($config) ? $config : (array) Kohana::config('presenter_menu.' . ( $config ?: $name )); 101 102 $this->_init_driver($this->config('driver', 'default')); 103 104 $this->trigger('init', $this); 105 } 106 107 public function __call($name, $arguments)
-
MODPATH/presenter/libraries/Presenter.php [ 132 ] edit » Presenter_Menu->__construct(arguments)
0
string(8) "category"
1
NULL
127 * @param string $name 128 * @return Presenter_Menu 129 */ 130 public static function menu($name, $config = null) 131 { 132 return new Presenter_Menu($name, $config); 133 134 $name = strtolower($name); 135 $instance = static::instance(); 136 if (! isset($instance->_menus[$name])) { 137 $config = (array) Kohana::config('presenter_menu');
-
{PHP internal call} » Presenter_Core::menu(arguments)
name
string(8) "category"
-
DOCROOT/macros/helpers.php [ 86 ] edit » call_user_func_array(arguments)
function_name
string(15) "Presenter::menu"
parameters
array(1) ( 0 => string(8) "category" )
81 * @param string $name 82 * @param mixed $_ Additional params 83 * @return Presenter_Menu_Driver 84 */ 85 function menu($name, $_ = NULL){ 86 return call_user_func_array('Presenter::menu', func_get_args()); 87 } 88 89 /** 90 * Alias pro prace s Cache pameti 91 * @example cache() Alias of Cache::instance();// no input parameter
-
APPPATH/libraries/MY_PresenterLayout.php [ 7 ] edit » menu(arguments)
name
string(8) "category"
2 3 class PresenterLayout extends PresenterLayout_Core 4 { 5 6 protected function init() { 7 $category_menu = menu( 'category' ); 8 9 $this->set(array( 10 // Hlavni logo 11 'logo' => module( 'logo' )->render(), 12 // Telefon
-
MODPATH/presenter/libraries/PresenterLayout.php [ 213 ] edit » PresenterLayout->init()
208 { 209 $this->web = Web::instance(); 210 211 $this->initStylesAndScripts(); 212 213 $this->init(); 214 } 215 } 216 217 if (false) { 218 class PresenterLayout extends PresenterLayout_Core
-
MODPATH/presenter/libraries/PresenterController.php [ 29 ] edit » PresenterLayout_Core->__construct()
24 25 public function __construct() 26 { 27 parent::__construct(); 28 29 $this->_layout = new PresenterLayout(); 30 31 $this->_breadcrumbs = Presenter::module('breadcrumbs'); 32 33 // if ( in_array( request::method(), [ 'post', 'put', 'delete' ] ) && Kohana::config('presenter.csrf') && ! CSRF::verify() ){ 34 // throw new Permission_Exception('Vznikla chyba při ověřování Vašeho požadavku. Opakujte akci, pokud se chyba bude opakovat, kontaktujte prosím správce webu.', url::referer_uri());
-
{PHP internal call} » PresenterController_Core->__construct()
-
MODPATH/core/libraries/Router.php [ 380 ] edit » ReflectionClass->newInstance()
375 376 // Run system.pre_controller 377 //Event::run('system.pre_controller'); 378 379 // Create a new controller instance 380 $_controller = $class->newInstance(); 381 382 // Controller constructor has been executed 383 if ($uri === null) { 384 Event::run('system.post_controller_constructor'); 385 }
-
SYSPATH/core/Kohana.php [ 239 ] edit » Router_Core::execute()
234 */ 235 public static function & instance() 236 { 237 if (self::$instance === NULL) 238 { 239 Router::execute(); 240 } 241 242 return self::$instance; 243 } 244
-
{PHP internal call} » Kohana::instance()
-
SYSPATH/core/Event.php [ 209 ] edit » call_user_func(arguments)
function_name
array(2) ( 0 => string(6) "Kohana" 1 => string(8) "instance" )
204 self::$data =& $data; 205 $callbacks = self::get($name); 206 207 foreach ($callbacks as $callback) 208 { 209 call_user_func($callback); 210 } 211 212 // Do this to prevent data from getting 'stuck' 213 $clear_data = ''; 214 self::$data =& $clear_data;
-
SYSPATH/core/Bootstrap.php [ 62 ] edit » Event::run(arguments)
0
string(14) "system.execute"
57 58 // End system_initialization 59 Benchmark::stop(SYSTEM_BENCHMARK.'_system_initialization'); 60 61 // Make the magic happen! 62 Event::run('system.execute'); 63 64 // Clean up and exit 65 Event::run('system.shutdown'); 66 67 // Na 32bitove verzi PHP to koliduje, protože to pracuje s 64bit verzi PHP
-
DOCROOT/macros/bootstrap.php [ 58 ] edit » require(arguments)
0
string(69) "/www/hosting/mobytexpovleceni.cz/www/macros/system/core/Bootstrap.php"
53 // Defaultni definice promennych 54 require_once(MACROSPATH . 'ini' . EXT); 55 56 bfr_clean(); 57 58 require SYSPATH . 'core/Bootstrap' . EXT;
-
DOCROOT/index.php [ 9 ] edit » require(arguments)
0
string(57) "/www/hosting/mobytexpovleceni.cz/www/macros/bootstrap.php"
4 5 $macros_path = 'macros/'; 6 7 //ini_set('display_errors',true ); 8 9 return require $macros_path . 'bootstrap.php';