프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$dohistory | From CommonDBTM | ||
$rightname |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$forward_entity_to | |||
$usenotepad |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | 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 | |
리턴 | nothing | (print out an HTML select box) |
static public dropdownSoftwareToInstall ( $myname, $entity_restrict ) : nothing | ||
$myname | select name | |
$entity_restrict | restrict to a defined entity | |
리턴 | 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 '') | |
리턴 | boolean | (success) |
public removeFromTrash ( $ID ) : boolean | ||
$ID | the ID of the software to put in dustbin | |
리턴 | boolean | (success) |
public showMergeCandidates ( ) : nothing | ||
리턴 | nothing |
static public updateValidityIndicator ( $ID ) : nothing | ||
$ID | ID of the licence | |
리턴 | nothing |