Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
Netpoint
PHP Class Netpoint, glpi
Inheritance:
extends
CommonDropdown
显示文件
Open project: glpi-project/glpi
Class Usage Examples
Public Properties
Property
Type
Description
$can_be_translated
$dohistory
From CommonDBTM
$rightname
Public Methods
Method
Description
displayTabContentForItem
(
CommonGLPI
$item
,
$tabnum
= 1,
$withtemplate
)
dropdownNetpoint
(
$myname
,
$value
,
$locations_id
,
$display_comment
= 1,
$entity_restrict
,
$devtype
= '' ) :
nothing
Print out an HTML "
" for a dropdown with preselected value
executeAddMulti
(
array
$input
)
Handled Multi add item
findID
(
array
&
$input
) :
the
check if a netpoint already exists (before import)
getAdditionalFields
( )
getHTMLTableCellsForItem
(
HTMLTableRow
$row
= NULL,
CommonDBTM
$item
= NULL,
HTMLTableCell
$father
= NULL,
array
$options
)
getHTMLTableHeader
(
$itemtype
,
HTMLTableBase
$base
,
HTMLTableSuperHeader
$super
= NULL,
HTMLTableHeader
$father
= NULL,
array
$options
= [] )
getSearchOptions
( ) :
array
Get search function for the class
getTabNameForItem
(
CommonGLPI
$item
,
$withtemplate
)
getTypeName
(
$nb
)
post_addItem
( )
post_deleteFromDB
( )
showForLocation
(
$item
) :
Nothing
Print the HTML array of the Netpoint associated to a Location
Method Details
displayTabContentForItem()
static
public
method
static
public
displayTabContentForItem
(
CommonGLPI
$item
,
$tabnum
= 1,
$withtemplate
)
$item
CommonGLPI
dropdownNetpoint()
static
public
method
Print out an HTML "
" for a dropdown with preselected value static public dropdownNetpoint ( $myname, $value, $locations_id, $display_comment = 1, $entity_restrict, $devtype = '' ) : nothing $myname the name of the HTML select $value the preselected value we want (default 0) $locations_id default location ID for search (default -1) $display_comment display the comment near the dropdown (default 1) $entity_restrict Restrict to a defined entity(default -1) $devtype (default '') return nothing (display the select box) executeAddMulti() public method Handled Multi add item public executeAddMulti ( array $input ) $input array array of values findID() public method check if a netpoint already exists (before import) public findID ( array &$input ) : the $input array array of value to import (name, locations_id, entities_id) return the ID of the new (or -1 if not found) getAdditionalFields() public method public getAdditionalFields ( ) getHTMLTableCellsForItem() static public method static public getHTMLTableCellsForItem ( HTMLTableRow $row = NULL, CommonDBTM $item = NULL, HTMLTableCell $father = NULL, array $options ) $row HTMLTableRow HTMLTableRow object (default NULL) $item CommonDBTM CommonDBTM object (default NULL) $father HTMLTableCell HTMLTableCell object (default NULL) $options array array getHTMLTableHeader() static public method static public getHTMLTableHeader ( $itemtype, HTMLTableBase $base, HTMLTableSuperHeader $super = NULL, HTMLTableHeader $father = NULL, array $options = [] ) $itemtype $base HTMLTableBase HTMLTableBase object $super HTMLTableSuperHeader HTMLTableSuperHeader object (default NULL $father HTMLTableHeader HTMLTableHeader object (default NULL) $options array array getSearchOptions() public method Get search function for the class public getSearchOptions ( ) : array return array of search option getTabNameForItem() public method public getTabNameForItem ( CommonGLPI $item, $withtemplate ) $item CommonGLPI getTypeName() static public method static public getTypeName ( $nb ) post_addItem() public method public post_addItem ( ) post_deleteFromDB() public method public post_deleteFromDB ( ) showForLocation() static public method Print the HTML array of the Netpoint associated to a Location static public showForLocation ( $item ) : Nothing $item Location return Nothing (display) Property Details $can_be_translated public_oe property public $can_be_translated $dohistory public_oe property From CommonDBTM public $dohistory $rightname static_oe public_oe property static public $rightname 热门功能 | 热门类 | 文档 | 隐私政策 | Advertise with us PHP | C# (CSharp) | Java | Golang | C++ (Cpp) | Python | JavaScript | TypeScript EN | RU | DE | FR | ES | PT | IT | JP | ZH | KO