PHP Класс ComputerDisk, glpi

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

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

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

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

Метод Описание
cloneComputer ( $oldid, $newid ) Duplicate all disks from a computer template to his clone
defineTabs ( $options = [] )
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
post_getEmpty ( )
showForComputer ( Computer $comp, $withtemplate = '' ) : Nothing Print the computers disks
showForm ( $ID, $options = [] ) : true Print the version form

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

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

Duplicate all disks from a computer template to his clone
static public cloneComputer ( $oldid, $newid )
$oldid
$newid

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

См. также: CommonGLPI::defineTabs()
public defineTabs ( $options = [] )

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

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

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

См. также: CommonGLPI::getTabNameForItem()
public getTabNameForItem ( CommonGLPI $item, $withtemplate )
$item CommonGLPI

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

static public getTypeName ( $nb )

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

public post_getEmpty ( )

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

Print the computers disks
static public showForComputer ( Computer $comp, $withtemplate = '' ) : Nothing
$comp Computer Computer object
$withtemplate boolean Template or basic item (default '')
Результат Nothing (call to classes members)

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

Print the version form
public showForm ( $ID, $options = [] ) : true
$ID integer ID of the item
$options array - target for the Form - computers_id ID of the computer for add process
Результат true if displayed false if item not found or not right to display

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

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

public $dohistory

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

public static $items_id

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

From CommonDBChild
public static $itemtype