ElementRight.class.php 520 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Define a elementright.
  4. * @author Valentin CARRUESCO
  5. * @category Plugin
  6. * @license copyright
  7. */
  8. class ElementRight extends Entity{
  9. public $id,$element,$entity,$uid,$read,$edit,$recursive;
  10. protected $TABLE_NAME = 'document_right';
  11. protected $links = array(
  12. 'element' => 'Element'
  13. );
  14. public $fields =
  15. array(
  16. 'id' => 'key',
  17. 'element' => 'int',
  18. 'entity' => 'string',
  19. 'uid' => 'string',
  20. 'read' => 'int',
  21. 'edit' => 'int',
  22. 'recursive' => 'int'
  23. );
  24. public $indexes = array('element');
  25. }
  26. ?>