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) ( "offre_id" => string(2) "12" "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/views/widgets/popupoffre/index.php [ 40 ] » Multilang_Route::url(arguments)
0
string(13) "offres.detail"
1
array(2) ( "offre_id" => string(2) "12" "url" => NULL )
35 <p class="overlay-description"><?=substr(strip_tags($offredescription->description, ''), 0, 1000);?></p> 36 <?php } else {*/ ?> 37 <div class="overlay-description"><?=$offredescription->description?></div> 38 <?php /*}*/ ?> 39 <p class="overlay-button"> 40 <!-- <a href="/<?=Request::$lang.Route::url('offres.detail', ['offre_id' => $offredescription->offre_id, 'url' => toolbox::addComplementURL($offredescription->titre)]);?>">En savoir plus</a> --> 41 <?php if ($isLienImage){ ?> 42 <a class="image-popup" href="<?=$offredescription->offre->lien; ?>">En savoir plus</a> 43 <?php } else { ?> 44 <a href="<?=$offredescription->offre->lien; ?>">En savoir plus</a> 45 <?php } ?>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(66) "/home/cromasarl/www/application/views/widgets/popupoffre/index.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(67) "/home/cromasarl/www/application/views//widgets/popupoffre/index.php"
1
array(1) ( "offredescription" => object Model_Offredescription(42)
{ protected _table_name => string(16) "offredescription" protected _has_many => array(0) protected _has_one => array(0) protected _belongs_to => array(2) ( "offre" => array(2) ( "model" => string(5) "Offre" "foreign_key" => string(8) "offre_id" ) "langueapplication" => array(2) ( "model" => string(17) "Langueapplication" "foreign_key" => string(20) "langueapplication_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(6) ( "id" => string(2) "24" "offre_id" => string(2) "12" "langueapplication_id" => string(1) "2" "titre" => string(0) "" "lien" => NULL "description" => string(0) "" ) protected _changed => array(0) protected _related => array(1) ( "offre" => object Model_Offre(42)
){ protected _table_name => string(5) "offre" protected _has_many => array(2) ( "popupoffre" => array(4) ( "model" => string(10) "Popupoffre" "foreign_key" => string(8) "offre_id" "through" => NULL "far_key" => string(13) "popupoffre_id" ) "offredescription" => array(4) ( "model" => string(16) "Offredescription" "foreign_key" => string(8) "offre_id" "through" => NULL "far_key" => string(19) "offredescription_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(6) ( "id" => string(2) "12" "date_creation" => string(19) "2020-11-27 16:23:46" "prix" => string(5) "25.00" "lien" => string(101) "https://www.residence-croma.fr/fr/blog/detail/138-room-service-pour-nos-professionnels-en-deplacement" "visible" => string(1) "1" "ordre" => 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(5) "offre" protected _object_plural => string(6) "offres" 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(2) "11" "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" ) "prix" => array(13) ( "type" => string(5) "float" "exact" => bool TRUE "column_name" => string(4) "prix" "column_default" => NULL "data_type" => string(7) "decimal" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "numeric_scale" => string(1) "2" "numeric_precision" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "lien" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "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(18) "utf8mb4_general_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) "0" "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" ) "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 6 "display" => string(1) "3" "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_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 TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(16) "offredescription" protected _object_plural => string(17) "offredescriptions" 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(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "offre_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "offre_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "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(18) "utf8mb4_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lien" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "lien" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(10) "4294967295" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(8) "longtext" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "collation_name" => string(18) "utf8mb4_general_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) "4bc8c3b6c4e406c120202b2b757cafa84904da27" protected _identifier => string(1) "`" public last_query => string(685) "SELECT `offre`.`id` AS `offre:id`, `offre`.`date_creation` AS `offre:date_creation`, `offre`.`prix` AS `offre:prix`, `offre`.`li …" 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(13) "cromasarl_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(6) ( "id" => string(2) "12" "date_creation" => string(19) "2020-11-27 16:23:46" "prix" => string(5) "25.00" "lien" => string(101) "https://www.residence-croma.fr/fr/blog/detail/138-room-service-pour-nos-professionnels-en-deplacement" "visible" => string(1) "1" "ordre" => string(1) "1" ) protected _valid => bool TRUE protected _serialize_columns => array(0) protected _primary_key_value => string(2) "12" protected _db_group => NULL protected _cast_data => array(0) protected _errors_filename => string(5) "offre" }{ protected _connection_id => string(40) "4bc8c3b6c4e406c120202b2b757cafa84904da27" protected _identifier => string(1) "`" public last_query => string(685) "SELECT `offre`.`id` AS `offre:id`, `offre`.`date_creation` AS `offre:date_creation`, `offre`.`prix` AS `offre:prix`, `offre`.`li …" 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(13) "cromasarl_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(6) ( "id" => string(2) "24" "offre_id" => string(2) "12" "langueapplication_id" => string(1) "2" "titre" => string(0) "" "lien" => NULL "description" => string(0) "" ) protected _valid => bool TRUE protected _serialize_columns => array(0) protected _primary_key_value => string(2) "24" protected _db_group => NULL protected _cast_data => array(0) protected _errors_filename => string(16) "offredescription" }354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
APPPATH/classes/Controller/Website/Page.php [ 266 ] » Kohana_Controller_Template->after()
261 262 public function after() 263 { 264 if ( ! Request::current()->is_ajax() AND ! in_array($this->_action, $this->_no_template_actions)) 265 { 266 parent::after(); 267 } 268 } 269 }
-
APPPATH/classes/Controller/Website/Widget.php [ 29 ] » Controller_Website_Page->after()
24 } 25 } 26 27 public function after() 28 { 29 parent::after(); 30 } 31 32 }
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Website_Widget->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Widgets_Popupoffre(12)
{ protected _controller => string(18) "Widgets_Popupoffre" 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(2) ( "l_geo_pays_id" => integer 79 "popupoffre_deja_affiche" => bool TRUE ) protected _destroyed => bool FALSE }
protected _no_template_actions => array(0) protected _langue_id => NULL protected _langue_lang => NULL protected _langue_nom => NULL public template => object View(2){ protected _file => string(67) "/home/cromasarl/www/application/views//widgets/popupoffre/index.php" protected _data => array(1) ( "offredescription" => object Model_Offredescription(42)
public auto_render => bool TRUE public request => object Request(19){ protected _table_name => string(16) "offredescription" protected _has_many => array(0) protected _has_one => array(0) protected _belongs_to => array(2) ( "offre" => array(2) ( "model" => string(5) "Offre" "foreign_key" => string(8) "offre_id" ) "langueapplication" => array(2) ( "model" => string(17) "Langueapplication" "foreign_key" => string(20) "langueapplication_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(6) ( "id" => string(2) "24" "offre_id" => string(2) "12" "langueapplication_id" => string(1) "2" "titre" => string(0) "" "lien" => NULL "description" => string(0) "" ) protected _changed => array(0) protected _related => array(1) ( "offre" => object Model_Offre(42)
) }{ protected _table_name => string(5) "offre" protected _has_many => array(2) ( "popupoffre" => array(4) ( "model" => string(10) "Popupoffre" "foreign_key" => string(8) "offre_id" "through" => NULL "far_key" => string(13) "popupoffre_id" ) "offredescription" => array(4) ( "model" => string(16) "Offredescription" "foreign_key" => string(8) "offre_id" "through" => NULL "far_key" => string(19) "offredescription_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(6) ( "id" => string(2) "12" "date_creation" => string(19) "2020-11-27 16:23:46" "prix" => string(5) "25.00" "lien" => string(101) "https://www.residence-croma.fr/fr/blog/detail/138-room-service-pour-nos-professionnels-en-deplacement" "visible" => string(1) "1" "ordre" => 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(5) "offre" protected _object_plural => string(6) "offres" 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(2) "11" "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" ) "prix" => array(13) ( "type" => string(5) "float" "exact" => bool TRUE "column_name" => string(4) "prix" "column_default" => NULL "data_type" => string(7) "decimal" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "numeric_scale" => string(1) "2" "numeric_precision" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "lien" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "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(18) "utf8mb4_general_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) "0" "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" ) "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 6 "display" => string(1) "3" "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_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 TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(16) "offredescription" protected _object_plural => string(17) "offredescriptions" 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(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "offre_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "offre_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "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(18) "utf8mb4_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lien" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "lien" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(10) "4294967295" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(8) "longtext" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "collation_name" => string(18) "utf8mb4_general_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) "4bc8c3b6c4e406c120202b2b757cafa84904da27" protected _identifier => string(1) "`" public last_query => string(685) "SELECT `offre`.`id` AS `offre:id`, `offre`.`date_creation` AS `offre:date_creation`, `offre`.`prix` AS `offre:prix`, `offre`.`li …" 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(13) "cromasarl_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(6) ( "id" => string(2) "12" "date_creation" => string(19) "2020-11-27 16:23:46" "prix" => string(5) "25.00" "lien" => string(101) "https://www.residence-croma.fr/fr/blog/detail/138-room-service-pour-nos-professionnels-en-deplacement" "visible" => string(1) "1" "ordre" => string(1) "1" ) protected _valid => bool TRUE protected _serialize_columns => array(0) protected _primary_key_value => string(2) "12" protected _db_group => NULL protected _cast_data => array(0) protected _errors_filename => string(5) "offre" }{ protected _connection_id => string(40) "4bc8c3b6c4e406c120202b2b757cafa84904da27" protected _identifier => string(1) "`" public last_query => string(685) "SELECT `offre`.`id` AS `offre:id`, `offre`.`date_creation` AS `offre:date_creation`, `offre`.`prix` AS `offre:prix`, `offre`.`li …" 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(13) "cromasarl_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(6) ( "id" => string(2) "24" "offre_id" => string(2) "12" "langueapplication_id" => string(1) "2" "titre" => string(0) "" "lien" => NULL "description" => string(0) "" ) protected _valid => bool TRUE protected _serialize_columns => array(0) protected _primary_key_value => string(2) "24" protected _db_group => NULL protected _cast_data => array(0) protected _errors_filename => string(16) "offredescription" }{ 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(18) "Widgets_Popupoffre" protected _action => string(5) "index" protected _uri => string(18) "widgets_popupoffre" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "fr" ) 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) "" }{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }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(18) "Widgets_Popupoffre" protected _action => string(5) "index" protected _uri => string(18) "widgets_popupoffre" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "fr" ) 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(18) "Widgets_Popupoffre" protected _action => string(5) "index" protected _uri => string(18) "widgets_popupoffre" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "fr" ) 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 }
-
APPPATH/views/share/main.php [ 63 ] » Multilang_Request->execute()
58 <script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/qtip2/2.1.1/jquery.qtip.min.js"></script> 59 </head> 60 <body> 61 <?php 62 if (@$popupoffre->id != null) 63 echo Request::factory('widgets_popupoffre')->execute(); 64 ?> 65 <!--<div id="fondrosetransparent"></div>--> 66 <?=Request::factory(Request::$lang.'/widgets/header')->execute();?> 67 68 <?=$content;?>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(52) "/home/cromasarl/www/application/views/share/main.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(52) "/home/cromasarl/www/application/views/share/main.php"
1
array(12) ( "content" => object View(2)
{ protected _file => string(61) "/home/cromasarl/www/application/views/pages/motcle/detail.php" protected _data => array(3) ( "blogdescription_nombre" => integer 0 "pagination" => object Pagination(12)
"lang" => string(2) "en" "langue_id" => string(1) "2" "langue_nom" => string(7) "Anglais" "url_canonical" => bool FALSE "gestionseodescription" => bool FALSE "website_title" => string(5) "Croma" "website_description" => string(0) "" "website_keyword" => string(0) "" "controller" => string(6) "Motcle" "action" => string(6) "detail" "popupoffre" => object Model_Popupoffre(42){ protected config => array(7) ( "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(1) "p" ) "total_items" => integer 0 "items_per_page" => integer 12 "view" => string(15) "pagination/blog" "auto_hide" => bool FALSE "style" => string(4) "digg" "first_page_in_url" => bool FALSE ) protected current_page => integer 1 protected total_items => integer 0 protected items_per_page => integer 12 protected total_pages => integer 0 protected current_first_item => integer 0 protected current_last_item => integer 0 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => bool FALSE protected last_page => bool FALSE protected offset => integer 0 }
"blogdescription_liste" => NULL ) }{ protected _table_name => string(10) "popupoffre" protected _primary_key => string(2) "id" protected _belongs_to => array(1) ( "offre" => array(2) ( "model" => string(5) "Offre" "foreign_key" => string(8) "offre_id" ) ) protected _has_many => array(0) 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(3) ( "id" => string(1) "1" "offre_id" => string(2) "12" "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(10) "popupoffre" protected _object_plural => string(11) "popupoffres" 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" ) "offre_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "offre_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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 3 "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) "4bc8c3b6c4e406c120202b2b757cafa84904da27" protected _identifier => string(1) "`" public last_query => string(685) "SELECT `offre`.`id` AS `offre:id`, `offre`.`date_creation` AS `offre:date_creation`, `offre`.`prix` AS `offre:prix`, `offre`.`li …" 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(13) "cromasarl_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(3) ( "id" => string(1) "1" "offre_id" => string(2) "12" "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(10) "popupoffre" }354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
APPPATH/classes/Controller/Website/Page.php [ 266 ] » Kohana_Controller_Template->after()
261 262 public function after() 263 { 264 if ( ! Request::current()->is_ajax() AND ! in_array($this->_action, $this->_no_template_actions)) 265 { 266 parent::after(); 267 } 268 } 269 }
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Controller_Website_Page->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Motcle(13)
{ protected _no_template_actions => array(0) protected _controller => string(6) "Motcle" 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(2) ( "l_geo_pays_id" => integer 79 "popupoffre_deja_affiche" => bool TRUE ) protected _destroyed => bool FALSE }
protected _langue_id => string(1) "2" protected _langue_lang => string(2) "en" protected _langue_nom => string(7) "Anglais" public template => object View(2){ protected _file => string(52) "/home/cromasarl/www/application/views/share/main.php" protected _data => array(12) ( "content" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(61) "/home/cromasarl/www/application/views/pages/motcle/detail.php" protected _data => array(3) ( "blogdescription_nombre" => integer 0 "pagination" => object Pagination(12)
"lang" => string(2) "en" "langue_id" => string(1) "2" "langue_nom" => string(7) "Anglais" "url_canonical" => bool FALSE "gestionseodescription" => bool FALSE "website_title" => string(5) "Croma" "website_description" => string(0) "" "website_keyword" => string(0) "" "controller" => string(6) "Motcle" "action" => string(6) "detail" "popupoffre" => object Model_Popupoffre(42){ protected config => array(7) ( "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(1) "p" ) "total_items" => integer 0 "items_per_page" => integer 12 "view" => string(15) "pagination/blog" "auto_hide" => bool FALSE "style" => string(4) "digg" "first_page_in_url" => bool FALSE ) protected current_page => integer 1 protected total_items => integer 0 protected items_per_page => integer 12 protected total_pages => integer 0 protected current_first_item => integer 0 protected current_last_item => integer 0 protected previous_page => bool FALSE protected next_page => bool FALSE protected first_page => bool FALSE protected last_page => bool FALSE protected offset => integer 0 }
"blogdescription_liste" => NULL ) }{ protected _table_name => string(10) "popupoffre" protected _primary_key => string(2) "id" protected _belongs_to => array(1) ( "offre" => array(2) ( "model" => string(5) "Offre" "foreign_key" => string(8) "offre_id" ) ) protected _has_many => array(0) 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(3) ( "id" => string(1) "1" "offre_id" => string(2) "12" "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(10) "popupoffre" protected _object_plural => string(11) "popupoffres" 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" ) "offre_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "offre_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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 3 "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) "4bc8c3b6c4e406c120202b2b757cafa84904da27" protected _identifier => string(1) "`" public last_query => string(685) "SELECT `offre`.`id` AS `offre:id`, `offre`.`date_creation` AS `offre:date_creation`, `offre`.`prix` AS `offre:prix`, `offre`.`li …" 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(13) "cromasarl_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(3) ( "id" => string(1) "1" "offre_id" => string(2) "12" "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(10) "popupoffre" }{ 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(6)
public response => object Response(5){ public lang => NULL protected _filters => array(0) protected _uri => string(31) "(<lang>)(/)motcle/detail(/<id>)" protected _regex => array(1) ( "lang" => string(10) "(en|fr|de)" ) protected _defaults => array(4) ( "controller" => string(6) "motcle" "action" => string(6) "detail" "seo_controller" => string(6) "Motcle" "lang" => string(2) "fr" ) protected _route_regex => string(76) "#^(?:(?P<lang>(en|fr|de)))?(?:/)?motcle/detail(?:/(?P<id>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Motcle" protected _action => string(6) "detail" protected _uri => string(27) "en/motcle/detail/0549212155" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "en" "id" => string(10) "0549212155" "seo_controller" => string(6) "Motcle" ) 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) "2" "langue" => string(7) "Anglais" "nomaffichage" => string(7) "English" "lang" => string(2) "en" "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) "4bc8c3b6c4e406c120202b2b757cafa84904da27" protected _identifier => string(1) "`" public last_query => string(685) "SELECT `offre`.`id` AS `offre:id`, `offre`.`date_creation` AS `offre:date_creation`, `offre`.`prix` AS `offre:prix`, `offre`.`li …" 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(13) "cromasarl_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) "2" "langue" => string(7) "Anglais" "nomaffichage" => string(7) "English" "lang" => string(2) "en" "visible" => string(1) "1" ) protected _valid => bool TRUE protected _serialize_columns => array(0) protected _primary_key_value => string(1) "2" 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 => NULL protected _route => object Route(6)
{ public lang => NULL protected _filters => array(0) protected _uri => string(31) "(<lang>)(/)motcle/detail(/<id>)" protected _regex => array(1) ( "lang" => string(10) "(en|fr|de)" ) protected _defaults => array(4) ( "controller" => string(6) "motcle" "action" => string(6) "detail" "seo_controller" => string(6) "Motcle" "lang" => string(2) "fr" ) protected _route_regex => string(76) "#^(?:(?P<lang>(en|fr|de)))?(?:/)?motcle/detail(?:/(?P<id>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Motcle" protected _action => string(6) "detail" protected _uri => string(27) "en/motcle/detail/0549212155" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "en" "id" => string(10) "0549212155" "seo_controller" => string(6) "Motcle" ) 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 => NULL protected _route => object Route(6)
{ public lang => NULL protected _filters => array(0) protected _uri => string(31) "(<lang>)(/)motcle/detail(/<id>)" protected _regex => array(1) ( "lang" => string(10) "(en|fr|de)" ) protected _defaults => array(4) ( "controller" => string(6) "motcle" "action" => string(6) "detail" "seo_controller" => string(6) "Motcle" "lang" => string(2) "fr" ) protected _route_regex => string(76) "#^(?:(?P<lang>(en|fr|de)))?(?:/)?motcle/detail(?:/(?P<id>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Motcle" protected _action => string(6) "detail" protected _uri => string(27) "en/motcle/detail/0549212155" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "en" "id" => string(10) "0549212155" "seo_controller" => string(6) "Motcle" ) 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 [ 123 ] » Multilang_Request->execute()
118 /** 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 echo Request::factory(TRUE, array(), FALSE) 123 ->execute() 124 ->send_headers(TRUE) 125 ->body(); 126 }