install 335 B

123456789101112131415161718192021
  1. <?php
  2. require_once('SpeechCommand.class.php');
  3. $table = new SpeechCommand();
  4. $table->create();
  5. $s1 = New Section();
  6. $s1->setLabel('speech_command');
  7. $s1->save();
  8. $r1 = New Right();
  9. $r1->setSection($s1->getId());
  10. $r1->setRead('1');
  11. $r1->setDelete('1');
  12. $r1->setCreate('1');
  13. $r1->setUpdate('1');
  14. $r1->setRank('1');
  15. $r1->save();
  16. ?>