DOCROOT/non-public/inzite/classes/Inzite/Controller/Template.php [ 68 ]
63 // No locale in URL
64 $sUrl = $this->sRequestUrl;
65 $bDownloadUrl = str_contains($this->sRequestUrl, 'download/getFile');
66
67 if ($bDownloadUrl === false && $this->bLocaleInUrl === false && Config::get('site.locale.in.url') == 'true') {
68 $sLanguage = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
69 $iLocaleId = (int)array_search($sLanguage, $this->aLanguages);
70 if ($iLocaleId === 0) {
71 $iLocaleId = $this->iLocaleIdDefault;
72 }
73 $this->iLocaleId = $iLocaleId;
-
DOCROOT/non-public/inzite/classes/Inzite/Controller/Template.php [ 68 ] » Kohana_Core::error_handler( arguments )
0
integer 8
1
string(37) "Undefined index: HTTP_ACCEPT_LANGUAGE"
2
string(79) "/home/nnkc/public_html/non-public/inzite/classes/Inzite/Controller/Template.php"
3
integer 68
4
array(2) ( "sUrl" => string(29) "https://www.nnkc.nl/mijn-nnkc" "bDownloadUrl" => bool FALSE )
63 // No locale in URL 64 $sUrl = $this->sRequestUrl; 65 $bDownloadUrl = str_contains($this->sRequestUrl, 'download/getFile'); 66 67 if ($bDownloadUrl === false && $this->bLocaleInUrl === false && Config::get('site.locale.in.url') == 'true') { 68 $sLanguage = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2); 69 $iLocaleId = (int)array_search($sLanguage, $this->aLanguages); 70 if ($iLocaleId === 0) { 71 $iLocaleId = $this->iLocaleIdDefault; 72 } 73 $this->iLocaleId = $iLocaleId;
-
APPPATH/classes/Controller/Template.php [ 5 ] » Inzite_Controller_Template->before( )
1 <?php 2 class Controller_Template extends Inzite_Controller_Template { 3 4 public function before() { 5 parent::before(); 6 7 //Add custom scripts and stylesheets 8 9 $this->template->oLocalePage = $this->oPage; 10 $this->template->oFooterPages = Model_Page::getFooterPages();
-
DOCROOT/non-public/inzite/classes/Inzite/Controller/Page.php [ 19 ] » Controller_Template->before( )
14 15 public $_table_name = 'page'; 16 17 public function before() 18 { 19 parent::before(); 20 } 21 22 public function action_index() 23 { 24 $oPage = $this->getPage();
-
SYSPATH/classes/Kohana/Controller.php [ 71 ] » Inzite_Controller_Page->before( )
66 * @return Response 67 */ 68 public function execute() 69 { 70 // Execute the "before action" method 71 $this->before(); 72 73 // Determine the action to use 74 $action = 'action_' . $this->request->action(); 75 76 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute( )
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 93 ] » ReflectionMethod->invoke( arguments )
0
object Controller_Page(51)
{ public _table_name => string(4) "page" public template => string(16) "template.default" public sContent => NULL public _module => NULL public _controller => string(4) "Page" public _type => string(0) "" public _model => string(4) "Page" public sAction => string(5) "index" public aAcl => array(0) public bMobile => bool FALSE public bSecure => bool TRUE public bCms => bool FALSE public bAjax => bool FALSE public bPreview => bool FALSE public iPageId => integer 577 public aPageIds => array(1) ( 0 => integer 577 ) public aPageNames => array(1) ( 0 => string(9) "mijn-nnkc" ) public aPageTitles => array(1) ( 0 => string(9) "Mijn NNKC" ) public bPageNotFound => bool FALSE public iSubLevels => NULL public iLocaleId => integer 1 public sLocale => string(5) "nl_NL" public iLocaleIdDefault => integer 1 public sLocaleDefault => string(5) "nl_NL" public iLocaleIdDefaultCms => integer 1 public sLocaleDefaultCms => string(5) "nl_NL" public sLanguage => string(2) "nl" public sCountry => string(2) "NL" public bLocaleInUrl => bool FALSE public bUserIsAdmin => bool FALSE public sRequestUrl => string(29) "https://www.nnkc.nl/mijn-nnkc" public aUrlParts => array(1) ( 0 => string(9) "mijn-nnkc" ) public aLanguages => array(2) ( 1 => string(2) "nl" 2 => string(2) "en" ) public aLocales => array(2) ( 1 => string(5) "nl_NL" 2 => string(5) "en_GB" ) public aLocalesShort => array(2) ( 1 => string(5) "nl-nl" 2 => string(5) "en-gb" ) public oController => array(0) public aJavaScript => array(1) ( "index" => array(1) ( "scripts" => array(7) ( 0 => string(64) "<script src="/public/js/inzite/MooTools-Core-1.6.0.js"></script>" 1 => string(64) "<script src="/public/js/inzite/MooTools-More-1.6.0.js"></script>" 2 => string(66) "<script src="/public/js/inzite/Site.js?cache=1583158361"></script>" 3 => string(74) "<script src="/public/js/inzite/slideout.min.js?cache=1559820087"></script>" 4 => string(64) "<script src="/public/js/user/site.js?cache=1690802212"></script>" 5 => string(72) "<script src="/public/js/inzite/FormSubmit.js?cache=1606829931"></script>" 6 => string(88) "<script src="/public/js/inzite/chartist/dist/chartist.min.js?cache=1563284376"></script>" ) ) ) public aStyleSheet => array(1) ( "index" => array(12) ( 0 => string(75) "<link href="/public/css/inzite/grid.css?cache=1559820087" rel="stylesheet">" 1 => string(75) "<link href="/public/css/inzite/site.css?cache=1570525401" rel="stylesheet">" 2 => string(77) "<link href="/public/css/inzite/cookie.css?cache=1563796234" rel="stylesheet">" 3 => string(75) "<link href="/public/css/inzite/form.css?cache=1567682117" rel="stylesheet">" 4 => string(81) "<link href="/public/css/inzite/responsive.css?cache=1557219684" rel="stylesheet">" 5 => string(92) "<link rel="stylesheet" href="/public/css/inzite/fontello/css/fontello.css?cache=1642838259">" 6 => string(98) "<link rel="stylesheet" href="/public/css/inzite/fontello/css/fontello-codes.css?cache=1642838259">" 7 => string(101) "<link rel="stylesheet" href="/public/css/inzite/fontello/css/fontello-embedded.css?cache=1642838259">" 8 => string(93) "<link rel="stylesheet" href="/public/css/inzite/fontello/css/animation.css?cache=1557219684">" 9 => string(73) "<link href="/public/css/user/site.css?cache=1684498332" rel="stylesheet">" 10 => string(79) "<link href="/public/css/user/responsive.css?cache=1565791435" rel="stylesheet">" 11 => string(96) "<link rel="stylesheet" href="/public/js/inzite/chartist/dist/chartist.min.css?cache=1563284376">" ) ) public aBreadcrumb => array(0) public aSelects => array(0) public oRows => array(0) public aPages => array(0) public iLimitOrmTable => integer 25 public bInitialized => bool FALSE public auto_render => bool TRUE public request => 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)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(71) "(<lang>/)(<id>(/<id2>(/<id3>(/<id4>(/<id5>(/<id6>(/<id7>(/<id8>))))))))" protected _regex => array(0) protected _defaults => array(3) ( "lang" => string(2) "nl" "controller" => string(4) "Page" "action" => string(5) "index" ) protected _route_regex => string(248) "#^(?:(?P<lang>[^/.,;?\n]++)/)?(?:(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;?\n]++)(?:/(?P<id4>[^/.,;?\n]++) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Page" protected _action => string(5) "index" protected _uri => string(9) "mijn-nnkc" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "nl" "id" => string(9) "mijn-nnkc" ) 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 sDomain => string(11) "www.nnkc.nl" public aLocaleDefault => array(1) ( 1 => string(5) "nl_NL" ) public aBrowser => array(5) ( "browser" => bool FALSE "version" => bool FALSE "robot" => bool FALSE "mobile" => bool FALSE "platform" => bool FALSE ) public oPage => object Model_Localepage(47){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ public _model => string(4) "page" public aPath => array(0) public iContentWidth => integer 0 public oPage => NULL public model => NULL public module => NULL public controller => NULL public aExtraSearchColumns => array(0) protected _cache_deleting_queue => array(0) protected _table_names_plural => bool FALSE protected _created_column => array(2) ( "column" => string(10) "dtInserted" "format" => string(11) "Y-m-d H:i:s" ) protected _updated_column => array(2) ( "column" => string(9) "dtUpdated" "format" => string(11) "Y-m-d H:i:s" ) protected _reload_on_wakeup => bool FALSE protected aOptions => array(0) protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(28) ( "id" => string(4) "4216" "dtInserted" => string(19) "2022-05-18 10:05:21" "dtUpdated" => string(19) "2023-05-23 10:33:38" "iStatus" => string(1) "1" "iCreatorId" => string(1) "0" "iModelId" => string(3) "577" "iLocaleId" => string(1) "1" "sTitle" => string(9) "Mijn NNKC" "sTitleSeo" => string(9) "mijn-nnkc" "sTitleSub" => string(0) "" "iHeaderImage" => string(1) "0" "iBannerImage" => string(1) "0" "sMetaTitle" => string(0) "" "sKeywords" => string(0) "" "sDescription" => string(0) "" "bPublic" => string(1) "1" "bMenuItem" => string(1) "1" "sAuthor" => string(0) "" "sUrlRedirect" => string(0) "" "bEdit" => string(1) "0" "sUrl" => string(0) "" "sText" => string(0) "" "sMedialibraryHeaders" => string(0) "" "sMedialibraryBackgrounds" => string(0) "" "sHeaderSize" => string(0) "" "sPageUrl" => string(13) "/nl/mijn-nnkc" "aTags" => string(0) "" "iTargetBlank" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(28) ( "id" => string(4) "4216" "dtInserted" => string(19) "2022-05-18 10:05:21" "dtUpdated" => string(19) "2023-05-23 10:33:38" "iStatus" => string(1) "1" "iCreatorId" => string(1) "0" "iModelId" => string(3) "577" "iLocaleId" => string(1) "1" "sTitle" => string(9) "Mijn NNKC" "sTitleSeo" => string(9) "mijn-nnkc" "sTitleSub" => string(0) "" "iHeaderImage" => string(1) "0" "iBannerImage" => string(1) "0" "sMetaTitle" => string(0) "" "sKeywords" => string(0) "" "sDescription" => string(0) "" "bPublic" => string(1) "1" "bMenuItem" => string(1) "1" "sAuthor" => string(0) "" "sUrlRedirect" => string(0) "" "bEdit" => string(1) "0" "sUrl" => string(0) "" "sText" => string(0) "" "sMedialibraryHeaders" => string(0) "" "sMedialibraryBackgrounds" => string(0) "" "sHeaderSize" => string(0) "" "sPageUrl" => string(13) "/nl/mijn-nnkc" "aTags" => string(0) "" "iTargetBlank" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(10) "localepage" protected _object_plural => string(11) "localepages" protected _table_name => string(10) "localepage" protected _table_columns => array(28) ( "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" ) "dtInserted" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "dtInserted" "column_default" => string(19) "0000-00-00 00:00:00" "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "dtUpdated" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "dtUpdated" "column_default" => string(19) "0000-00-00 00:00:00" "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "iStatus" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(7) "iStatus" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "iCreatorId" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(10) "iCreatorId" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "iModelId" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(8) "iModelId" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "iLocaleId" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "iLocaleId" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sTitle" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "sTitle" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sTitleSeo" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "sTitleSeo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sTitleSub" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "sTitleSub" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "iHeaderImage" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(12) "iHeaderImage" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "iBannerImage" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(12) "iBannerImage" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 12 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sMetaTitle" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "sMetaTitle" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sKeywords" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "sKeywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sDescription" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "sDescription" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "bPublic" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(7) "bPublic" "column_default" => string(1) "1" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "bMenuItem" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "bMenuItem" "column_default" => string(1) "1" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sAuthor" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "sAuthor" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 18 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sUrlRedirect" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "sUrlRedirect" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 19 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "bEdit" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(5) "bEdit" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 20 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sUrl" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "sUrl" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 21 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sText" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "sText" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 22 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sMedialibraryHeaders" => array(12) ( "type" => string(6) "string" "column_name" => string(20) "sMedialibraryHeaders" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 23 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sMedialibraryBackgrounds" => array(12) ( "type" => string(6) "string" "column_name" => string(24) "sMedialibraryBackgrounds" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 24 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sHeaderSize" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "sHeaderSize" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 25 "character_maximum_length" => string(2) "10" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sPageUrl" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "sPageUrl" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 26 "character_maximum_length" => string(3) "512" "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "aTags" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "aTags" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 27 "collation_name" => string(18) "utf8mb3_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "iTargetBlank" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(12) "iTargetBlank" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "display" => string(1) "1" "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(4) "4216" protected _db => object Database_MySQLi(6)
}{ protected _connection_id => string(40) "c3a066ba0f7d2071e153b861eec81ef2dd173643" protected _identifier => string(1) "`" public last_query => string(47) "SELECT `sTemplate` FROM `page` WHERE `id` = 577" protected _instance => string(4) "live" 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(10) "localepage" protected morph_to => array(0) protected morph_one_or_many => array(0) protected morph_many_through => array(0) }{ 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(6) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(7) "nnkc_db" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(7) "utf8mb4" "caching" => bool TRUE "profiling" => bool FALSE ) }88 89 // Create a new instance of the controller 90 $controller = $class->newInstance($request, $response); 91 92 // Run the controller's execute() method 93 $response = $class->getMethod('execute')->invoke($controller); 94 95 if (!$response instanceof Response) { 96 // Controller failed to return a Response. 97 throw new Kohana_Exception('Controller failed to return a Response'); 98 }
-
SYSPATH/classes/Kohana/Request/Client.php [ 116 ] » 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(71) "(<lang>/)(<id>(/<id2>(/<id3>(/<id4>(/<id5>(/<id6>(/<id7>(/<id8>))))))))" protected _regex => array(0) protected _defaults => array(3) ( "lang" => string(2) "nl" "controller" => string(4) "Page" "action" => string(5) "index" ) protected _route_regex => string(248) "#^(?:(?P<lang>[^/.,;?\n]++)/)?(?:(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;?\n]++)(?:/(?P<id4>[^/.,;?\n]++) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Page" protected _action => string(5) "index" protected _uri => string(9) "mijn-nnkc" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "nl" "id" => string(9) "mijn-nnkc" ) 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" }111 112 if (($cache = $this->cache()) instanceof HTTP_Cache) { 113 return $cache->execute($this, $request, $response); 114 } 115 116 $response = $this->execute_request($request, $response); 117 118 // Execute response callbacks 119 foreach ($this->header_callbacks() as $header => $callback) { 120 if ($response->headers($header)) { 121 $cb_result = call_user_func($callback, $request, $response, $this);
-
SYSPATH/classes/Kohana/Request.php [ 933 ] » 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(71) "(<lang>/)(<id>(/<id2>(/<id3>(/<id4>(/<id5>(/<id6>(/<id7>(/<id8>))))))))" protected _regex => array(0) protected _defaults => array(3) ( "lang" => string(2) "nl" "controller" => string(4) "Page" "action" => string(5) "index" ) protected _route_regex => string(248) "#^(?:(?P<lang>[^/.,;?\n]++)/)?(?:(?P<id>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^/.,;?\n]++)(?:/(?P<id4>[^/.,;?\n]++) …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Page" protected _action => string(5) "index" protected _uri => string(9) "mijn-nnkc" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "nl" "id" => string(9) "mijn-nnkc" ) 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) }
}928 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 929 ':uri' => $this->_uri, 930 ]); 931 } 932 933 return $this->_client->execute($this); 934 } 935 936 /** 937 * Returns whether this request is the initial request Kohana received. 938 * Can be used to test for sub requests.
-
DOCROOT/public/index.php [ 89 ] » Kohana_Request->execute( )
84 /** 85 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 86 * If no source is specified, the URI will be automatically detected. 87 */ 88 echo Request::factory(TRUE, array(), FALSE) 89 ->execute() 90 ->send_headers(TRUE) 91 ->body(); 92 93 }