pull/17/head
kevin.modejar 6 months ago
parent 50a6a5f129
commit 803def3b32

@ -1,5 +1,5 @@
<?php
namespace controleur;
namespace Controleur;
Class FrontControleur{
@ -29,4 +29,4 @@ Class FrontControleur{
private function vueErreur(array $dVueErreur){
}
}
}

@ -1,4 +1,5 @@
<?php
namespace Entity;
class CharacterEntity
{

@ -1,4 +1,5 @@
<?php
namespace Entity;
class CommentaryEntity {
@ -68,4 +69,4 @@ class CommentaryEntity {
}
}

@ -1,5 +1,5 @@
<?php
namespace Entity;
class FavoriteEntity
@ -51,4 +51,4 @@ class FavoriteEntity
}
}

@ -1,4 +1,5 @@
<?php
namespace Entity;
class ImageEntity
{
@ -49,4 +50,4 @@ class ImageEntity
}
}
}

@ -1,4 +1,5 @@
<?php
namespace Entity;
class QuestionEntity
{
@ -144,4 +145,4 @@
}
}

@ -1,5 +1,5 @@
<?php
namespace Entity;
class QuizEntity
{
@ -53,4 +53,4 @@ class QuizEntity
}
}

@ -1,5 +1,5 @@
<?php
namespace Entity;
class Quiz_questionEntity
@ -51,4 +51,4 @@ class Quiz_questionEntity
}
}

@ -1,4 +1,5 @@
<?php
namespace Entity;
class Quote{
@ -164,4 +165,4 @@
}
?>
?>

@ -1,5 +1,5 @@
<?php
namespace Entity;
class Result_quizEntity
@ -51,4 +51,4 @@ class Result_quizEntity
}
}

@ -1,4 +1,5 @@
<?php
namespace Entity;
class SourceEntity
{
@ -73,4 +74,4 @@ class SourceEntity
}
}

@ -1,4 +1,5 @@
<?php
namespace Entity;
class User{
@ -125,4 +126,4 @@
if(strlen($passwd) >= 16) return str_repeat('*', 16);
return str_repeat('*', strlen($passwd));
}
?>
?>

@ -1,4 +1,6 @@
<?php
namespace Gateway;
class Connection extends PDO {
private $stmt;

@ -1,5 +1,5 @@
<?php
namespace Gateway;
require_once($_SERVER['DOCUMENT_ROOT'] . '/src/Gateway/Connection.php');
@ -104,4 +104,4 @@ class QuestionGateway
return $this -> co -> getResults();
}
}
}

@ -1,4 +1,5 @@
<?php
namespace Gateway;
require_once "../public/script/Connection.php";
require_once "commentaryEntity.php";
@ -65,4 +66,4 @@ class CommentaryGateway {
);
}
}
}

@ -1,4 +1,5 @@
<?php
namespace Gateway;
include('Connection.php');
Class QuoteGateway{
@ -46,4 +47,4 @@ Class QuoteGateway{
}
?>
?>

@ -1,5 +1,5 @@
<?php
namespace Gateway;
require_once "../public/script/Connection.php";
require_once "sourceEntity.php";
class SourceGateway {
@ -113,4 +113,4 @@ class SourceGateway {
]);
}
}
}

@ -1,4 +1,5 @@
<?php
namespace Gateway;
include('Connection.php');
Class UserGateway{
@ -40,4 +41,4 @@ Class UserGateway{
}
}
?>
?>

@ -1,5 +1,5 @@
<?php
namespace Model;
require_once "commentaryEntity.php";
require_once "commentaryGateway.php";
class CommentaryModel {
@ -39,4 +39,4 @@ class CommentaryModel {
return false;
}
}
}

@ -1,4 +1,5 @@
<?php
namespace Model;
require_once($rep.$entity['quote']);
require_once($rep.$gateway['quote']);
@ -16,4 +17,4 @@
}
}
?>
?>

@ -1,5 +1,5 @@
<?php
namespace Model;
require_once "sourceEntity.php";
require_once "sourceGateway.php";

@ -1,4 +1,5 @@
<?php
namespace Model;
require_once($rep.$entity['user']);
require_once($rep.$entity['quote']);
require_once($rep.$gateway['user']);
@ -30,4 +31,4 @@
// }
}
?>
?>

Loading…
Cancel
Save