PHP Class ProjectTask_Ticket, glpi

Relation between ProjectTasks and Tickets
Inheritance: extends CommonDBRelation
显示文件 Open project: glpi-project/glpi Class Usage Examples

Public Properties

Property Type Description
$items_id_1
$items_id_2
$itemtype_1 From CommonDBRelation
$itemtype_2

Public Methods

Method Description
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getForbiddenStandardMassiveAction ( )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTicketsTotalActionTime ( $projecttasks_id ) : integer Get total duration of tickets linked to a project task
getTypeName ( $nb )
showForProjectTask ( ProjectTask $projecttask ) Show tickets for a projecttask
showForTicket ( Ticket $ticket ) Show projecttasks for a ticket

Method Details

displayTabContentForItem() static public method

static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
$item CommonGLPI

getForbiddenStandardMassiveAction() public method

getTabNameForItem() public method

public getTabNameForItem ( CommonGLPI $item, $withtemplate )
$item CommonGLPI

getTicketsTotalActionTime() static public method

Get total duration of tickets linked to a project task
static public getTicketsTotalActionTime ( $projecttasks_id ) : integer
$projecttasks_id integer $projecttasks_id ID of the project task
return integer total actiontime

getTypeName() static public method

static public getTypeName ( $nb )

showForProjectTask() static public method

Show tickets for a projecttask
static public showForProjectTask ( ProjectTask $projecttask )
$projecttask ProjectTask ProjectTask object

showForTicket() static public method

Show projecttasks for a ticket
static public showForTicket ( Ticket $ticket )
$ticket Ticket Ticket object

Property Details

$items_id_1 public_oe static_oe property

public static $items_id_1

$items_id_2 public_oe static_oe property

public static $items_id_2

$itemtype_1 public_oe static_oe property

From CommonDBRelation
public static $itemtype_1

$itemtype_2 public_oe static_oe property

public static $itemtype_2