install 324 B

1234567891011121314151617181920
  1. <?php
  2. require_once(dirname(__FILE__).'/Door.class.php');
  3. $table = new Door();
  4. $table->create();
  5. $s1 = New Section();
  6. $s1->setLabel('porte');
  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. ?>