PHP 클래스 SoftwareVersion, glpi

상속: extends CommonDBChild
파일 보기 프로젝트 열기: glpi-project/glpi 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$dohistory From CommonDBTM
$items_id
$itemtype From CommonDBChild

공개 메소드들

메소드 설명
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

메소드 상세

cleanDBonPurge() 공개 메소드

public cleanDBonPurge ( )

defineTabs() 공개 메소드

public defineTabs ( $options = [] )

displayTabContentForItem() 정적인 공개 메소드

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

dropdownForOneSoftware() 정적인 공개 메소드

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
리턴 nothing (print out an HTML select box)

getPreAdditionalInfosForName() 공개 메소드

또한 보기: CommonDBTM::getPreAdditionalInfosForName

getSearchOptions() 공개 메소드

public getSearchOptions ( )

getTabNameForItem() 공개 메소드

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

getTypeName() 정적인 공개 메소드

static public getTypeName ( $nb )

showForSoftware() 정적인 공개 메소드

Show Versions of a software
static public showForSoftware ( Software $soft ) : nothing
$soft Software Software object
리턴 nothing

showForm() 공개 메소드

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
리턴 true if displayed false if item not found or not right to display

프로퍼티 상세

$dohistory 공개적으로 프로퍼티

From CommonDBTM
public $dohistory

$items_id 공개적으로 정적으로 프로퍼티

public static $items_id

$itemtype 공개적으로 정적으로 프로퍼티

From CommonDBChild
public static $itemtype