Rank.class.php 753 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. /*
  3. @nom: Rank
  4. @auteur: Idleman (idleman@idleman.fr)
  5. @description: Classe de gestion des utilisateurs
  6. */
  7. class Rank extends SQLiteEntity{
  8. protected $id,$label,$description;
  9. protected $TABLE_NAME = 'rank';
  10. protected $CLASS_NAME = 'Rank';
  11. protected $object_fields =
  12. array(
  13. 'id'=>'key',
  14. 'label'=>'string',
  15. 'description'=>'string'
  16. );
  17. function __construct(){
  18. parent::__construct();
  19. }
  20. function setId($id){
  21. $this->id = $id;
  22. }
  23. function getId(){
  24. return $this->id;
  25. }
  26. function getLabel(){
  27. return $this->label;
  28. }
  29. function setLabel($label){
  30. $this->label = $label;
  31. }
  32. function getDescription(){
  33. return $this->description;
  34. }
  35. function setDescription($description){
  36. $this->description = $description;
  37. }
  38. }
  39. ?>