ElementRight.class.php 537 B

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