SpeechCommand.class.php 588 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Classe de gestion SQL de la table SpeechCommand liée à la classe SpeechCommand
  4. * @author: valentin carruesco <idleman@idleman.fr>
  5. */
  6. class SpeechCommand extends SQLiteEntity{
  7. public $id,$command,$action,$state,$confidence,$parameter;
  8. protected $TABLE_NAME = 'plugin_speechcommand';
  9. protected $CLASS_NAME = 'SpeechCommand';
  10. protected $object_fields =
  11. array(
  12. 'id'=>'key',
  13. 'command'=>'longstring',
  14. 'action'=>'string',
  15. 'state'=>'int',
  16. 'confidence'=>'string',
  17. 'parameter'=>'longstring'
  18. );
  19. function __construct(){
  20. parent::__construct();
  21. }
  22. }
  23. ?>