123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <?php
- /*
- @nom: Rank
- @auteur: Idleman (idleman@idleman.fr)
- @description: Classe de gestion des utilisateurs
- */
- class Rank extends SQLiteEntity{
- protected $id,$label,$description;
- protected $TABLE_NAME = 'rank';
- protected $CLASS_NAME = 'Rank';
- protected $object_fields =
- array(
- 'id'=>'key',
- 'label'=>'string',
- 'description'=>'string'
- );
- function __construct(){
- parent::__construct();
- }
- function setId($id){
- $this->id = $id;
- }
-
- function getId(){
- return $this->id;
- }
- function getLabel(){
- return $this->label;
- }
- function setLabel($label){
- $this->label = $label;
- }
- function getDescription(){
- return $this->description;
- }
- function setDescription($description){
- $this->description = $description;
- }
- }
- ?>
|