프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$dohistory | From CommonDBTM | ||
$rightname |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$forward_entity_to | |||
$usenotepad |
메소드 | 설명 | |
---|---|---|
cleanDBonPurge ( ) | ||
computeValidityIndicator ( $ID, $number ) : validity | Compute licence validity indicator. | |
countForSoftware ( $softwares_id ) : number | Get number of licensesof a software | |
countForVersion ( $softwareversions_id, $entity = '' ) : number | Get number of bought licenses of a version | |
cronInfo ( $name ) : arrray | Give cron information | |
cronSoftware ( $task = NULL ) | Cron action on softwares : alert on expired licences | |
defineTabs ( $options = [] ) | ||
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
getPreAdditionalInfosForName ( ) | ||
getSearchOptions ( ) | ||
getSearchOptionsToAdd ( ) | ||
getSpecificMassiveActions ( $checkitem = NULL ) | ||
getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
getTypeName ( $nb ) | ||
getUnicityFieldsToDisplayInErrorMessage ( ) : an | Get fields to display in the unicity error message | |
maybeRecursive ( ) : boolean | Is the license may be recursive | |
post_addItem ( ) | ||
post_deleteFromDB ( ) | ||
post_updateItem ( $history = 1 ) | ||
pre_updateInDB ( ) | ||
prepareInputForAdd ( $input ) | ||
prepareInputForUpdate ( $input ) | ||
showDebug ( ) | Display debug information for current object | |
showForSoftware ( Software $software ) : nothing | Show Licenses of a software | |
showForm ( $ID, $options = [] ) : true | Print the Software / license form | |
updateValidityIndicator ( $ID ) : nothing | Update validity indicator of a specific license |
static public computeValidityIndicator ( $ID, $number ) : validity | ||
$ID | ID of the licence | |
$number | licence count to check (default -1) | |
리턴 | validity | indicator |
static public countForSoftware ( $softwares_id ) : number | ||
$softwares_id | software ID | |
리턴 | number | of licenses |
static public countForVersion ( $softwareversions_id, $entity = '' ) : number | ||
$softwareversions_id | version ID | |
$entity | to search for licenses in (default = all active entities) (default '') | |
리턴 | number | of installations |
static public cronInfo ( $name ) : arrray | ||
$name | : task's name | |
리턴 | arrray | of information |
static public cronSoftware ( $task = NULL ) | ||
$task | to log, if NULL display (default NULL) |
static public displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate ) | ||
$item | CommonGLPI |
public getTabNameForItem ( CommonGLPI $item, $withtemplate ) | ||
$item | CommonGLPI |
public getUnicityFieldsToDisplayInErrorMessage ( ) : an | ||
리턴 | an | array which contains field => label |
public maybeRecursive ( ) : boolean | ||
리턴 | boolean |
static public showForSoftware ( Software $software ) : nothing | ||
$software | Software | Software object |
리턴 | 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 | |
리턴 | true | if displayed false if item not found or not right to display |
static public updateValidityIndicator ( $ID ) : nothing | ||
$ID | ID of the licence | |
리턴 | nothing |