Début de la fonctionnalité de dépôt de Img dans le projet
This commit is contained in:
parent
4e9b27772b
commit
1df2ed36a5
35 changed files with 2014 additions and 168 deletions
24
entities/authorisation_entity.php
Normal file
24
entities/authorisation_entity.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
require_once("mother_entity.php");
|
||||
|
||||
class Authorisation extends Entity{
|
||||
|
||||
private int $_id;
|
||||
private string $_name = '';
|
||||
|
||||
public function __construct(){
|
||||
$this->_prefix = 'authorisation_';
|
||||
}
|
||||
|
||||
public function getId():int{
|
||||
return $this->_id;
|
||||
}
|
||||
public function setId(int $id){
|
||||
$this->_id = $id;
|
||||
}
|
||||
|
||||
public function getName():string{
|
||||
return $this->_name;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -200,6 +200,7 @@ class Project extends Entity{
|
|||
public function setCreatorName($creatorname){
|
||||
$this->_creatorname = $creatorname;
|
||||
}
|
||||
|
||||
/**
|
||||
* Récupération du chemin photo profil
|
||||
* @return string nom du chemin photo profil
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@
|
|||
public function getAccountCreation():string{
|
||||
return $this->_account_creation;
|
||||
}
|
||||
|
||||
public function setAccountCreation(string $account_creation){
|
||||
$this->_account_creation = $account_creation;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue