MODPATH/database/classes/Kohana/Database/MySQL.php [ 67 ]
62 catch (Exception $e)
63 {
64 // No connection exists
65 $this->_connection = NULL;
66
67 throw new Database_Exception(':error',
68 array(':error' => $e->getMessage()),
69 $e->getCode());
70 }
71
72 // \xFF is a better delimiter, but the PHP driver uses underscore
-
MODPATH/database/classes/Kohana/Database/MySQL.php [ 171 ] » Kohana_Database_MySQL->connect()
166 } 167 168 public function query($type, $sql, $as_object = FALSE, array $params = NULL) 169 { 170 // Make sure the database is connected 171 $this->_connection or $this->connect(); 172 173 if (Kohana::$profiling) 174 { 175 // Benchmark this query for the current instance 176 $benchmark = Profiler::start("Database ({$this->_instance})", $sql); -
MODPATH/database/classes/Kohana/Database/MySQL.php [ 358 ] » Kohana_Database_MySQL->query(arguments)
0integer 1
1string(33) "SHOW FULL COLUMNS FROM `lg_users`"2bool FALSE
353 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table.' LIKE '.$this->quote($like), FALSE); 354 } 355 else 356 { 357 // Find all column names 358 $result = $this->query(Database::SELECT, 'SHOW FULL COLUMNS FROM '.$table, FALSE); 359 } 360 361 $count = 0; 362 $columns = array(); 363 foreach ($result as $row) -
MODPATH/orm/classes/Kohana/ORM.php [ 1665 ] » Kohana_Database_MySQL->list_columns(arguments)
0string(5) "users"1660 * @return array 1661 */ 1662 public function list_columns() 1663 { 1664 // Proxy to database 1665 return $this->_db->list_columns($this->_table_name); 1666 } 1667 1668 /** 1669 * Returns an ORM model for the given one-one related alias 1670 * -
MODPATH/orm/classes/Kohana/ORM.php [ 441 ] » Kohana_ORM->list_columns()
436 $this->_table_columns = ORM::$_column_cache[$this->_object_name]; 437 } 438 else 439 { 440 // Grab column information from database 441 $this->_table_columns = $this->list_columns(); 442 443 // Load column cache 444 ORM::$_column_cache[$this->_object_name] = $this->_table_columns; 445 } 446 } -
MODPATH/orm/classes/Kohana/ORM.php [ 386 ] » Kohana_ORM->reload_columns()
381 { 382 $this->{$property} = $value; 383 } 384 385 // Load column information 386 $this->reload_columns(); 387 388 // Clear initial model state 389 $this->clear(); 390 } 391 -
MODPATH/orm/classes/Kohana/ORM.php [ 254 ] » Kohana_ORM->_initialize()
249 * 250 * @param mixed $id Parameter for find or object to load 251 */ 252 public function __construct($id = NULL) 253 { 254 $this->_initialize(); 255 256 if ($id !== NULL) 257 { 258 if (is_array($id)) 259 { -
MODPATH/orm/classes/Kohana/ORM.php [ 46 ] » Kohana_ORM->__construct(arguments)
0NULL
41 public static function factory($model, $id = NULL) 42 { 43 // Set class name 44 $model = 'Model_'.$model; 45 46 return new $model($id); 47 } 48 49 /** 50 * "Has one" relationships 51 * @var array -
MODPATH/lg/common/classes/Data/User.php [ 51 ] » Kohana_ORM::factory(arguments)
0string(4) "User"46 { 47 $this->ormUser = $object; 48 } 49 else 50 { 51 $this->ormUser = ORM::factory($this->_model); 52 } 53 } 54 55 56 public function object() -
MODPATH/lg/common/classes/Data/CurrentUser.php [ 13 ] » Data_User->__construct(arguments)
0NULL
8 */ 9 public static function get($id = null) 10 { 11 $orm = Auth::instance()->get_user(); 12 13 return new Data_CurrentUser($orm); 14 } 15 16 public function role_names($show_login = false) 17 { 18 -
MODPATH/lg/common/init.php [ 18 ] » Data_CurrentUser::get()
13 ->set('order',9999) 14 ; 15 16 $menu = Menu::factory('admin'); 17 18 if(Data_CurrentUser::get()->can('AccessSUSection')) 19 { 20 $menu->addChild('su'); 21 } -
SYSPATH/classes/Kohana/Core.php [ 603 ] » require_once(arguments)
0string(82) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/common/init.php"598 $init = $path.'init'.EXT; 599 600 if (is_file($init)) 601 { 602 // Include the module initialization file once 603 require_once $init; 604 } 605 } 606 607 return Kohana::$_modules; 608 } -
APPPATH/modules.php [ 79 ] » Kohana_Core::modules(arguments)
0array(47) ( "lg-error-pages" => string(78) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/error-pages" "lg-sheets-mobile" => string(80) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/sheets-mobile" "lg-users-scheduling" => string(83) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/users-scheduling" "lg-users-tracking" => string(81) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/users-tracking" "lg-auth" => string(71) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/auth" "lg-dashboard" => string(76) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/dashboard" "lg-common" => string(73) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/common" "lg-users" => string(72) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/users" "lg-shops" => string(72) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/shops" "lg-cities" => string(73) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/cities" "lg-products" => string(75) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/products" "lg-attributes" => string(77) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/attributes" "lg-sheets" => string(73) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/sheets" "lg-training_mats" => string(85) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/training_materials" "lg-trainings" => string(76) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/trainings" "lg-dedicated-displays" => string(85) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/dedicated_displays" "lg-catalogs" => string(75) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/catalogs" "lg-orders" => string(73) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/orders" "toolbox" => string(74) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/toolbox" "lg-error-basket" => string(79) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/error-basket" "lg-uploads-fix" => string(81) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/su_fix_uploads" "lg-reports" => string(74) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/reports" "lg-user-activity-report" => string(87) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/lg/user-activity-report" "theme-admin" => string(71) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/themes/AceAdmin" "theme-alternate" => string(75) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/themes/AceAlternate" "orb-simple-excel" => string(92) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb-modules/orb-simple-excel" "orb-file-upload" => string(91) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb-modules/orb-file-upload" "orb-asset" => string(77) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb/orb-asset" "orb-filesystem" => string(82) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb/orb-filesystem" "orb-kostache" => string(80) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb/orb-kostache" "orb-menu" => string(72) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb/menu" "orb-message" => string(87) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb-modules/orb-message" "orb-mailer" => string(86) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb-modules/orb-mailer" "orb-pagination" => string(90) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb-modules/orb-pagination" "orb-form" => string(84) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb-modules/orb-form" "orb-kint" => string(84) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb-modules/orb-kint" "orb-core" => string(72) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orb/core" "kostache" => string(79) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/vendor/kostache" "formo" => string(76) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/vendor/formo" "vendo-policy" => string(80) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/vendor/vendo-acl" "auth" => string(68) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/auth" "cache" => string(69) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/cache" "database" => string(72) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/database" "image" => string(69) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/image" "minion" => string(70) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/minion" "orm" => string(67) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/orm" "userguide" => string(73) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/modules/userguide" )
74 'image' => MODPATH.'image', // Image manipulation 75 'minion' => MODPATH.'minion', // CLI Tasks 76 'orm' => MODPATH.'orm', // Object Relationship Mapping 77 // 'unittest' => MODPATH.'unittest', // Unit testing 78 'userguide' => MODPATH.'userguide', // User guide and API documentation 79 )); -
APPPATH/bootstrap.php [ 132 ] » include_once(arguments)
0string(79) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/application/modules.php"127 )); 128 129 /** 130 * Enable modules. Modules are referenced by a relative or absolute path. 131 */ 132 include_once(APPPATH . 'modules.php'); 133 134 /** 135 * Set the routes. Each route must have a minimum of a name, a URI and a set of 136 * defaults for the URI. 137 */ -
DOCROOT/index.php [ 104 ] » require(arguments)
0string(81) "/var/www/vhosts/interactions.ro/subdomains/dev/lgredeye/application/bootstrap.php"99 { 100 define('KOHANA_START_MEMORY', memory_get_usage()); 101 } 102 103 // Bootstrap the application 104 require APPPATH.'bootstrap'.EXT; 105 106 if (PHP_SAPI == 'cli' OR PHP_SAPI == 'cgi-fcgi') // Try and load minion 107 { 108 class_exists('Minion_Task') OR die('Please enable the Minion module for CLI support.'); 109 set_exception_handler(array('Minion_Exception', 'handler'));