PHP Класс TicketTemplatePredefinedField, glpi

Predefined fields for ticket template class
Наследование: extends CommonDBChild
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$dohistory
$items_id
$itemtype From CommonDBChild

Открытые методы

Метод Описание
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

Описание методов

displayTabContentForItem() статический публичный Метод

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

getForbiddenStandardMassiveAction() публичный Метод

getMultiplePredefinedValues() статический публичный Метод

static public getMultiplePredefinedValues ( )

getPredefinedFields() публичный Метод

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)
Результат an array of predefined fields

getRawName() публичный Метод

См. также: CommonDBTM::getRawName()
public getRawName ( )

getTabNameForItem() публичный Метод

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

getTypeName() статический публичный Метод

static public getTypeName ( $nb )

post_purgeItem() публичный Метод

public post_purgeItem ( )

prepareInputForAdd() публичный Метод

public prepareInputForAdd ( $input )

showForTicketTemplate() статический публичный Метод

Print the predefined fields
static public showForTicketTemplate ( TicketTemplate $tt, $withtemplate = '' ) : Nothing
$tt TicketTemplate Ticket Template
$withtemplate boolean Template or basic item (default '')
Результат Nothing (call to classes members)

Описание свойств

$dohistory публичное свойство

public $dohistory

$items_id публичное статическое свойство

public static $items_id

$itemtype публичное статическое свойство

From CommonDBChild
public static $itemtype