APPPATH/classes/Multilang/Route.php [ 225 ]
220 $params[$param] = $this->_defaults[$param];
221 }
222 else
223 {
224 // Ungrouped parameters are required
225 throw new Kohana_Exception('Required route parameter not passed: :param', array(
226 ':param' => $param,
227 ));
228 }
229 }
230
-
APPPATH/classes/Multilang/Route.php [ 273 ] » Multilang_Route->uri(arguments)
0
array(2) ( "id" => NULL "url" => NULL )
268 * @uses URL::site 269 */ 270 static public function url($name, array $params = NULL, $protocol = NULL, $lang = NULL) 271 { 272 // Create a URI with the route and convert it to a URL 273 return URL::site(Route::get($name, $lang)->uri($params), $protocol); 274 } 275 276 /** 277 * We don't want to remove the trailing slash. 278 */
-
APPPATH/classes/Page.php [ 72 ] » Multilang_Route::url(arguments)
0
string(11) "page.detail"
1
array(2) ( "id" => NULL "url" => NULL )
67 return '/'.Request::$lang.'/'.$gestionseodescription->url_complete; 68 69 $url = Route::url('page.detail', array( 70 'id' => $pagedescription->page->id, 71 'url' => toolbox::addComplementURL($gestionseodescription->url_rewrite) 72 )); 73 74 return '/'.Request::$lang.$url; 75 } 76 77
-
APPPATH/classes/Page.php [ 49 ] » Page->getUrl(arguments)
0
object Model_Pagedescription(44)
{ protected _table_name => string(15) "pagedescription" public url => NULL public pageimagedescription_liste => NULL protected _has_many => array(0) protected _has_one => array(0) protected _belongs_to => array(2) ( "langueapplication" => array(2) ( "model" => string(17) "Langueapplication" "foreign_key" => string(20) "langueapplication_id" ) "page" => array(2) ( "model" => string(4) "Page" "foreign_key" => string(7) "page_id" ) ) 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" => NULL "page_id" => NULL "langueapplication_id" => NULL "intitule_lien" => NULL "titre_accroche" => NULL "texte_accroche" => NULL "titre" => NULL "texte" => NULL ) protected _changed => array(0) protected _related => array(1) ( "page" => object Model_Page(42)
{ protected _table_name => string(4) "page" protected _has_many => array(1) ( "pagedescription" => array(4) ( "model" => string(15) "Pagedescription" "foreign_key" => string(7) "page_id" "through" => NULL "far_key" => string(18) "pagedescription_id" ) ) protected _has_one => array(0) protected _belongs_to => 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(3) ( "id" => NULL "visible" => NULL "ordre" => NULL ) protected _changed => array(0) protected _related => array(0) protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "page" protected _object_plural => string(5) "pages" protected _table_columns => array(3) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "visible" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "visible" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "ordre" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "ordre" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) 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 _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
) protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(15) "pagedescription" protected _object_plural => string(16) "pagedescriptions" protected _table_columns => array(8) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "page_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "page_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "langueapplication_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(20) "langueapplication_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "display" => string(1) "5" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "intitule_lien" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "intitule_lien" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "titre_accroche" => array(12) ( "type" => string(6) "string" "column_name" => string(14) "titre_accroche" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "texte_accroche" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(10) "4294967295" "column_name" => string(14) "texte_accroche" "column_default" => NULL "data_type" => string(8) "longtext" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "titre" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "titre" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "250" "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "texte" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(10) "4294967295" "column_name" => string(5) "texte" "column_default" => NULL "data_type" => string(8) "longtext" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "collation_name" => string(17) "latin1_swedish_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) 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 _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6){ protected _connection_id => string(40) "ec72555a8dacf18fb6938e0335553f87e44177a2" protected _identifier => string(1) "`" public last_query => string(1326) "SELECT `gestionseo`.`id` AS `gestionseo:id`, `gestionseo`.`controller_page` AS `gestionseo:controller_page`, `gestionseo`.`actio …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(11) "ileemoi_bdd" "persistent" => bool FALSE ) "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 _validation => NULL protected _original_values => array(0) protected _valid => bool FALSE protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _db_group => NULL protected _cast_data => array(0) protected _errors_filename => string(4) "page" }{ protected _connection_id => string(40) "ec72555a8dacf18fb6938e0335553f87e44177a2" protected _identifier => string(1) "`" public last_query => string(1326) "SELECT `gestionseo`.`id` AS `gestionseo:id`, `gestionseo`.`controller_page` AS `gestionseo:controller_page`, `gestionseo`.`actio …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(11) "ileemoi_bdd" "persistent" => bool FALSE ) "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 _validation => NULL protected _original_values => array(0) protected _valid => bool FALSE protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _db_group => NULL protected _cast_data => array(0) protected _errors_filename => string(15) "pagedescription" }44 ->with('page') 45 ->where('page.id', '=', $page_id) 46 ->where('langueapplication_id', '=', Request::$langue_id) 47 ->find(); 48 49 $pagedescription->url = $this->getUrl($pagedescription); 50 $pagedescription->pageimagedescription_liste = $this->getGalerie($page_id); 51 52 return $pagedescription; 53 } 54
-
APPPATH/classes/Controller/Page.php [ 23 ] » Page->getDetail(arguments)
0
string(2) "21"
18 $this->redirect('/'.Request::$lang, 301); 19 20 $oToolboxClass = new ToolboxClass; 21 $oPage = new Page; 22 23 $pagedescription = $oPage->getDetail($page_id); 24 25 $oPanier = new Panier; 26 27 $this->template->content->panier_liste = $oPanier->getPanierListe(); 28
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Page->action_detail()
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_Page(13)
{ protected _no_template_actions => array(0) protected _controller => string(4) "Page" protected _action => string(6) "detail" protected _session => object Session_Native(5)
{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(1) ( "l_geo_pays_id" => integer 79 ) protected _destroyed => bool FALSE }
protected _langue_id => string(1) "1" protected _langue_lang => string(2) "fr" protected _langue_nom => string(9) "Français" public template => object View(2){ protected _file => string(50) "/home/ileemoi/www/application/views/share/main.php" protected _data => array(11) ( "content" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(57) "/home/ileemoi/www/application/views/pages/page/detail.php" protected _data => array(0) }
"lang" => string(2) "fr" "langue_id" => string(1) "1" "langue_nom" => string(9) "Français" "url_canonical" => bool FALSE "gestionseodescription" => bool FALSE "website_title" => string(67) "ÎLE ÉMOI - Transats, sacs de plage, accessoires, sets de table..." "website_description" => string(139) "Découvrez notre collection de sacs, transats, linge de table et accessoires, 100 % MADE IN FRANCE, inspirée de nos îles de l'Atl …" "website_keyword" => string(0) "" "controller" => string(4) "Page" "action" => string(6) "detail" ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(35) "http://www.ilemoi.com/fr/contenu/21" protected _route => object Route(6)
public response => object Response(5){ public lang => NULL protected _filters => array(0) protected _uri => string(30) "(<lang>)(/)contenu/<id>(<url>)" protected _regex => array(2) ( "lang" => string(7) "(en|fr)" "id" => string(6) "[0-9]+" ) protected _defaults => array(4) ( "controller" => string(4) "page" "action" => string(6) "detail" "seo_controller" => string(4) "Page" "lang" => string(2) "fr" ) protected _route_regex => string(82) "#^(?:(?P<lang>(en|fr)))?(?:/)?contenu/(?P<id>[0-9]+)(?:(?P<url>[^/.,;?\n]++))?$#uD" }
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(6) "detail" protected _uri => string(13) "fr/contenu/21" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "fr" "id" => string(2) "21" "seo_controller" => string(4) "Page" ) 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 _directory => string(0) "" public _mLangueapplication => object Model_Langueapplication(42){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _table_name => string(17) "langueapplication" protected _primary_key => string(2) "id" protected _has_one => array(0) 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(5) ( "id" => string(1) "1" "langue" => string(9) "Français" "nomaffichage" => string(9) "Français" "lang" => string(2) "fr" "visible" => string(1) "1" ) protected _changed => array(0) protected _related => array(0) protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(17) "langueapplication" protected _object_plural => string(18) "langueapplications" protected _table_columns => array(5) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(1) "2" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "langue" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "langue" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "nomaffichage" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "nomaffichage" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(1) "5" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "visible" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "visible" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) ) protected _ignored_columns => array(0) protected _updated_column => NULL protected _created_column => NULL protected _primary_val => string(4) "name" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
}{ protected _connection_id => string(40) "ec72555a8dacf18fb6938e0335553f87e44177a2" protected _identifier => string(1) "`" public last_query => string(1326) "SELECT `gestionseo`.`id` AS `gestionseo:id`, `gestionseo`.`controller_page` AS `gestionseo:controller_page`, `gestionseo`.`actio …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(6) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(11) "ileemoi_bdd" "persistent" => bool FALSE ) "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 _validation => NULL protected _original_values => array(5) ( "id" => string(1) "1" "langue" => string(9) "Français" "nomaffichage" => string(9) "Français" "lang" => string(2) "fr" "visible" => string(1) "1" ) protected _valid => bool TRUE protected _serialize_columns => array(0) protected _primary_key_value => string(1) "1" protected _db_group => NULL protected _cast_data => array(0) protected _errors_filename => string(17) "langueapplication" }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.1" protected _secure => bool TRUE protected _referrer => string(35) "http://www.ilemoi.com/fr/contenu/21" protected _route => object Route(6)
{ public lang => NULL protected _filters => array(0) protected _uri => string(30) "(<lang>)(/)contenu/<id>(<url>)" protected _regex => array(2) ( "lang" => string(7) "(en|fr)" "id" => string(6) "[0-9]+" ) protected _defaults => array(4) ( "controller" => string(4) "page" "action" => string(6) "detail" "seo_controller" => string(4) "Page" "lang" => string(2) "fr" ) protected _route_regex => string(82) "#^(?:(?P<lang>(en|fr)))?(?:/)?contenu/(?P<id>[0-9]+)(?:(?P<url>[^/.,;?\n]++))?$#uD" }
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(6) "detail" protected _uri => string(13) "fr/contenu/21" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "fr" "id" => string(2) "21" "seo_controller" => string(4) "Page" ) 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" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 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))
-
APPPATH/classes/Multilang/Request.php [ 234 ] » 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 => string(35) "http://www.ilemoi.com/fr/contenu/21" protected _route => object Route(6)
{ public lang => NULL protected _filters => array(0) protected _uri => string(30) "(<lang>)(/)contenu/<id>(<url>)" protected _regex => array(2) ( "lang" => string(7) "(en|fr)" "id" => string(6) "[0-9]+" ) protected _defaults => array(4) ( "controller" => string(4) "page" "action" => string(6) "detail" "seo_controller" => string(4) "Page" "lang" => string(2) "fr" ) protected _route_regex => string(82) "#^(?:(?P<lang>(en|fr)))?(?:/)?contenu/(?P<id>[0-9]+)(?:(?P<url>[^/.,;?\n]++))?$#uD" }
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(6) "detail" protected _uri => string(13) "fr/contenu/21" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "fr" "id" => string(2) "21" "seo_controller" => string(4) "Page" ) 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) }
}229 Request::$langue_nom = $config['languages'][Request::initial()->param('lang')]['label']; 230 } 231 232 Multilang::init(); 233 234 return $this->_client->execute($this); 235 } 236 237 238 }
-
DOCROOT/index.php [ 118 ] » Multilang_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }