PHP Class TicketTemplateMandatoryField, glpi

Inheritance: extends CommonDBChild
Show file Open project: glpi-project/glpi Class Usage Examples

Public Properties

Property Type Description
$dohistory
$items_id
$itemtype From CommonDBChild

Public Methods

Method Description
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getForbiddenStandardMassiveAction ( )
getMandatoryFields ( $ID, $withtypeandcategory = true ) : an Get mandatory fields for a template
getRawName ( )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
post_purgeItem ( )
showForTicketTemplate ( TicketTemplate $tt, $withtemplate = '' ) : Nothing Print the mandatory fields

Method Details

displayTabContentForItem() static public method

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

getForbiddenStandardMassiveAction() public method

getMandatoryFields() public method

Get mandatory fields for a template
public getMandatoryFields ( $ID, $withtypeandcategory = true ) : an
$ID integer the template ID
$withtypeandcategory boolean with type and category (true by default)
return an array of mandatory fields

getRawName() public method

See also: CommonDBTM::getRawName()
public getRawName ( )

getTabNameForItem() public method

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

getTypeName() static public method

static public getTypeName ( $nb )

post_purgeItem() public method

public post_purgeItem ( )

showForTicketTemplate() static public method

Print the mandatory fields
static public showForTicketTemplate ( TicketTemplate $tt, $withtemplate = '' ) : Nothing
$tt TicketTemplate Ticket Template
$withtemplate boolean Template or basic item (default '')
return Nothing (call to classes members)

Property Details

$dohistory public property

public $dohistory

$items_id public static property

public static $items_id

$itemtype public static property

From CommonDBChild
public static $itemtype