@@ -105,7 +104,7 @@ $(function(){initNavTree('dir_91977dd5ba3542af9d4aecff9e888690.html','',''); });
diff --git a/html/dir_bfcb6842af0098861ea59b43701e0022.html b/html/dir_bfcb6842af0098861ea59b43701e0022.html
deleted file mode 100644
index 523aea6..0000000
--- a/html/dir_bfcb6842af0098861ea59b43701e0022.html
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
-
Folliow: C:/Users/Guill/projet_php/controllers Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Folliow
-
- Un projet de site web réaliser en PHP
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/html/dir_d6b6a3db1c3a00708b1a36123c6a63cc.html b/html/dir_d6b6a3db1c3a00708b1a36123c6a63cc.html
deleted file mode 100644
index d9b5324..0000000
--- a/html/dir_d6b6a3db1c3a00708b1a36123c6a63cc.html
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
-
-
-
-
Folliow: C:/Users/Guill Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Folliow
-
- Un projet de site web réaliser en PHP
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/html/dir_f880fbcdfabe64616040b95a4e03089d.html b/html/dir_f880fbcdfabe64616040b95a4e03089d.html
deleted file mode 100644
index 7ba12b4..0000000
--- a/html/dir_f880fbcdfabe64616040b95a4e03089d.html
+++ /dev/null
@@ -1,113 +0,0 @@
-
-
-
-
-
-
-
-
Folliow: C:/Users/Guill/projet_php/models Directory Reference
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Folliow
-
- Un projet de site web réaliser en PHP
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/html/doxygen_crawl.html b/html/doxygen_crawl.html
index e20d408..a7f0a67 100644
--- a/html/doxygen_crawl.html
+++ b/html/doxygen_crawl.html
@@ -157,11 +157,11 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/html/functions.html b/html/functions.html
index 5faf08f..a3d4020 100644
--- a/html/functions.html
+++ b/html/functions.html
@@ -28,7 +28,6 @@
Folliow
- Un projet de site web réaliser en PHP
diff --git a/html/functions_func.html b/html/functions_func.html
index 643e105..76745b0 100644
--- a/html/functions_func.html
+++ b/html/functions_func.html
@@ -28,7 +28,6 @@
Folliow
- Un projet de site web réaliser en PHP
diff --git a/html/hierarchy.html b/html/hierarchy.html
index 908ebcb..a10be6e 100644
--- a/html/hierarchy.html
+++ b/html/hierarchy.html
@@ -28,7 +28,6 @@
Folliow
- Un projet de site web réaliser en PHP
diff --git a/html/index.html b/html/index.html
index 48abdd8..72c8522 100644
--- a/html/index.html
+++ b/html/index.html
@@ -28,7 +28,6 @@
Folliow
- Un projet de site web réaliser en PHP
diff --git a/html/search/all_10.js b/html/search/all_10.js
deleted file mode 100644
index bca4de5..0000000
--- a/html/search/all_10.js
+++ /dev/null
@@ -1,10 +0,0 @@
-var searchData=
-[
- ['update_0',['update',['../class_models_1_1_user_model.html#a4f2888d0004092a367fa2d1b2620818f',1,'Models::UserModel']]],
- ['updateimagestatus_1',['updateImageStatus',['../class_models_1_1_project_model.html#aeb942ee7cfbea8509e49a5114228f53b',1,'Models::ProjectModel']]],
- ['updateproject_2',['updateProject',['../class_models_1_1_project_model.html#a1736ff58fc8fadf358ddb510b4c8d3f7',1,'Models::ProjectModel']]],
- ['user_3',['User',['../class_entities_1_1_user.html',1,'Entities']]],
- ['user_4',['user',['../class_controllers_1_1_user_ctrl.html#ae8a275690ff1b618e1947378b0ed73ae',1,'Controllers::UserCtrl']]],
- ['userctrl_5',['UserCtrl',['../class_controllers_1_1_user_ctrl.html',1,'Controllers']]],
- ['usermodel_6',['UserModel',['../class_models_1_1_user_model.html',1,'Models']]]
-];
diff --git a/html/search/all_11.js b/html/search/all_11.js
deleted file mode 100644
index d922979..0000000
--- a/html/search/all_11.js
+++ /dev/null
@@ -1,4 +0,0 @@
-var searchData=
-[
- ['verifuser_0',['verifUser',['../class_models_1_1_user_model.html#a04e007855c8aa842068779d8a871bb42',1,'Models::UserModel']]]
-];
diff --git a/html/search/all_12.js b/html/search/all_12.js
deleted file mode 100644
index 93dc4b6..0000000
--- a/html/search/all_12.js
+++ /dev/null
@@ -1,4 +0,0 @@
-var searchData=
-[
- ['–_20projet_20php_0',['Folliow – Projet PHP',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md0',1,'']]]
-];
diff --git a/html/search/all_5.js b/html/search/all_5.js
index be7e39a..ccf331c 100644
--- a/html/search/all_5.js
+++ b/html/search/all_5.js
@@ -1,15 +1,12 @@
var searchData=
[
- ['features_0',['Features',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md2',1,'']]],
- ['findall_1',['findAll',['../class_models_1_1_project_model.html#acbfa7e289b7712cf5200f398cff05c43',1,'Models::ProjectModel']]],
- ['findallauthorisation_2',['findAllAuthorisation',['../class_models_1_1_authorisation_model.html#af7bd93cc2fd6ac548707d3a66a8380df',1,'Models::AuthorisationModel']]],
- ['findallcategory_3',['findAllCategory',['../class_models_1_1_category_model.html#a4e6d48b9130d9cb4cc08a88cef84e8f9',1,'Models::CategoryModel']]],
- ['findallimage_4',['findAllImage',['../class_models_1_1_image_model.html#aaf9e88eb8d1aff57a085e1d38de15060',1,'Models::ImageModel']]],
- ['findallusers_5',['findAllUsers',['../class_models_1_1_user_model.html#a404b6b890d58bfa7220da4a08a60f445',1,'Models::UserModel']]],
- ['findimage_6',['findImage',['../class_models_1_1_project_model.html#a0a8e47e6d6b839638ab85addfda45e3b',1,'Models::ProjectModel']]],
- ['findone_7',['findOne',['../class_models_1_1_project_model.html#ae0fabc6b177cda25efeee083f904c207',1,'Models::ProjectModel']]],
- ['finduserbyid_8',['findUserById',['../class_models_1_1_user_model.html#a6620c458b01ecbb1ed76083a4ac2345e',1,'Models::UserModel']]],
- ['finduserbypseudo_9',['findUserByPseudo',['../class_models_1_1_user_model.html#a9f95476e8b07dbc01f711f36672684ad',1,'Models::UserModel']]],
- ['folliow_20–_20projet_20php_10',['Folliow – Projet PHP',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md0',1,'']]],
- ['future_20improvements_11',['Future Improvements',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md12',1,'']]]
+ ['findall_0',['findAll',['../class_models_1_1_project_model.html#acbfa7e289b7712cf5200f398cff05c43',1,'Models::ProjectModel']]],
+ ['findallauthorisation_1',['findAllAuthorisation',['../class_models_1_1_authorisation_model.html#af7bd93cc2fd6ac548707d3a66a8380df',1,'Models::AuthorisationModel']]],
+ ['findallcategory_2',['findAllCategory',['../class_models_1_1_category_model.html#a4e6d48b9130d9cb4cc08a88cef84e8f9',1,'Models::CategoryModel']]],
+ ['findallimage_3',['findAllImage',['../class_models_1_1_image_model.html#aaf9e88eb8d1aff57a085e1d38de15060',1,'Models::ImageModel']]],
+ ['findallusers_4',['findAllUsers',['../class_models_1_1_user_model.html#a404b6b890d58bfa7220da4a08a60f445',1,'Models::UserModel']]],
+ ['findimage_5',['findImage',['../class_models_1_1_project_model.html#a0a8e47e6d6b839638ab85addfda45e3b',1,'Models::ProjectModel']]],
+ ['findone_6',['findOne',['../class_models_1_1_project_model.html#ae0fabc6b177cda25efeee083f904c207',1,'Models::ProjectModel']]],
+ ['finduserbyid_7',['findUserById',['../class_models_1_1_user_model.html#a6620c458b01ecbb1ed76083a4ac2345e',1,'Models::UserModel']]],
+ ['finduserbypseudo_8',['findUserByPseudo',['../class_models_1_1_user_model.html#a9f95476e8b07dbc01f711f36672684ad',1,'Models::UserModel']]]
];
diff --git a/html/search/all_8.js b/html/search/all_8.js
index 91ecce8..353b00e 100644
--- a/html/search/all_8.js
+++ b/html/search/all_8.js
@@ -2,8 +2,6 @@ var searchData=
[
['image_0',['Image',['../class_entities_1_1_image.html',1,'Entities']]],
['imagemodel_1',['ImageModel',['../class_models_1_1_image_model.html',1,'Models']]],
- ['improvements_2',['Future Improvements',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md12',1,'']]],
- ['insert_3',['insert',['../class_models_1_1_project_model.html#ad2a2f3e436d06db0fc4af3c44c867805',1,'Models\\ProjectModel\\insert()'],['../class_models_1_1_user_model.html#ab0eb29a478a1230d479aee1046b0f1dc',1,'Models\\UserModel\\insert()']]],
- ['insertcategory_4',['insertCategory',['../class_models_1_1_category_model.html#a1102f9228de8f7938a1f35a3abbc2dc7',1,'Models::CategoryModel']]],
- ['installation_5',['Installation',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md8',1,'']]]
+ ['insert_2',['insert',['../class_models_1_1_project_model.html#ad2a2f3e436d06db0fc4af3c44c867805',1,'Models\\ProjectModel\\insert()'],['../class_models_1_1_user_model.html#ab0eb29a478a1230d479aee1046b0f1dc',1,'Models\\UserModel\\insert()']]],
+ ['insertcategory_3',['insertCategory',['../class_models_1_1_category_model.html#a1102f9228de8f7938a1f35a3abbc2dc7',1,'Models::CategoryModel']]]
];
diff --git a/html/search/all_9.js b/html/search/all_9.js
index 755a71a..3d02d06 100644
--- a/html/search/all_9.js
+++ b/html/search/all_9.js
@@ -1,7 +1,5 @@
var searchData=
[
- ['learning_20objectives_0',['Learning Objectives',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md10',1,'']]],
- ['license_1',['License',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md14',1,'']]],
- ['login_2',['login',['../class_controllers_1_1_user_ctrl.html#aa311da27ba5706f5710cea7706c8eae1',1,'Controllers::UserCtrl']]],
- ['logout_3',['logout',['../class_controllers_1_1_user_ctrl.html#a082405d89acd6835c3a7c7a08a7adbab',1,'Controllers::UserCtrl']]]
+ ['login_0',['login',['../class_controllers_1_1_user_ctrl.html#aa311da27ba5706f5710cea7706c8eae1',1,'Controllers::UserCtrl']]],
+ ['logout_1',['logout',['../class_controllers_1_1_user_ctrl.html#a082405d89acd6835c3a7c7a08a7adbab',1,'Controllers::UserCtrl']]]
];
diff --git a/html/search/all_b.js b/html/search/all_b.js
index 3c88a3a..4711197 100644
--- a/html/search/all_b.js
+++ b/html/search/all_b.js
@@ -1,4 +1,8 @@
var searchData=
[
- ['objectives_0',['Learning Objectives',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md10',1,'']]]
+ ['pagectrl_0',['PageCtrl',['../class_controllers_1_1_page_ctrl.html',1,'Controllers']]],
+ ['project_1',['Project',['../class_entities_1_1_project.html',1,'Entities']]],
+ ['projectctrl_2',['ProjectCtrl',['../class_controllers_1_1_project_ctrl.html',1,'Controllers']]],
+ ['projectmodel_3',['ProjectModel',['../class_models_1_1_project_model.html',1,'Models']]],
+ ['pseudoexists_4',['pseudoExists',['../class_models_1_1_user_model.html#aaf42cd7de4bddf6d3a075aa9bc252b8f',1,'Models::UserModel']]]
];
diff --git a/html/search/all_c.js b/html/search/all_c.js
index b4b41a3..ce196b2 100644
--- a/html/search/all_c.js
+++ b/html/search/all_c.js
@@ -1,11 +1,5 @@
var searchData=
[
- ['pagectrl_0',['PageCtrl',['../class_controllers_1_1_page_ctrl.html',1,'Controllers']]],
- ['php_1',['Folliow – Projet PHP',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md0',1,'']]],
- ['project_2',['Project',['../class_entities_1_1_project.html',1,'Entities']]],
- ['project_20structure_3',['Project Structure',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md6',1,'']]],
- ['projectctrl_4',['ProjectCtrl',['../class_controllers_1_1_project_ctrl.html',1,'Controllers']]],
- ['projectmodel_5',['ProjectModel',['../class_models_1_1_project_model.html',1,'Models']]],
- ['projet_20php_6',['Folliow – Projet PHP',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md0',1,'']]],
- ['pseudoexists_7',['pseudoExists',['../class_models_1_1_user_model.html#aaf42cd7de4bddf6d3a075aa9bc252b8f',1,'Models::UserModel']]]
+ ['refuse_0',['refuse',['../class_controllers_1_1_project_ctrl.html#a68a43ec4877b5210ef8ad989fbc14d82',1,'Controllers\\ProjectCtrl\\refuse()'],['../class_models_1_1_project_model.html#a64714f38f74ab942d027f04e86e40d25',1,'Models\\ProjectModel\\refuse()']]],
+ ['remember_1',['remember',['../class_models_1_1_user_model.html#a30563e7cabc0c9aa2bf4157b241ad55a',1,'Models::UserModel']]]
];
diff --git a/html/search/all_d.js b/html/search/all_d.js
index ce196b2..ad2e860 100644
--- a/html/search/all_d.js
+++ b/html/search/all_d.js
@@ -1,5 +1,31 @@
var searchData=
[
- ['refuse_0',['refuse',['../class_controllers_1_1_project_ctrl.html#a68a43ec4877b5210ef8ad989fbc14d82',1,'Controllers\\ProjectCtrl\\refuse()'],['../class_models_1_1_project_model.html#a64714f38f74ab942d027f04e86e40d25',1,'Models\\ProjectModel\\refuse()']]],
- ['remember_1',['remember',['../class_models_1_1_user_model.html#a30563e7cabc0c9aa2bf4157b241ad55a',1,'Models::UserModel']]]
+ ['search_0',['search',['../class_controllers_1_1_project_ctrl.html#a796bf438724e047aeef18579732a3780',1,'Controllers::ProjectCtrl']]],
+ ['sendemail_1',['sendEmail',['../class_controllers_1_1_project_ctrl.html#a6665aeb6e312ea89283ce785f0dfad60',1,'Controllers::ProjectCtrl']]],
+ ['setaccountcreation_2',['setAccountCreation',['../class_entities_1_1_user.html#aa8eb1e10f1ab32dcfa4df144fe02ba16',1,'Entities::User']]],
+ ['setalt_3',['setAlt',['../class_entities_1_1_image.html#a23d9d1d65334db3a72b3c19e146cfe28',1,'Entities::Image']]],
+ ['setbirth_4',['setBirth',['../class_entities_1_1_user.html#a4a6578fae7673e253c0ddb1f95cf227c',1,'Entities::User']]],
+ ['setcategory_5',['setCategory',['../class_entities_1_1_project.html#a309475f82c8fca1a84f96f802f05a5fb',1,'Entities::Project']]],
+ ['setcontent_6',['setContent',['../class_entities_1_1_project.html#a04a5eddb7c3abc7bf31fa25b58f046bf',1,'Entities::Project']]],
+ ['setcreation_5fdate_7',['setCreation_date',['../class_entities_1_1_project.html#a547ac5297a9b9efc8a4b6bef00eb6c2e',1,'Entities::Project']]],
+ ['setcreatorname_8',['setCreatorName',['../class_entities_1_1_project.html#aa37594941aea25a0f0d3a33d6a8757b7',1,'Entities::Project']]],
+ ['setdescription_9',['setDescription',['../class_entities_1_1_project.html#a31fad3e39336ea079ea758e051866627',1,'Entities\\Project\\setDescription()'],['../class_entities_1_1_user.html#a3eda7afea80371b606cd289c66ab3e7c',1,'Entities\\User\\setDescription(string $description)']]],
+ ['setfirstname_10',['setFirstname',['../class_entities_1_1_user.html#a102793bdeeaa7eaa2bca4e31eb3782e5',1,'Entities::User']]],
+ ['setid_11',['setId',['../class_entities_1_1_authorisation.html#af8e956b8b0343ff7d1b955c26cb0c780',1,'Entities\\Authorisation\\setId()'],['../class_entities_1_1_category.html#a87313ad678fb2a2a8efb435cf0bdb9a0',1,'Entities\\Category\\setId()'],['../class_entities_1_1_image.html#a87313ad678fb2a2a8efb435cf0bdb9a0',1,'Entities\\Image\\setId()'],['../class_entities_1_1_project.html#af8e956b8b0343ff7d1b955c26cb0c780',1,'Entities\\Project\\setId()'],['../class_entities_1_1_user.html#af8e956b8b0343ff7d1b955c26cb0c780',1,'Entities\\User\\setId(int $id)']]],
+ ['setimage_12',['setImage',['../class_entities_1_1_user.html#a6c7550f5363e74b3ee9225bf85e11b8d',1,'Entities::User']]],
+ ['setlocation_13',['setLocation',['../class_entities_1_1_user.html#a4c5c6e78f1e8c0ae4bf416d0f0d73ef1',1,'Entities::User']]],
+ ['setmail_14',['setMail',['../class_entities_1_1_user.html#ad5ba083b208ed11aa16938a8ba87a78c',1,'Entities::User']]],
+ ['setname_15',['setName',['../class_entities_1_1_authorisation.html#a392752b62c4f6aacea5c269690921ef3',1,'Entities\\Authorisation\\setName()'],['../class_entities_1_1_category.html#a2fe666694997d047711d7653eca2f132',1,'Entities\\Category\\setName()'],['../class_entities_1_1_image.html#a2fe666694997d047711d7653eca2f132',1,'Entities\\Image\\setName()'],['../class_entities_1_1_user.html#a392752b62c4f6aacea5c269690921ef3',1,'Entities\\User\\setName()']]],
+ ['setparent_16',['setParent',['../class_entities_1_1_category.html#a3b949fc022c82eb25e8650e0e01404fa',1,'Entities::Category']]],
+ ['setphone_17',['setPhone',['../class_entities_1_1_user.html#a652bfdb5ce275246ece54449fe5ca59e',1,'Entities::User']]],
+ ['setproject_5fdeleted_5fat_18',['setProject_deleted_at',['../class_entities_1_1_project.html#a621433ce4917a196047b78e58e38d7fe',1,'Entities::Project']]],
+ ['setpseudo_19',['setPseudo',['../class_entities_1_1_user.html#a02d546b854db37406ec591d3e16809eb',1,'Entities::User']]],
+ ['setpwd_20',['setPwd',['../class_entities_1_1_user.html#a9cc7dc33859895f98da4e22f5ae1a9bf',1,'Entities::User']]],
+ ['setstatus_21',['setStatus',['../class_entities_1_1_image.html#a7d02c100d684fe1dffc6cb3486a48511',1,'Entities\\Image\\setStatus()'],['../class_entities_1_1_project.html#a7d02c100d684fe1dffc6cb3486a48511',1,'Entities\\Project\\setStatus()'],['../class_entities_1_1_user.html#a2f8308ff566858664b95361214f29eac',1,'Entities\\User\\setStatus()']]],
+ ['setthumbnail_22',['setThumbnail',['../class_entities_1_1_project.html#a89bdfd911301f4ac284a937e93f4de50',1,'Entities::Project']]],
+ ['settitle_23',['setTitle',['../class_entities_1_1_project.html#a884ba9bb0d54bde7839e798db7964476',1,'Entities::Project']]],
+ ['setuser_5fid_24',['setUser_id',['../class_entities_1_1_project.html#a74bdd06d4bca0de42e55bdf7763ebfc4',1,'Entities::Project']]],
+ ['setuser_5fimage_25',['setUser_image',['../class_entities_1_1_project.html#a17164d0ccbccaceb60280836d060e21f',1,'Entities::Project']]],
+ ['setwork_26',['setWork',['../class_entities_1_1_user.html#ae6c2c46108019bd83091add6417eb894',1,'Entities::User']]],
+ ['signup_27',['signup',['../class_controllers_1_1_user_ctrl.html#a852ed40b79f143c1478699d908f46957',1,'Controllers::UserCtrl']]]
];
diff --git a/html/search/all_e.js b/html/search/all_e.js
index a013425..bca4de5 100644
--- a/html/search/all_e.js
+++ b/html/search/all_e.js
@@ -1,33 +1,10 @@
var searchData=
[
- ['search_0',['search',['../class_controllers_1_1_project_ctrl.html#a796bf438724e047aeef18579732a3780',1,'Controllers::ProjectCtrl']]],
- ['sendemail_1',['sendEmail',['../class_controllers_1_1_project_ctrl.html#a6665aeb6e312ea89283ce785f0dfad60',1,'Controllers::ProjectCtrl']]],
- ['setaccountcreation_2',['setAccountCreation',['../class_entities_1_1_user.html#aa8eb1e10f1ab32dcfa4df144fe02ba16',1,'Entities::User']]],
- ['setalt_3',['setAlt',['../class_entities_1_1_image.html#a23d9d1d65334db3a72b3c19e146cfe28',1,'Entities::Image']]],
- ['setbirth_4',['setBirth',['../class_entities_1_1_user.html#a4a6578fae7673e253c0ddb1f95cf227c',1,'Entities::User']]],
- ['setcategory_5',['setCategory',['../class_entities_1_1_project.html#a309475f82c8fca1a84f96f802f05a5fb',1,'Entities::Project']]],
- ['setcontent_6',['setContent',['../class_entities_1_1_project.html#a04a5eddb7c3abc7bf31fa25b58f046bf',1,'Entities::Project']]],
- ['setcreation_5fdate_7',['setCreation_date',['../class_entities_1_1_project.html#a547ac5297a9b9efc8a4b6bef00eb6c2e',1,'Entities::Project']]],
- ['setcreatorname_8',['setCreatorName',['../class_entities_1_1_project.html#aa37594941aea25a0f0d3a33d6a8757b7',1,'Entities::Project']]],
- ['setdescription_9',['setDescription',['../class_entities_1_1_project.html#a31fad3e39336ea079ea758e051866627',1,'Entities\\Project\\setDescription()'],['../class_entities_1_1_user.html#a3eda7afea80371b606cd289c66ab3e7c',1,'Entities\\User\\setDescription(string $description)']]],
- ['setfirstname_10',['setFirstname',['../class_entities_1_1_user.html#a102793bdeeaa7eaa2bca4e31eb3782e5',1,'Entities::User']]],
- ['setid_11',['setId',['../class_entities_1_1_authorisation.html#af8e956b8b0343ff7d1b955c26cb0c780',1,'Entities\\Authorisation\\setId()'],['../class_entities_1_1_category.html#a87313ad678fb2a2a8efb435cf0bdb9a0',1,'Entities\\Category\\setId()'],['../class_entities_1_1_image.html#a87313ad678fb2a2a8efb435cf0bdb9a0',1,'Entities\\Image\\setId()'],['../class_entities_1_1_project.html#af8e956b8b0343ff7d1b955c26cb0c780',1,'Entities\\Project\\setId()'],['../class_entities_1_1_user.html#af8e956b8b0343ff7d1b955c26cb0c780',1,'Entities\\User\\setId(int $id)']]],
- ['setimage_12',['setImage',['../class_entities_1_1_user.html#a6c7550f5363e74b3ee9225bf85e11b8d',1,'Entities::User']]],
- ['setlocation_13',['setLocation',['../class_entities_1_1_user.html#a4c5c6e78f1e8c0ae4bf416d0f0d73ef1',1,'Entities::User']]],
- ['setmail_14',['setMail',['../class_entities_1_1_user.html#ad5ba083b208ed11aa16938a8ba87a78c',1,'Entities::User']]],
- ['setname_15',['setName',['../class_entities_1_1_authorisation.html#a392752b62c4f6aacea5c269690921ef3',1,'Entities\\Authorisation\\setName()'],['../class_entities_1_1_category.html#a2fe666694997d047711d7653eca2f132',1,'Entities\\Category\\setName()'],['../class_entities_1_1_image.html#a2fe666694997d047711d7653eca2f132',1,'Entities\\Image\\setName()'],['../class_entities_1_1_user.html#a392752b62c4f6aacea5c269690921ef3',1,'Entities\\User\\setName()']]],
- ['setparent_16',['setParent',['../class_entities_1_1_category.html#a3b949fc022c82eb25e8650e0e01404fa',1,'Entities::Category']]],
- ['setphone_17',['setPhone',['../class_entities_1_1_user.html#a652bfdb5ce275246ece54449fe5ca59e',1,'Entities::User']]],
- ['setproject_5fdeleted_5fat_18',['setProject_deleted_at',['../class_entities_1_1_project.html#a621433ce4917a196047b78e58e38d7fe',1,'Entities::Project']]],
- ['setpseudo_19',['setPseudo',['../class_entities_1_1_user.html#a02d546b854db37406ec591d3e16809eb',1,'Entities::User']]],
- ['setpwd_20',['setPwd',['../class_entities_1_1_user.html#a9cc7dc33859895f98da4e22f5ae1a9bf',1,'Entities::User']]],
- ['setstatus_21',['setStatus',['../class_entities_1_1_image.html#a7d02c100d684fe1dffc6cb3486a48511',1,'Entities\\Image\\setStatus()'],['../class_entities_1_1_project.html#a7d02c100d684fe1dffc6cb3486a48511',1,'Entities\\Project\\setStatus()'],['../class_entities_1_1_user.html#a2f8308ff566858664b95361214f29eac',1,'Entities\\User\\setStatus()']]],
- ['setthumbnail_22',['setThumbnail',['../class_entities_1_1_project.html#a89bdfd911301f4ac284a937e93f4de50',1,'Entities::Project']]],
- ['settitle_23',['setTitle',['../class_entities_1_1_project.html#a884ba9bb0d54bde7839e798db7964476',1,'Entities::Project']]],
- ['setuser_5fid_24',['setUser_id',['../class_entities_1_1_project.html#a74bdd06d4bca0de42e55bdf7763ebfc4',1,'Entities::Project']]],
- ['setuser_5fimage_25',['setUser_image',['../class_entities_1_1_project.html#a17164d0ccbccaceb60280836d060e21f',1,'Entities::Project']]],
- ['setwork_26',['setWork',['../class_entities_1_1_user.html#ae6c2c46108019bd83091add6417eb894',1,'Entities::User']]],
- ['signup_27',['signup',['../class_controllers_1_1_user_ctrl.html#a852ed40b79f143c1478699d908f46957',1,'Controllers::UserCtrl']]],
- ['stack_28',['Tech Stack',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md4',1,'']]],
- ['structure_29',['Project Structure',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md6',1,'']]]
+ ['update_0',['update',['../class_models_1_1_user_model.html#a4f2888d0004092a367fa2d1b2620818f',1,'Models::UserModel']]],
+ ['updateimagestatus_1',['updateImageStatus',['../class_models_1_1_project_model.html#aeb942ee7cfbea8509e49a5114228f53b',1,'Models::ProjectModel']]],
+ ['updateproject_2',['updateProject',['../class_models_1_1_project_model.html#a1736ff58fc8fadf358ddb510b4c8d3f7',1,'Models::ProjectModel']]],
+ ['user_3',['User',['../class_entities_1_1_user.html',1,'Entities']]],
+ ['user_4',['user',['../class_controllers_1_1_user_ctrl.html#ae8a275690ff1b618e1947378b0ed73ae',1,'Controllers::UserCtrl']]],
+ ['userctrl_5',['UserCtrl',['../class_controllers_1_1_user_ctrl.html',1,'Controllers']]],
+ ['usermodel_6',['UserModel',['../class_models_1_1_user_model.html',1,'Models']]]
];
diff --git a/html/search/all_f.js b/html/search/all_f.js
index cabc0de..d922979 100644
--- a/html/search/all_f.js
+++ b/html/search/all_f.js
@@ -1,4 +1,4 @@
var searchData=
[
- ['tech_20stack_0',['Tech Stack',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md4',1,'']]]
+ ['verifuser_0',['verifUser',['../class_models_1_1_user_model.html#a04e007855c8aa842068779d8a871bb42',1,'Models::UserModel']]]
];
diff --git a/html/search/pages_0.js b/html/search/pages_0.js
deleted file mode 100644
index 0fea1ad..0000000
--- a/html/search/pages_0.js
+++ /dev/null
@@ -1,6 +0,0 @@
-var searchData=
-[
- ['features_0',['Features',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md2',1,'']]],
- ['folliow_20–_20projet_20php_1',['Folliow – Projet PHP',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md0',1,'']]],
- ['future_20improvements_2',['Future Improvements',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md12',1,'']]]
-];
diff --git a/html/search/pages_1.js b/html/search/pages_1.js
deleted file mode 100644
index 51cc0fb..0000000
--- a/html/search/pages_1.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var searchData=
-[
- ['improvements_0',['Future Improvements',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md12',1,'']]],
- ['installation_1',['Installation',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md8',1,'']]]
-];
diff --git a/html/search/pages_2.js b/html/search/pages_2.js
deleted file mode 100644
index 9c9b847..0000000
--- a/html/search/pages_2.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var searchData=
-[
- ['learning_20objectives_0',['Learning Objectives',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md10',1,'']]],
- ['license_1',['License',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md14',1,'']]]
-];
diff --git a/html/search/pages_3.js b/html/search/pages_3.js
deleted file mode 100644
index 3c88a3a..0000000
--- a/html/search/pages_3.js
+++ /dev/null
@@ -1,4 +0,0 @@
-var searchData=
-[
- ['objectives_0',['Learning Objectives',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md10',1,'']]]
-];
diff --git a/html/search/pages_4.js b/html/search/pages_4.js
deleted file mode 100644
index 00a588a..0000000
--- a/html/search/pages_4.js
+++ /dev/null
@@ -1,6 +0,0 @@
-var searchData=
-[
- ['php_0',['Folliow – Projet PHP',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md0',1,'']]],
- ['project_20structure_1',['Project Structure',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md6',1,'']]],
- ['projet_20php_2',['Folliow – Projet PHP',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md0',1,'']]]
-];
diff --git a/html/search/pages_5.js b/html/search/pages_5.js
deleted file mode 100644
index cc6d51c..0000000
--- a/html/search/pages_5.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var searchData=
-[
- ['stack_0',['Tech Stack',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md4',1,'']]],
- ['structure_1',['Project Structure',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md6',1,'']]]
-];
diff --git a/html/search/pages_6.js b/html/search/pages_6.js
deleted file mode 100644
index cabc0de..0000000
--- a/html/search/pages_6.js
+++ /dev/null
@@ -1,4 +0,0 @@
-var searchData=
-[
- ['tech_20stack_0',['Tech Stack',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md4',1,'']]]
-];
diff --git a/html/search/pages_7.js b/html/search/pages_7.js
deleted file mode 100644
index 93dc4b6..0000000
--- a/html/search/pages_7.js
+++ /dev/null
@@ -1,4 +0,0 @@
-var searchData=
-[
- ['–_20projet_20php_0',['Folliow – Projet PHP',['../dir_3a74e34fc6fa82edd10e4beee4ded801.html#autotoc_md0',1,'']]]
-];
diff --git a/html/search/searchdata.js b/html/search/searchdata.js
index 7ece18c..d6cd187 100644
--- a/html/search/searchdata.js
+++ b/html/search/searchdata.js
@@ -1,24 +1,21 @@
var indexSectionsWithContent =
{
- 0: "_acdefghilmoprstuv–",
+ 0: "_acdefghilmprsuv",
1: "aceimpu",
- 2: "_acdefghilmprsuv",
- 3: "filopst–"
+ 2: "_acdefghilmprsuv"
};
var indexSectionNames =
{
0: "all",
1: "classes",
- 2: "functions",
- 3: "pages"
+ 2: "functions"
};
var indexSectionLabels =
{
0: "All",
1: "Data Structures",
- 2: "Functions",
- 3: "Pages"
+ 2: "Functions"
};
diff --git a/index.php b/index.php
index 72358a6..0b6c7b0 100644
--- a/index.php
+++ b/index.php
@@ -2,11 +2,12 @@
session_start();
require(__DIR__ . "/vendor/autoload.php");
+ // Environnement
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->safeLoad();
- $strCtrl = preg_replace('/[^a-zA-Z]/', '', $_GET['ctrl'] ?? 'project');
- $strMethod = preg_replace('/[^a-zA-Z_]/', '', $_GET['action'] ?? 'home');
+ $strCtrl = $_GET['ctrl'] ?? 'project';
+ $strMethod = $_GET['action'] ?? 'home';
$strClassName = "Controllers\\" . ucfirst($strCtrl) . "Ctrl";
@@ -25,8 +26,6 @@
}
if ($boolError) {
- http_response_code(404); // ← important pour le SEO et les navigateurs
- $error = new \Controllers\ErrorCtrl();
- $error->error_404(); // ← pas de "return", juste l'appel
- exit; // ← stoppe l'exécution après l'affichage
+ header("Location: index.php?ctrl=error&action=error_404");
+ exit;
}
\ No newline at end of file
diff --git a/models/CategoryModel.php b/models/CategoryModel.php
index 3ce1dc4..2511e11 100644
--- a/models/CategoryModel.php
+++ b/models/CategoryModel.php
@@ -22,18 +22,10 @@
FROM category";
if ($intLimit > 0){
- $strRq .= " LIMIT :limit";
+ $strRq .= " LIMIT ".$intLimit;
}
- $rqPrep = $this->_db->prepare($strRq);
-
- if ($intLimit > 0){
- $rqPrep->bindValue(":limit", $intLimit, PDO::PARAM_INT);
- }
-
- $rqPrep->execute();
-
- return $rqPrep->fetchAll();
+ return $this->_db->query($strRq)->fetchAll();
}
/**
diff --git a/models/ImageModel.php b/models/ImageModel.php
index c3cc95d..c471da4 100644
--- a/models/ImageModel.php
+++ b/models/ImageModel.php
@@ -22,18 +22,11 @@
$strRq = "SELECT image.*
FROM image";
- if ($intLimit > 0){
- $strRq .= " LIMIT :limit";
- }
-
- $rqPrep = $this->_db->prepare($strRq);
-
- if ($intLimit > 0){
- $rqPrep->bindValue(":limit", $intLimit, PDO::PARAM_INT);
- }
- $rqPrep->execute();
+ if ($intLimit > 0){
+ $strRq .= " LIMIT ".$intLimit;
+ }
- return $rqPrep->fetchAll();
+ return $this->_db->query($strRq)->fetchAll();
}
}
\ No newline at end of file
diff --git a/models/MotherModel.php b/models/MotherModel.php
index 079d791..df9f2f7 100644
--- a/models/MotherModel.php
+++ b/models/MotherModel.php
@@ -10,9 +10,9 @@
public function __construct(){
try{
$this->_db = new PDO(
- "mysql:host=".$_ENV['DB_HOSTNAME'].";dbname=".$_ENV['DB_DATABASE'],
- $_ENV['DB_USERNAME'],
- $_ENV['DB_PASSWORD'],
+ "mysql:host=localhost;dbname=projet_folliow",
+ "projet_user",
+ "F0lliowRules!",
array(PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC)
);
$this->_db->exec("SET CHARACTER SET utf8");
diff --git a/models/ProjectModel.php b/models/ProjectModel.php
index 5e1b89f..a248884 100644
--- a/models/ProjectModel.php
+++ b/models/ProjectModel.php
@@ -23,84 +23,58 @@
string $strEndDate='', int $intCategory=0, bool $boolOlderThan6Months=false): array {
- $strRq = "SELECT project.*,
+ $strRq = "SELECT project.*,
user_pseudo AS 'project_creatorname',
user_image
FROM project
- INNER JOIN users ON user_id = project_user_id
- WHERE 1=1";
+ INNER JOIN users ON user_id = project_user_id";
+
+ $strRq .= " WHERE project_deleted_at IS NULL";
+
+ $strAnd = " AND ";
if ($strKeywords != '') {
- $strRq .= " AND (project_title LIKE :keywords OR project_content LIKE :keywords)";
+
+ $strSafeKeywords = $this->_db->quote("%" . $strKeywords . "%");
+
+ $strRq .= $strAnd. " (project_title LIKE ".$strSafeKeywords."
+ OR project_content LIKE ".$strSafeKeywords.") ";
+
}
if ($intAuthor > 0){
- $strRq .= " AND project_user_id = :author";
- }
+ $strRq .= $strAnd." user_id = ".$intAuthor;
+ }
if ($intCategory > 0){
- $strRq .= " AND project_category = :category";
+ $strRq .= $strAnd." project_category = ".$intCategory;
}
-
if ($boolOlderThan6Months === true) {
- $strRq .= " AND project_creation_date <= DATE_SUB(NOW(), INTERVAL 6 MONTH)";
+ $strRq .= $strAnd . " project_creation_date <= DATE_SUB(NOW(), INTERVAL 6 MONTH) ";
}
-
if ($intPeriod == 0){
if ($strDate != ''){
- $strRq .= " AND project_creation_date = :date_exacte";
+ $strRq .= $strAnd." project_creation_date = '".$strDate."'";
}
- } else {
+ }else{
if ($strStartDate != '' && $strEndDate != ''){
- $strRq .= " AND project_creation_date BETWEEN :date_debut AND :date_fin";
- } else {
+ $strRq .= $strAnd." project_creation_date BETWEEN '".$strStartDate."' AND '".$strEndDate."'";
+ }else{
if ($strStartDate != ''){
- $strRq .= " AND project_creation_date >= :date_debut";
- } else if ($strEndDate != ''){
- $strRq .= " AND project_creation_date <= :date_fin";
+ $strRq .= $strAnd." project_creation_date >= '".$strStartDate."'";
+ }else if ($strEndDate != ''){
+ $strRq .= $strAnd." project_creation_date <= '".$strEndDate."'";
}
}
}
-
+
$strRq .= " ORDER BY project_creation_date DESC";
if ($intLimit > 0){
- $strRq .= " LIMIT :limit";
+ $strRq .= " LIMIT ".$intLimit;
}
- $rqPrep = $this->_db->prepare($strRq);
-
- if ($strKeywords != '') {
- $rqPrep->bindValue(':keywords', '%' . $strKeywords . '%', PDO::PARAM_STR);
- }
- if ($intAuthor > 0){
- $rqPrep->bindValue(':author', $intAuthor, PDO::PARAM_INT);
- }
- if ($intCategory > 0){
- $rqPrep->bindValue(':category', $intCategory, PDO::PARAM_INT);
- }
- if ($intPeriod == 0){
- if ($strDate != ''){
- $rqPrep->bindValue(':date_exacte', $strDate, PDO::PARAM_STR);
- }
- } else {
- if ($strStartDate != '' && $strEndDate != ''){
- $rqPrep->bindValue(':date_debut', $strStartDate, PDO::PARAM_STR);
- $rqPrep->bindValue(':date_fin', $strEndDate, PDO::PARAM_STR);
- } else {
- if ($strStartDate != ''){
- $rqPrep->bindValue(':date_debut', $strStartDate, PDO::PARAM_STR);
- } else if ($strEndDate != ''){
- $rqPrep->bindValue(':date_fin', $strEndDate, PDO::PARAM_STR);
- }
- }
- }
- if ($intLimit > 0){
- $rqPrep->bindValue(':limit', $intLimit, PDO::PARAM_INT);
- }
-
- $rqPrep->execute();
- return $rqPrep->fetchAll();
+ return $this->_db->query($strRq)->fetchAll();
}
@@ -136,9 +110,9 @@
/**
* Fonction de recherche d'un seul projet
* @param int $intId
- * @return array|bool
+ * @return array
*/
- public function findOne(int $intId) :array|bool{
+ public function findOne(int $intId) :array{
$strRq = "SELECT project.*,
users.user_pseudo AS 'project_creatorname',
users.user_image,
@@ -194,8 +168,7 @@
public function delete_soft_project(int $intId): bool {
$strRq = "UPDATE project
SET project_deleted_at = NOW(),
- project_edit_date = NOW(),
- project_status = 'supprimé'
+ project_edit_date = NOW()
WHERE project_id = :id";
$rqPrep = $this->_db->prepare($strRq);
diff --git a/models/UserModel.php b/models/UserModel.php
index 5663504..3563238 100644
--- a/models/UserModel.php
+++ b/models/UserModel.php
@@ -37,15 +37,9 @@
$strRq = "SELECT user_id, user_name, user_firstname, user_password, user_image, user_status, authorisation_name, user_pseudo
FROM users INNER JOIN authorisation ON authorisation.authorisation_id = users.user_status
- WHERE user_mail = :mail";
-
- $rqPrep = $this->_db->prepare($strRq);
- $rqPrep->bindValue(":mail", $strMail, PDO::PARAM_STR);
- $rqPrep->execute();
-
-
+ WHERE user_mail = '".$strMail."'";
- $arrUser = $rqPrep->fetch();
+ $arrUser = $this->_db->query($strRq)->fetch();
if (password_verify($strPwd, $arrUser['user_password'])){
unset($arrUser['user_password']);
return $arrUser;
@@ -242,7 +236,7 @@
/**
* Verifie sur le pseudo entré n'est pas déjà utilisé
* @param string $pseudo Pseudo a verifié
- * @return bool Le pseudo existe ou pas
+ * @return array Tableau associatif (ou false si pas trouvé)
*/
public function pseudoExists(string $pseudo): bool{
@@ -250,6 +244,6 @@
$rq->bindValue(":pseudo", $pseudo, PDO::PARAM_STR);
$rq->execute();
- return (bool)$rq->fetchColumn();
+ return $rq->fetchColumn();
}
}
diff --git a/uploads/profiles/699d648ba35c3.webp b/uploads/profiles/699d648ba35c3.webp
new file mode 100644
index 0000000..3fa3f0a
Binary files /dev/null and b/uploads/profiles/699d648ba35c3.webp differ
diff --git a/uploads/profiles/69a5f0418103c.webp b/uploads/profiles/69a5f0418103c.webp
deleted file mode 100644
index 5652841..0000000
Binary files a/uploads/profiles/69a5f0418103c.webp and /dev/null differ
diff --git a/uploads/profiles/69a5f1e87275c.webp b/uploads/profiles/69a5f1e87275c.webp
deleted file mode 100644
index db8dfc7..0000000
Binary files a/uploads/profiles/69a5f1e87275c.webp and /dev/null differ
diff --git a/uploads/profiles/69a5f231cd969.webp b/uploads/profiles/69a5f231cd969.webp
deleted file mode 100644
index 0605d6c..0000000
Binary files a/uploads/profiles/69a5f231cd969.webp and /dev/null differ
diff --git a/views/_partial/apigeo.tpl b/views/_partial/apigeo.tpl
deleted file mode 100644
index fb32c47..0000000
--- a/views/_partial/apigeo.tpl
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
\ No newline at end of file
diff --git a/views/_partial/delphoto.tpl b/views/_partial/delphoto.tpl
deleted file mode 100644
index 019ebcb..0000000
--- a/views/_partial/delphoto.tpl
+++ /dev/null
@@ -1,31 +0,0 @@
-
\ No newline at end of file
diff --git a/views/_partial/footer.tpl b/views/_partial/footer.tpl
index fd0d63c..e90b260 100644
--- a/views/_partial/footer.tpl
+++ b/views/_partial/footer.tpl
@@ -4,24 +4,20 @@
-
+
\ No newline at end of file
diff --git a/views/_partial/header.tpl b/views/_partial/header.tpl
index 6f60a4d..316ce2e 100644
--- a/views/_partial/header.tpl
+++ b/views/_partial/header.tpl
@@ -3,108 +3,101 @@
-
-
+
+
+
Folliow{block name="title"}{/block}
-
-
-
-
-
+
+
-
-
-
+
+
-
-
+
-
-
-
+
-
-
-
+
+
{if !isset($smarty.session.user)}
-
{else}
-
-
+
+
+
+
+
+ {block name="h2"}{/block}
+
+
+ {block name="p"}{/block}
+
+
+ {block name="date_maj"}{/block}
+
+
+
+
-
-
-
-
- {block name="h2"}{/block}
-
-
- {block name="p"}{/block}
-
-
- {block name="date_maj"}{/block}
-
-
-
-
-
+
{include file="views/_partial/messages.tpl"}
diff --git a/views/_partial/preview.tpl b/views/_partial/preview.tpl
index a8c94d5..19ff6d3 100644
--- a/views/_partial/preview.tpl
+++ b/views/_partial/preview.tpl
@@ -3,46 +3,30 @@
-
-
+
getCreatorName()|stripos:'minou' !== false}
- style =" box-shadow: 0 0 0 4px #000; "{/if}
alt=""
loading="lazy">
-
getCreatorName()|stripos:'minou' !== false}style=" background-color: #ff8c00 !important; /* Orange tigre */
- background-image: repeating-linear-gradient(
- 45deg,
- transparent,
- transparent 30px,
- rgba(0, 0, 0, 0.15) 30px,
- rgba(0, 0, 0, 0.15) 60px
- ) !important;
- color: #000 !important;
- position: relative;
- z-index: 1;"{/if}>
+