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/Contenu.php [ 200 ] » Multilang_Route::url(arguments)
0
string(14) "contenu.detail"
1
array(2) ( "id" => NULL "url" => NULL )
195 $url_rewrite = $gestionseodescription->url_rewrite; 196 197 $url = Route::url('contenu.detail', array( 198 'id' => $contenudescription->contenu->id, 199 'url' => toolbox::addComplementURL($url_rewrite) 200 )); 201 202 return '/'.Request::$lang.$url; 203 } 204 }
-
APPPATH/classes/Contenu.php [ 131 ] » Contenu->getUrl(arguments)
0
object Model_Contenudescription(43)
{ protected _table_name => string(18) "contenudescription" protected _primary_key => string(2) "id" public url => NULL protected _belongs_to => array(2) ( "contenu" => array(2) ( "model" => string(7) "Contenu" "foreign_key" => string(10) "contenu_id" ) "langueapplication" => array(2) ( "model" => string(17) "Langueapplication" "foreign_key" => string(20) "langueapplication_id" ) ) protected _has_one => 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(6) ( "id" => NULL "contenu_id" => NULL "langueapplication_id" => NULL "titre" => NULL "accroche" => NULL "texte" => NULL ) protected _changed => array(0) protected _related => array(1) ( "contenu" => object Model_Contenu(42)
{ protected _table_name => string(7) "contenu" protected _primary_key => string(2) "id" protected _belongs_to => array(2) ( "contenucategorie" => array(2) ( "model" => string(16) "Contenucategorie" "foreign_key" => string(19) "contenucategorie_id" ) "club" => array(2) ( "model" => string(4) "Club" "foreign_key" => string(7) "club_id" ) ) protected _has_many => array(1) ( "contenudescription" => array(4) ( "model" => string(18) "Contenudescription" "foreign_key" => string(10) "contenu_id" "through" => NULL "far_key" => string(21) "contenudescription_id" ) ) protected _has_one => 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" => NULL "date_creation" => NULL "date_contenu" => 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(7) "contenu" protected _object_plural => string(8) "contenus" 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) "5" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "date_creation" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "date_creation" "column_default" => string(17) "CURRENT_TIMESTAMP" "data_type" => string(9) "timestamp" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_contenu" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_contenu" "column_default" => NULL "data_type" => string(4) "date" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "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) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "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 5 "display" => string(2) "11" "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_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(18) "contenudescription" protected _object_plural => string(19) "contenudescriptions" protected _table_columns => array(6) ( "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" ) "contenu_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(10) "contenu_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) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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 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" ) "accroche" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "accroche" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "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 6 "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_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) "f13b592d3b65b47ab8f537b7436a2b4c13830d8f" protected _identifier => string(1) "`" public last_query => string(1329) "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(27) "db766126921.hosting-data.io" "database" => string(11) "db766126921" "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(7) "contenu" }{ protected _connection_id => string(40) "f13b592d3b65b47ab8f537b7436a2b4c13830d8f" protected _identifier => string(1) "`" public last_query => string(1329) "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(27) "db766126921.hosting-data.io" "database" => string(11) "db766126921" "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(18) "contenudescription" }126 ->with('contenu') 127 ->where('contenu.id', '=', $contenu_id) 128 ->where('langueapplication_id', '=', Request::$langue_id) 129 ->find(); 130 131 $contenudescription->url = $this->getUrl($contenudescription); 132 133 return $contenudescription; 134 } 135 136 public function getUrl(
-
APPPATH/classes/Controller/Reservation.php [ 15 ] » Contenu->getDetail(arguments)
0
integer 4
10 } 11 12 public function action_index() 13 { 14 $oContenu = new Contenu(); 15 $contenudescription = $oContenu->getDetail(4); 16 17 $this->template->content->contenudescription = $contenudescription; 18 19 $hebergement_id = $this->request->param('id'); 20
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Reservation->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_Reservation(13)
{ protected _no_template_actions => array(0) protected _controller => string(11) "Reservation" protected _action => string(5) "index" 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(81) "/homepages/16/d763415564/htdocs/gitespoitouraine/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(94) "/homepages/16/d763415564/htdocs/gitespoitouraine/application/views/pages/reservation/index.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(16) "Clos Poitouraine" "website_description" => string(0) "" "website_keyword" => string(0) "" "controller" => string(11) "Reservation" "action" => string(5) "index" ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(6)
public response => object Response(5){ public lang => NULL protected _filters => array(0) protected _uri => string(78) "(<lang>)(/)(<controller>(/<action>(/<id>(/<id2>(/<id3>(/<id4>(/<id5>)))))))(/)" protected _regex => array(1) ( "lang" => string(10) "(en|fr|de)" ) protected _defaults => array(3) ( "controller" => string(7) "accueil" "action" => string(5) "index" "lang" => string(2) "fr" ) protected _route_regex => string(240) "#^(?:(?P<lang>(en|fr|de)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2> …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(11) "Reservation" protected _action => string(5) "index" protected _uri => string(22) "fr/reservation/index/1" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "fr" "id" => string(1) "1" ) 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) "3" "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) "f13b592d3b65b47ab8f537b7436a2b4c13830d8f" protected _identifier => string(1) "`" public last_query => string(1329) "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(27) "db766126921.hosting-data.io" "database" => string(11) "db766126921" "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 FALSE protected _referrer => NULL protected _route => object Route(6)
{ public lang => NULL protected _filters => array(0) protected _uri => string(78) "(<lang>)(/)(<controller>(/<action>(/<id>(/<id2>(/<id3>(/<id4>(/<id5>)))))))(/)" protected _regex => array(1) ( "lang" => string(10) "(en|fr|de)" ) protected _defaults => array(3) ( "controller" => string(7) "accueil" "action" => string(5) "index" "lang" => string(2) "fr" ) protected _route_regex => string(240) "#^(?:(?P<lang>(en|fr|de)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2> …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(11) "Reservation" protected _action => string(5) "index" protected _uri => string(22) "fr/reservation/index/1" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "fr" "id" => string(1) "1" ) 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 FALSE protected _referrer => NULL protected _route => object Route(6)
{ public lang => NULL protected _filters => array(0) protected _uri => string(78) "(<lang>)(/)(<controller>(/<action>(/<id>(/<id2>(/<id3>(/<id4>(/<id5>)))))))(/)" protected _regex => array(1) ( "lang" => string(10) "(en|fr|de)" ) protected _defaults => array(3) ( "controller" => string(7) "accueil" "action" => string(5) "index" "lang" => string(2) "fr" ) protected _route_regex => string(240) "#^(?:(?P<lang>(en|fr|de)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++)(?:/(?P<id2> …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(11) "Reservation" protected _action => string(5) "index" protected _uri => string(22) "fr/reservation/index/1" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "fr" "id" => string(1) "1" ) 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 }