PHP Class SoftwareVersion, glpi

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

Méthodes publiques

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

Méthodes publiques

Méthode Description
cleanDBonPurge ( )
defineTabs ( $options = [] )
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
dropdownForOneSoftware ( $options = [] ) : nothing Make a select box for software to install
getPreAdditionalInfosForName ( )
getSearchOptions ( )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
showForSoftware ( Software $soft ) : nothing Show Versions of a software
showForm ( $ID, $options = [] ) : true Print the Software / version form

Method Details

cleanDBonPurge() public méthode

public cleanDBonPurge ( )

defineTabs() public méthode

public defineTabs ( $options = [] )

displayTabContentForItem() static public méthode

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

dropdownForOneSoftware() static public méthode

Make a select box for software to install
static public dropdownForOneSoftware ( $options = [] ) : nothing
$options array of possible options: - name : string / name of the select (default is softwareversions_id) - softwares_id : integer / ID of the software (mandatory) - value : integer / value of the selected version - used : array / already used items
Résultat nothing (print out an HTML select box)

getPreAdditionalInfosForName() public méthode

See also: CommonDBTM::getPreAdditionalInfosForName

getSearchOptions() public méthode

public getSearchOptions ( )

getTabNameForItem() public méthode

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

getTypeName() static public méthode

static public getTypeName ( $nb )

showForSoftware() static public méthode

Show Versions of a software
static public showForSoftware ( Software $soft ) : nothing
$soft Software Software object
Résultat nothing

showForm() public méthode

Print the Software / version form
public showForm ( $ID, $options = [] ) : true
$ID integer Id of the version or the template to print
$options array of possible options: - target form target - softwares_id ID of the software for add process
Résultat true if displayed false if item not found or not right to display

Property Details

$dohistory public_oe property

From CommonDBTM
public $dohistory

$items_id public_oe static_oe property

public static $items_id

$itemtype public_oe static_oe property

From CommonDBChild
public static $itemtype