Property | Type | Description | |
---|---|---|---|
$dohistory | From CommonDBTM | ||
$rightname |
Property | Type | Description | |
---|---|---|---|
$forward_entity_to | |||
$usenotepad |
Method | Description | |
---|---|---|
addOrRestoreFromTrash ( $name, $manufacturer, $entity, $comment = '', $is_recursive = false, $is_helpdesk_visible = NULL ) | Add a software. If already exist in dustbin restore it | |
addSoftware ( $name, $manufacturer_id, $entity, $comment = '', $is_recursive = false, $is_helpdesk_visible = NULL ) : the | Create a new software | |
cleanDBonPurge ( ) | ||
defineTabs ( $options = [] ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
dropdownLicenseToInstall ( $myname, $entity_restrict ) : nothing | Make a select box for license software to associate | |
dropdownSoftwareToInstall ( $myname, $entity_restrict ) : nothing | Make a select box for software to install | |
getEmpty ( ) | ||
getMenuShorcut ( ) | ||
getSearchOptions ( ) | ||
getSpecificMassiveActions ( $checkitem = NULL ) | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTypeName ( $nb ) | ||
merge ( $item ) : boolean | Merge softwares with current | |
post_addItem ( ) | ||
prepareInputForAdd ( $input ) | ||
prepareInputForUpdate ( $input ) | ||
processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids ) | ||
putInTrash ( $ID, $comment = '' ) : boolean | Put software in dustbin because it's been removed by GLPI software dictionnary | |
removeFromTrash ( $ID ) : boolean | Restore a software from dustbin | |
showForm ( $ID, $options = [] ) : boolean | Print the Software form | |
showMergeCandidates ( ) : nothing | Show softwares candidates to be merged with the current | |
updateValidityIndicator ( $ID ) : nothing | Update validity indicator of a specific software |
public addOrRestoreFromTrash ( $name, $manufacturer, $entity, $comment = '', $is_recursive = false, $is_helpdesk_visible = NULL ) |
public addSoftware ( $name, $manufacturer_id, $entity, $comment = '', $is_recursive = false, $is_helpdesk_visible = NULL ) : the | ||
return | the | software's ID |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
static public dropdownLicenseToInstall ( $myname, $entity_restrict ) : nothing | ||
$myname | select name | |
$entity_restrict | restrict to a defined entity | |
return | nothing | (print out an HTML select box) |
static public dropdownSoftwareToInstall ( $myname, $entity_restrict ) : nothing | ||
$myname | select name | |
$entity_restrict | restrict to a defined entity | |
return | nothing | (print out an HTML select box) |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
static public processMassiveActionsForOneItemtype ( MassiveAction $ma, CommonDBTM $item, array $ids ) | ||
$ma | MassiveAction | |
$item | CommonDBTM | |
$ids | array |
public putInTrash ( $ID, $comment = '' ) : boolean | ||
$ID | the ID of the software to put in dustbin | |
$comment | the comment to add to the already existing software's comment (default '') | |
return | boolean | (success) |
public removeFromTrash ( $ID ) : boolean | ||
$ID | the ID of the software to put in dustbin | |
return | boolean | (success) |
public showMergeCandidates ( ) : nothing | ||
return | nothing |
static public updateValidityIndicator ( $ID ) : nothing | ||
$ID | ID of the licence | |
return | nothing |