PHP Class TicketTemplateMandatoryField, glpi

Inheritance: extends CommonDBChild
Mostrar archivo 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_oe property

public $dohistory

$items_id public_oe static_oe property

public static $items_id

$itemtype public_oe static_oe property

From CommonDBChild
public static $itemtype