PHP 클래스 CommonDevice, glpi

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

공개 프로퍼티들

프로퍼티 타입 설명
$can_be_translated
$dohistory From CommonDBTM
$rightname

공개 메소드들

메소드 설명
canUnrecurs ( ) : booleen Can I change recursive flag to false check if there is "linked" object in another entity
canView ( )
defineTabs ( $options = [] )
displayHeader ( )
displaySpecificTypeField ( $ID, $field = [] )
getAdditionalFields ( )
getDeviceTypes ( ) : array Get all the kind of devices available inside the system.
getHTMLTableCellForItem ( HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = [] )
getHTMLTableHeader ( $itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = [] ) : nothing
getImportCriteria ( ) Criteria used for import function
getItem_DeviceType ( ) : array Get the assiociated item_device associated with this device This method can be override, for instance by the plugin
getMenuContent ( )
getNameField ( ) : string
getSearchOptions ( )
getTypeName ( $nb )
import ( array $input ) : interger Import a device is not exists
post_addItem ( )
post_updateItem ( $history = 1 )
post_workOnItem ( )
title ( )

메소드 상세

canUnrecurs() 공개 메소드

Overloaded from CommonDBTM
public canUnrecurs ( ) : booleen
리턴 booleen

canView() 정적인 공개 메소드

static public canView ( )

defineTabs() 공개 메소드

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

displayHeader() 공개 메소드

public displayHeader ( )

displaySpecificTypeField() 공개 메소드

또한 보기: CommonDropdown::displaySpecificTypeField()
public displaySpecificTypeField ( $ID, $field = [] )

getAdditionalFields() 공개 메소드

public getAdditionalFields ( )

getDeviceTypes() 정적인 공개 메소드

Get all the kind of devices available inside the system.
static public getDeviceTypes ( ) : array
리턴 array of the types of CommonDevice available

getHTMLTableCellForItem() 공개 메소드

public getHTMLTableCellForItem ( HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options = [] )
$row HTMLTableRow HTMLTableRow object
$item CommonDBTM CommonDBTM object (default NULL)
$father HTMLTableCell HTMLTableCell object (default NULL)
$options array array

getHTMLTableHeader() 정적인 공개 메소드

static public getHTMLTableHeader ( $itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = [] ) : nothing
$itemtype string the type of the item
$base HTMLTableBase HTMLTableBase object:the element on which adding the header (ie.: HTMLTableMain or HTMLTableGroup)
$super HTMLTableSuperHeader HTMLTableSuperHeader object: the super header (in case of adding to HTMLTableGroup) (default NULL)
$father HTMLTableHeader HTMLTableHeader object: the father of the current headers (default NULL)
$options array array parameter such as restriction
리턴 nothing (elements added to $base)

getImportCriteria() 공개 메소드

Criteria used for import function
public getImportCriteria ( )

getItem_DeviceType() 정적인 공개 메소드

Get the assiociated item_device associated with this device This method can be override, for instance by the plugin
static public getItem_DeviceType ( ) : array
리턴 array of the types of CommonDevice available

getMenuContent() 정적인 공개 메소드

또한 보기: CommonGLPI::getMenuContent() @since version 0.85
static public getMenuContent ( )

getNameField() 정적인 공개 메소드

또한 보기: CommonDBTM::getNameField
static public getNameField ( ) : string
리턴 string

getSearchOptions() 공개 메소드

public getSearchOptions ( )

getTypeName() 정적인 공개 메소드

static public getTypeName ( $nb )

import() 공개 메소드

Import a device is not exists
public import ( array $input ) : interger
$input array array of datas
리턴 interger ID of existing or new Device

post_addItem() 공개 메소드

또한 보기: CommonDBTM::post_addItem()
public post_addItem ( )

post_updateItem() 공개 메소드

또한 보기: CommonDBTM::post_updateItem()
public post_updateItem ( $history = 1 )

post_workOnItem() 공개 메소드

public post_workOnItem ( )

title() 공개 메소드

public title ( )

프로퍼티 상세

$can_be_translated 공개적으로 프로퍼티

public $can_be_translated

$dohistory 공개적으로 프로퍼티

From CommonDBTM
public $dohistory

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

static public $rightname