PHP Class TicketTemplatePredefinedField, glpi

Predefined fields for ticket template class
Inheritance: extends CommonDBChild
显示文件 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 ( )
getMultiplePredefinedValues ( )
getPredefinedFields ( $ID, $withtypeandcategory = false ) : an Get predefined fields for a template
getRawName ( )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
post_purgeItem ( )
prepareInputForAdd ( $input )
showForTicketTemplate ( TicketTemplate $tt, $withtemplate = '' ) : Nothing Print the predefined fields

Method Details

displayTabContentForItem() static public method

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

getForbiddenStandardMassiveAction() public method

getMultiplePredefinedValues() static public method

static public getMultiplePredefinedValues ( )

getPredefinedFields() public method

Get predefined fields for a template
public getPredefinedFields ( $ID, $withtypeandcategory = false ) : an
$ID integer the template ID
$withtypeandcategory boolean with type and category (false by default)
return an array of predefined 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 ( )

prepareInputForAdd() public method

public prepareInputForAdd ( $input )

showForTicketTemplate() static public method

Print the predefined 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