DashboardWidgetShare.class.php 748 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * Define a dashboardwidgetshare.
  4. * @author Administrateur
  5. * @category Plugin
  6. * @license copyright
  7. */
  8. class DashboardWidgetShare extends Entity{
  9. public $id;
  10. public $widget; //ID Widget (Entier)
  11. public $mandatory; //Obligatoire (Booléen)
  12. public $entity; //Entité de partage (Texte)
  13. public $uid; //Uid de partage (Texte)
  14. public $sort; //Ordre par défaut (Entier)
  15. protected $TABLE_NAME = 'dashboard_dashboard_widget_share';
  16. public $fields = array(
  17. 'id' => 'key',
  18. 'widget' => array('label'=>'Widget','type'=>'int','link'=>'plugin/dashboard/DashboardWidget.class.php'),
  19. 'mandatory' => 'boolean',
  20. 'entity' => 'string',
  21. 'uid' => 'string',
  22. 'sort' => 'int'
  23. );
  24. //Colonnes indexées
  25. public $indexes = array();
  26. }
  27. ?>