genericPopulatePlanning() static public méthode

Populate the planning with planned tasks
static public genericPopulatePlanning ( $itemtype, $options = [] ) : array
$itemtype itemtype
$options array of options must contains : - who ID of the user (0 = undefined) - who_group ID of the group of users (0 = undefined) - begin Date - end Date - color - event_type_color - display_done_events (boolean)
Résultat array of planning item
 /**
  * Populate the planning with planned ticket tasks
  *
  * @param $options   array of possible options:
  *    - who ID of the user (0 = undefined)
  *    - who_group ID of the group of users (0 = undefined)
  *    - begin Date
  *    - end Date
  *
  * @return array of planning item
  **/
 static function populatePlanning($options = array())
 {
     return parent::genericPopulatePlanning('TicketTask', $options);
 }
Exemple #2
0
 /**
  * Populate the planning with planned ticket tasks
  *
  * @param $options   array of possible options:
  *    - who ID of the user (0 = undefined)
  *    - who_group ID of the group of users (0 = undefined)
  *    - begin Date
  *    - end Date
  *
  * @return array of planning item
  **/
 static function populatePlanning($options = array())
 {
     return parent::genericPopulatePlanning(__CLASS__, $options);
 }