PHP Class Problem_Ticket, glpi

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 ( )
getSearchOptions ( ) : array Get search function for the class
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
post_addItem ( )
post_deleteFromDB ( )
processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids )
showForProblem ( Problem $problem ) Show tickets for a problem
showForTicket ( Ticket $ticket ) Show problems for a ticket
showMassiveActionsSubForm ( MassiveAction $ma )

Method Details

displayTabContentForItem() static public method

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

getForbiddenStandardMassiveAction() public method

getSearchOptions() public method

Get search function for the class
public getSearchOptions ( ) : array
return array of search option

getTabNameForItem() public method

See also: CommonGLPI::getTabNameForItem()
public getTabNameForItem ( CommonGLPI $item, $withtemplate )
$item CommonGLPI

getTypeName() static public method

static public getTypeName ( $nb )

post_addItem() public method

public post_addItem ( )

post_deleteFromDB() public method

public post_deleteFromDB ( )

processMassiveActionsForOneItemtype() static public method

See also: CommonDBTM::processMassiveActionsForOneItemtype()
static public processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids )
$ma MassiveAction
$item CommonDBTM
$ids array

showForProblem() static public method

Show tickets for a problem
static public showForProblem ( Problem $problem )
$problem Problem Problem object

showForTicket() static public method

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

showMassiveActionsSubForm() static public method

See also: CommonDBTM::showMassiveActionsSubForm()
static public showMassiveActionsSubForm ( MassiveAction $ma )
$ma MassiveAction

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