PHP Class ComputerAntivirus, glpi

Inheritance: extends CommonDBChild
Afficher le fichier Open project: glpi-project/glpi Class Usage Examples

Méthodes publiques

Свойство Type Description
$dohistory
$items_id
$itemtype From CommonDBChild

Méthodes publiques

Méthode Description
cloneComputer ( $oldid, $newid ) Duplicate all antirivuses from a computer template to his clone
defineTabs ( $options = [] )
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getSearchOptionsToAdd ( )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
showForComputer ( Computer $comp, $withtemplate = '' ) : Nothing Print the computers antiviruses
showForm ( $ID, $options = [] ) : boolean Display form for antivirus

Method Details

cloneComputer() static public méthode

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

defineTabs() public méthode

See also: CommonGLPI::defineTabs()
public defineTabs ( $options = [] )

displayTabContentForItem() static public méthode

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

getSearchOptionsToAdd() static public méthode

static public getSearchOptionsToAdd ( )

getTabNameForItem() public méthode

See also: CommonGLPI::getTabNameForItem()
public getTabNameForItem ( CommonGLPI $item, $withtemplate )
$item CommonGLPI

getTypeName() static public méthode

static public getTypeName ( $nb )

showForComputer() static public méthode

Print the computers antiviruses
static public showForComputer ( Computer $comp, $withtemplate = '' ) : Nothing
$comp Computer Computer object
$withtemplate boolean Template or basic item (default '')
Résultat Nothing (call to classes members)

showForm() public méthode

Display form for antivirus
public showForm ( $ID, $options = [] ) : boolean
$ID id of the antivirus
$options array
Résultat boolean TRUE if form is ok

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