VocalInfo.class.php 690 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php
  2. /*
  3. @nom: VocalInfo
  4. @auteur: Idleman (idleman@idleman.fr)
  5. @description: Classe de gestion des informations vocales
  6. */
  7. class VocalInfo extends SQLiteEntity{
  8. public $id,$text,$sound,$command,$day,$hour,$minut,$month,$year;
  9. protected $TABLE_NAME = 'plugin_vocalInfo';
  10. protected $CLASS_NAME = 'VocalInfo';
  11. protected $object_fields =
  12. array(
  13. 'id'=>'key',
  14. 'text'=>'string',
  15. 'sound'=>'string',
  16. 'command'=>'string',
  17. 'day'=>'string',
  18. 'hour'=>'string',
  19. 'minut'=>'string',
  20. 'month'=>'string',
  21. 'year'=>'string'
  22. );
  23. function __construct(){
  24. parent::__construct();
  25. }
  26. function setId($id){
  27. $this->id = $id;
  28. }
  29. function getId(){
  30. return $this->id;
  31. }
  32. }
  33. ?>