APPPATH/classes/Controller/Evenement.php [ 356 ]
351 $ok = 1;
352 }
353
354 // set-up the pagination
355 $pagination = Pagination::factory(array(
356 'total_items' => $nb_events,
357 'items_per_page' => 4, // this will override the default set in your config
358 ));
359
360
361 $records = $nb_events_results->offset($pagination->offset)->limit($pagination->items_per_page)->find_all();
-
APPPATH/classes/Controller/Evenement.php [ 356 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(29) "Undefined variable: nb_events"
2
string(108) "/var/www/vhosts/ns409066.ip-37-187-138.eu/guidestchristophe.com/application/classes/Controller/Evenement.php"
3
integer 356
4
array(10) ( "type_sql" => string(6) "SEJOUR" "type_event" => string(7) "séjour" "kohana_route" => string(6) "sejour" "meta" => object Model_Bo_Pages(37)
{ protected _db => object Database_MySQL(6)
"menu" => object View(2){ protected _connection_id => string(40) "02efb8b1fbb902a40dee39028be9f8e45ffa0ede" protected _identifier => string(1) "`" public last_query => string(245) "SELECT `gsc_evenements_sejours_themes`.`id` AS `id`, `gsc_evenements_sejours_themes`.`nom` AS `nom`, `gsc_evenements_sejours_the …" protected _instance => integer 10 protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "persistent" => bool FALSE "database" => string(3) "gsc" ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
protected _table_name => string(8) "bo_pages" protected _primary_key => string(2) "id" protected _filters => array(1) ( 1 => array(1) ( "trim" => NULL ) ) protected _rules => array(8) ( "id" => array(2) ( 0 => array(1) ( 0 => string(9) "not_empty" ) 1 => array(1) ( "range" => array(3) ( 0 => string(6) ":value" 1 => integer -2147483648 2 => integer 2147483647 ) ) ) "titre" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "page" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 65535 ) ) ) "slug" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "meta_description" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "meta_keywords" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "meta_title" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "is_dynamique" => array(1) ( 0 => array(1) ( "range" => array(3) ( 0 => string(6) ":value" 1 => integer -2147483648 2 => integer 2147483647 ) ) ) ) protected _labels => array(9) ( "id" => string(2) "Id" "titre" => string(5) "Titre" "page" => string(4) "Page" "date_crea" => string(9) "Date crea" "date_modif" => string(10) "Date modif" "slug" => string(4) "Slug" "meta_description" => string(16) "Meta description" "meta_keywords" => string(13) "Meta keywords" "meta_title" => string(10) "Meta title" ) protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(10) ( "id" => string(2) "12" "titre" => string(7) "Sejours" "page" => string(443) "<div> <p>Préparer votre séjour avec une sélection de lieux de visites, de randonnées pour déc …" "date_crea" => string(19) "2014-01-01 00:00:00" "date_modif" => string(19) "2016-01-07 13:39:07" "slug" => string(7) "sejours" "meta_description" => string(125) "Découvrez la liste des lieux de visites et d'excursions proches des habitats et lieux partenaires du Guide Saint-Christophe." "meta_keywords" => string(129) "Guide Saint Christophe, Pèlerinage, Périple, Randonnée, Patrimoine Culturel, Retraite Spirituelle, Excursion, Relais Circuit, " "meta_title" => string(79) "Sélection des circuits et des randonnées proches des hébergements spirituels" "is_dynamique" => string(1) "1" ) protected _changed => array(0) protected _original_values => array(10) ( "id" => string(2) "12" "titre" => string(7) "Sejours" "page" => string(443) "<div> <p>Préparer votre séjour avec une sélection de lieux de visites, de randonnées pour déc …" "date_crea" => string(19) "2014-01-01 00:00:00" "date_modif" => string(19) "2016-01-07 13:39:07" "slug" => string(7) "sejours" "meta_description" => string(125) "Découvrez la liste des lieux de visites et d'excursions proches des habitats et lieux partenaires du Guide Saint-Christophe." "meta_keywords" => string(129) "Guide Saint Christophe, Pèlerinage, Périple, Randonnée, Patrimoine Culturel, Retraite Spirituelle, Excursion, Relais Circuit, " "meta_title" => string(79) "Sélection des circuits et des randonnées proches des hébergements spirituels" "is_dynamique" => string(1) "1" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(8) "bo_pages" protected _object_plural => string(10) "bo_pageses" protected _table_columns => array(10) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "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 TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "page" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "page" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_crea" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_crea" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_modif" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "date_modif" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "slug" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(12) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_dynamique" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(12) "is_dynamique" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(2) "12" protected _table_names_plural => bool FALSE protected _reload_on_wakeup => bool TRUE protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(8) "bo_pages" }{ protected _file => string(90) "/var/www/vhosts/ns409066.ip-37-187-138.eu/guidestchristophe.com/application/views/menu.php" protected _data => array(1) ( "gsc_users_menu" => object Model_Gsc_Users(37)
"footer" => object View(2){ protected _db => object Database_MySQL(6)
) }{ protected _connection_id => string(40) "02efb8b1fbb902a40dee39028be9f8e45ffa0ede" protected _identifier => string(1) "`" public last_query => string(245) "SELECT `gsc_evenements_sejours_themes`.`id` AS `id`, `gsc_evenements_sejours_themes`.`nom` AS `nom`, `gsc_evenements_sejours_the …" protected _instance => integer 10 protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "persistent" => bool FALSE "database" => string(3) "gsc" ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
protected _table_name => string(9) "gsc_users" protected _primary_key => string(2) "id" protected _filters => array(1) ( 1 => array(1) ( "trim" => NULL ) ) protected _has_many => array(2) ( "gsc_users_avis" => array(4) ( "foreign_key" => string(12) "gsc_users_id" "through" => NULL "far_key" => string(16) "gsc_users_avi_id" "model" => string(14) "Gsc_Users_Avis" ) "gsc_users_favoris" => array(4) ( "foreign_key" => string(12) "gsc_users_id" "through" => NULL "far_key" => string(19) "gsc_users_favori_id" "model" => string(17) "Gsc_Users_Favoris" ) ) protected _rules => array(12) ( "id" => array(2) ( 0 => array(1) ( 0 => string(9) "not_empty" ) 1 => array(1) ( "range" => array(3) ( 0 => string(6) ":value" 1 => integer -2147483648 2 => integer 2147483647 ) ) ) "nom" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "prenom" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "civilite" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 45 ) ) ) "email" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "password" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "adresse_1" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "adresse_2" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "code_postal" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "ville" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "pays" => array(1) ( 0 => array(2) ( 0 => string(10) "max_length" 1 => array(2) ( 0 => string(6) ":value" 1 => integer 255 ) ) ) "optin_email" => array(1) ( 0 => array(1) ( "range" => array(3) ( 0 => string(6) ":value" 1 => integer -2147483648 2 => integer 2147483647 ) ) ) ) protected _labels => array(13) ( "id" => string(2) "Id" "nom" => string(3) "Nom" "prenom" => string(6) "Prenom" "civilite" => string(8) "Civilite" "email" => string(5) "Email" "password" => string(8) "Password" "adresse_1" => string(9) "Adresse 1" "adresse_2" => string(9) "Adresse 2" "code_postal" => string(11) "Code postal" "ville" => string(5) "Ville" "pays" => string(4) "Pays" "optin_email" => string(11) "Optin email" "date_crea" => string(9) "Date crea" ) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(15) ( "id" => NULL "nom" => NULL "prenom" => NULL "civilite" => NULL "email" => NULL "password" => NULL "adresse_1" => NULL "adresse_2" => NULL "code_postal" => NULL "ville" => NULL "pays" => NULL "optin_email" => NULL "optin_groupelemonde" => NULL "optin_partenaires" => NULL "date_crea" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(9) "gsc_users" protected _object_plural => string(11) "gsc_userses" protected _table_columns => array(15) ( "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" ) "nom" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "nom" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "prenom" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "prenom" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "civilite" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "civilite" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "45" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "email" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "email" "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(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "password" => array(12) ( "type" => string(6) "string" "binary" => bool TRUE "column_name" => string(8) "password" "column_default" => NULL "data_type" => string(9) "varbinary" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "255" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "adresse_1" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "adresse_1" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "adresse_2" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "adresse_2" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "code_postal" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "code_postal" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "ville" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "ville" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pays" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "pays" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "character_maximum_length" => string(3) "255" "collation_name" => string(8) "utf8_bin" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "optin_email" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "optin_email" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "optin_groupelemonde" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "optin_groupelemonde" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "optin_partenaires" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(17) "optin_partenaires" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_crea" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_crea" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool FALSE protected _reload_on_wakeup => bool TRUE protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(9) "gsc_users" }{ protected _file => string(92) "/var/www/vhosts/ns409066.ip-37-187-138.eu/guidestchristophe.com/application/views/footer.php" protected _data => array(0) }
"param" => string(23) "www.notredamedeparis.fr" "message" => object View(2){ protected _file => string(99) "/var/www/vhosts/ns409066.ip-37-187-138.eu/guidestchristophe.com/application/views/evenement_all.php" protected _data => array(5) ( "themes" => object Database_MySQL_Result(7)
"themes" => object Database_MySQL_Result(7){ protected _internal_row => integer 0 protected _query => string(245) "SELECT `gsc_evenements_sejours_themes`.`id` AS `id`, `gsc_evenements_sejours_themes`.`nom` AS `nom`, `gsc_evenements_sejours_the …" protected _result => resource(mysql result) protected _total_rows => integer 7 protected _current_row => integer 0 protected _as_object => string(35) "Model_Gsc_Evenements_Sejours_Themes" protected _object_params => NULL }
"type_event" => string(7) "séjour" "kohana_route" => string(6) "sejour" "date_selected" => string(2) "[]" "date_param" => string(0) "" ) }{ protected _internal_row => integer 0 protected _query => string(245) "SELECT `gsc_evenements_sejours_themes`.`id` AS `id`, `gsc_evenements_sejours_themes`.`nom` AS `nom`, `gsc_evenements_sejours_the …" protected _result => resource(mysql result) protected _total_rows => integer 7 protected _current_row => integer 0 protected _as_object => string(35) "Model_Gsc_Evenements_Sejours_Themes" protected _object_params => NULL }
"ok" => integer 0 )351 $ok = 1; 352 } 353 354 // set-up the pagination 355 $pagination = Pagination::factory(array( 356 'total_items' => $nb_events, 357 'items_per_page' => 4, // this will override the default set in your config 358 )); 359 360 361 $records = $nb_events_results->offset($pagination->offset)->limit($pagination->items_per_page)->find_all();
-
APPPATH/classes/Controller/Evenement.php [ 12 ] » Controller_Evenement->action_all()
7 $param = $this->request->param('param',''); 8 9 if(strpos($param,'.html')) 10 $this->action_one(); 11 else 12 $this->action_all(); 13 14 15 } 16 17 public function action_one()
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Evenement->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_Evenement(5)
{ public template => object View(2)
{ protected _file => string(94) "/var/www/vhosts/ns409066.ip-37-187-138.eu/guidestchristophe.com/application/views/template.php" protected _data => array(7) ( "title" => string(79) "Sélection des circuits et des randonnées proches des hébergements spirituels" "content" => string(0) "" "charset" => string(5) "utf-8" "display_fil_ariane" => string(0) "" "styles" => array(2) ( "media/css/evenement.css" => string(6) "screen" "media/css/jquery-ui-1.10.3.custom.css" => string(6) "screen" ) "scripts" => array(3) ( 0 => string(43) "media/js/lib/jquery-ui-1.10.3.custom.min.js" 1 => string(39) "media/js/lib/jquery.ui.datepicker-fr.js" 2 => string(26) "media/js/evenements_all.js" ) "meta" => array(2) ( "keywords" => string(129) "Guide Saint Christophe, Pèlerinage, Périple, Randonnée, Patrimoine Culturel, Retraite Spirituelle, Excursion, Relais Circuit, " "description" => string(125) "Découvrez la liste des lieux de visites et d'excursions proches des habitats et lieux partenaires du Guide Saint-Christophe." ) ) }
public gsc_users_menu => integer 0 public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(35) "nos-sejours(/<param>)(/page/<page>)" protected _regex => array(2) ( "param" => string(5) "[^/]*" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(9) "evenement" "action" => string(5) "index" "id" => integer 2 ) protected _route_regex => string(66) "#^nos-sejours(?:/(?P<param>[^/]*))?(?:/page/(?P<page>[0-9]+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "Evenement" protected _action => string(5) "index" protected _uri => string(35) "nos-sejours/www.notredamedeparis.fr" protected _external => bool FALSE protected _params => array(2) ( "param" => string(23) "www.notredamedeparis.fr" "id" => integer 2 ) 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)
}{ }
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 TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(35) "nos-sejours(/<param>)(/page/<page>)" protected _regex => array(2) ( "param" => string(5) "[^/]*" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(9) "evenement" "action" => string(5) "index" "id" => integer 2 ) protected _route_regex => string(66) "#^nos-sejours(?:/(?P<param>[^/]*))?(?:/page/(?P<page>[0-9]+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "Evenement" protected _action => string(5) "index" protected _uri => string(35) "nos-sejours/www.notredamedeparis.fr" protected _external => bool FALSE protected _params => array(2) ( "param" => string(23) "www.notredamedeparis.fr" "id" => integer 2 ) 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))
-
SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(35) "nos-sejours(/<param>)(/page/<page>)" protected _regex => array(2) ( "param" => string(5) "[^/]*" "page" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(9) "evenement" "action" => string(5) "index" "id" => integer 2 ) protected _route_regex => string(66) "#^nos-sejours(?:/(?P<param>[^/]*))?(?:/page/(?P<page>[0-9]+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(9) "Evenement" protected _action => string(5) "index" protected _uri => string(35) "nos-sejours/www.notredamedeparis.fr" protected _external => bool FALSE protected _params => array(2) ( "param" => string(23) "www.notredamedeparis.fr" "id" => integer 2 ) 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) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 118 ] » Kohana_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 122 123