PHP 클래스 ComputerDisk, glpi

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

공개 프로퍼티들

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

공개 메소드들

메소드 설명
cloneComputer ( $oldid, $newid ) Duplicate all disks from a computer template to his clone
defineTabs ( $options = [] )
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getTypeName ( $nb )
post_getEmpty ( )
showForComputer ( Computer $comp, $withtemplate = '' ) : Nothing Print the computers disks
showForm ( $ID, $options = [] ) : true Print the version form

메소드 상세

cloneComputer() 정적인 공개 메소드

Duplicate all disks from a computer template to his clone
static public cloneComputer ( $oldid, $newid )
$oldid
$newid

defineTabs() 공개 메소드

또한 보기: CommonGLPI::defineTabs()
public defineTabs ( $options = [] )

displayTabContentForItem() 정적인 공개 메소드

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

getTabNameForItem() 공개 메소드

또한 보기: CommonGLPI::getTabNameForItem()
public getTabNameForItem ( CommonGLPI $item, $withtemplate )
$item CommonGLPI

getTypeName() 정적인 공개 메소드

static public getTypeName ( $nb )

post_getEmpty() 공개 메소드

public post_getEmpty ( )

showForComputer() 정적인 공개 메소드

Print the computers disks
static public showForComputer ( Computer $comp, $withtemplate = '' ) : Nothing
$comp Computer Computer object
$withtemplate boolean Template or basic item (default '')
리턴 Nothing (call to classes members)

showForm() 공개 메소드

Print the version form
public showForm ( $ID, $options = [] ) : true
$ID integer ID of the item
$options array - target for the Form - computers_id ID of the computer for add process
리턴 true if displayed false if item not found or not right to display

프로퍼티 상세

$dohistory 공개적으로 프로퍼티

public $dohistory

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

public static $items_id

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

From CommonDBChild
public static $itemtype