Свойство | Type | Description | |
---|---|---|---|
$dohistory | From CommonDBTM | ||
$items_id | |||
$itemtype | From CommonDBChild |
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 |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
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) |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
static public showForSoftware ( Software $soft ) : nothing | ||
$soft | Software | Software object |
Résultat | nothing |
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 |