MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/database/classes/Kohana/Database/MySQL.php [ 194 ]
189 {
190 // This benchmark is worthless
191 Profiler::delete($benchmark);
192 }
193
194 throw new Database_Exception(':error [ :query ]',
195 array(':error' => mysql_error($this->_connection), ':query' => $sql),
196 mysql_errno($this->_connection));
197 }
198
199 if (isset($benchmark))
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(442) "SELECT `companies`.`co_id` AS `co_id`, `companies`.`co_name` AS `co_name`, `companies`.`co_desc` AS `co_desc`, `companies`.`co_e …"
2
string(15) "Model_Companies"
3
array(0)
246 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 247 } 248 } 249 250 // Execute the query 251 $result = $db->query($this->_type, $sql, $as_object, $object_params); 252 253 if (isset($cache_key) AND $this->_lifetime > 0) 254 { 255 // Cache the result array 256 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/orm/classes/Kohana/ORM.php [ 1060 ] » Kohana_Database_Query->execute(arguments)
0
object Database_MySQL(6)
{ protected _connection_id => string(40) "28fcd6006601f0584d9fa9e3491db39a264f12fc" protected _identifier => string(1) "`" public last_query => string(85) "SELECT COUNT(*) AS `records_found` FROM `companies` AS `companies` ORDER BY `co_name`" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "127.0.0.1" "database" => string(17) "43_lukacshaza_new" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
1055 } 1056 1057 if ($multiple === TRUE) 1058 { 1059 // Return database iterator casting to this object type 1060 $result = $this->_db_builder->as_object(get_class($this))->execute($this->_db); 1061 1062 $this->reset(); 1063 1064 return $result; 1065 }
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/orm/classes/Kohana/ORM.php [ 1001 ] » Kohana_ORM->_load_result(arguments)
0
bool TRUE
996 } 997 } 998 999 $this->_build(Database::SELECT); 1000 1001 return $this->_load_result(TRUE); 1002 } 1003 1004 /** 1005 * Returns an array of columns to include in the select query. This method 1006 * can be overridden to change the default select behavior.
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/orm/classes/ORM.php [ 376 ] » Kohana_ORM->find_all()
371 $this->_changed = array(); 372 } 373 374 public function find_all($lang = null) 375 { 376 $records = parent::find_all()->as_array(); 377 378 $this->queries[] = Database::instance()->last_query; 379 380 if (!$lang) { 381 return $records;
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/orm/classes/ORM.php [ 906 ] » ORM->find_all(arguments)
0
string(2) "hu"
901 $max = ceil($sum/$limit); 902 903 $records = $records 904 ->offset(($page-1)*$limit) 905 ->limit($limit) 906 ->find_all(I18n::$lang); 907 908 return array( 909 'page'=>$page, 910 'limit'=>$limit, 911 'max'=>$max,
-
APPPATH/classes/Controller/Company.php [ 26 ] » ORM->getForPage(arguments)
0
string(1) "0"
1
integer 5
21 array( 22 'title'=>"Projektek", 23 ) 24 ); 25 $this->context->noMoreLinks = 1; 26 $this->context->companies = ORM::factory('Companies')->order_by('co_name')->getForPage($this->request->param('page'),5); 27 $this->context->main = $main; 28 } 29 30 public function action_details() 31 {
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Company->action_index()
79 array(':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 [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Company(6)
{ public template => string(18) "Company/index.twig" public twig => object Twig_Environment(26)
{ protected charset => string(5) "UTF-8" protected loader => object Twig_Loader_Filesystem(2)
public auto_render => bool TRUE public context => object stdClass(6){ protected paths => array(1) ( "__main__" => array(7) ( 0 => string(65) "/var/www/vhosts/lukacshaza.hu/httpdocs/frontend/application/views" 1 => string(56) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/minion/views" 2 => string(58) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/jshelper/views" 3 => string(55) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/files/views" 4 => string(61) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/formbuilder/views" 5 => string(55) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/pager/views" 6 => string(59) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/statistic/views" ) ) protected cache => array(0) }
protected debug => bool TRUE protected autoReload => bool TRUE protected cache => string(70) "/var/www/vhosts/lukacshaza.hu/httpdocs/frontend/application/cache/twig" protected lexer => NULL protected parser => NULL protected compiler => NULL protected baseTemplateClass => string(13) "Twig_Template" protected extensions => array(6) ( "core" => object Twig_Extension_Core(4){ protected dateFormats => array(2) ( 0 => string(10) "F j, Y H:i" 1 => string(7) "%d days" ) protected numberFormat => array(3) ( 0 => integer 0 1 => string(1) "." 2 => string(1) "," ) protected timezone => NULL protected escapers => array(0) }
"escaper" => object Twig_Extension_Escaper(1){ protected defaultStrategy => string(4) "html" }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"debug" => object Twig_Extension_Debug(0){ }
"string_loader" => object Twig_Extension_StringLoader(0){ }
"view_extension" => object View_Extensions(0){ }
) protected parsers => NULL protected visitors => NULL protected filters => NULL protected tests => NULL protected functions => NULL protected globals => NULL protected runtimeInitialized => bool FALSE protected extensionInitialized => bool FALSE protected loadedTemplates => NULL protected strictVariables => bool FALSE protected unaryOperators => NULL protected binaryOperators => NULL protected templateClassPrefix => string(15) "__TwigTemplate_" protected functionCallbacks => array(0) protected filterCallbacks => array(0) protected staging => object Twig_Extension_Staging(6){ protected functions => array(0) protected filters => array(0) protected visitors => array(0) protected tokenParsers => array(0) protected globals => array(0) protected tests => array(0) }
}{ public title => string(9) "Projektek" public meta_keywords => string(0) "" public meta_description => string(0) "" public meta_copywrite => string(0) "" public breadcumbs => array(2) ( 0 => array(2) ( "title" => string(9) "Projektek" "url" => string(35) "https://www.lukacshaza.hu/projektek" ) 1 => array(1) ( "title" => string(9) "Projektek" ) ) public noMoreLinks => integer 1 }
public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(36) "vallakozoknak/vallalkozasok(/<page>)" protected _regex => array(1) ( "page" => string(3) "\d+" ) protected _defaults => array(3) ( "controller" => string(7) "company" "action" => string(5) "index" "page" => integer 1 ) protected _route_regex => string(52) "#^vallakozoknak/vallalkozasok(?:/(?P<page>\d+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Company" protected _action => string(5) "index" protected _uri => string(29) "vallakozoknak/vallalkozasok/0" protected _external => bool FALSE protected _params => array(1) ( "page" => string(1) "0" ) protected _get => array(1) ( "/vallakozoknak/vallalkozasok/0" => string(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)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 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.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(36) "vallakozoknak/vallalkozasok(/<page>)" protected _regex => array(1) ( "page" => string(3) "\d+" ) protected _defaults => array(3) ( "controller" => string(7) "company" "action" => string(5) "index" "page" => integer 1 ) protected _route_regex => string(52) "#^vallakozoknak/vallalkozasok(?:/(?P<page>\d+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Company" protected _action => string(5) "index" protected _uri => string(29) "vallakozoknak/vallalkozasok/0" protected _external => bool FALSE protected _params => array(1) ( "page" => string(1) "0" ) protected _get => array(1) ( "/vallakozoknak/vallalkozasok/0" => string(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 => NULL }109 $orig_response = $response = Response::factory(); 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 [ 990 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(36) "vallakozoknak/vallalkozasok(/<page>)" protected _regex => array(1) ( "page" => string(3) "\d+" ) protected _defaults => array(3) ( "controller" => string(7) "company" "action" => string(5) "index" "page" => integer 1 ) protected _route_regex => string(52) "#^vallakozoknak/vallalkozasok(?:/(?P<page>\d+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Company" protected _action => string(5) "index" protected _uri => string(29) "vallakozoknak/vallalkozasok/0" protected _external => bool FALSE protected _params => array(1) ( "page" => string(1) "0" ) protected _get => array(1) ( "/vallakozoknak/vallalkozasok/0" => string(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) }
}985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 986 ':uri' => $this->_uri, 987 )); 988 } 989 990 return $this->_client->execute($this); 991 } 992 993 /** 994 * Returns whether this request is the initial request Kohana received. 995 * Can be used to test for sub requests.
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/frontend/index.php [ 124 ] » Kohana_Request->execute()
119 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 120 * If no source is specified, the URI will be automatically detected. 121 */ 122 123 echo Request::factory(TRUE, array(), FALSE) 124 ->execute() 125 ->send_headers(TRUE) 126 ->body(); 127 }