genericDisplayPlanningItem() static public méthode

Display a Planning Item
static public genericDisplayPlanningItem ( $itemtype, array $val, $who, $type = "", $complete ) : Nothing
$itemtype itemtype
$val array Array of the item to display
$who ID of the user (0 if all)
$type position of the item in the time block (in, through, begin or end) (default '')
$complete complete display (more details) (default 0)
Résultat Nothing (display function)
 /**
  * Display a Planning Item
  *
  * @param $val       array    of the item to display
  * @param $who       integer  ID of the user (0 if all)
  * @param $type               position of the item in the time block
  *                            (in, through, begin or end) (default '')
  * @param $complete           complete display (more details) (default 0)
  *
  * @return Nothing (display function)
  **/
 static function displayPlanningItem(array $val, $who, $type = "", $complete = 0)
 {
     return parent::genericDisplayPlanningItem('TicketTask', $val, $who, $type, $complete);
 }
Exemple #2
0
 /**
  * Display a Planning Item
  *
  * @param $val       array of the item to display
  * @param $who             ID of the user (0 if all)
  * @param $type            position of the item in the time block (in, through, begin or end)
  *                         (default '')
  * @param $complete        complete display (more details) (default 0)
  *
  * @return Nothing (display function)
  **/
 static function displayPlanningItem(array $val, $who, $type = "", $complete = 0)
 {
     return parent::genericDisplayPlanningItem(__CLASS__, $val, $who, $type, $complete);
 }