PHP Class IPNetwork_Vlan, glpi

Inheritance: extends CommonDBRelation
Show file Open project: glpi-project/glpi Class Usage Examples

Public Properties

Property Type Description
$checkItem_2_Rights
$items_id_1
$items_id_2
$itemtype_1 From CommonDBRelation
$itemtype_2

Public Methods

Method Description
assignVlan ( $port, $vlan )
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getForbiddenStandardMassiveAction ( )
getSearchOptions ( ) : array Get search function for the class
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getVlansForIPNetwork ( $portID )
showForIPNetwork ( IPNetwork $port )
unassignVlan ( $portID, $vlanID )

Method Details

assignVlan() public method

public assignVlan ( $port, $vlan )
$port
$vlan

displayTabContentForItem() static public method

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

getForbiddenStandardMassiveAction() public method

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

getVlansForIPNetwork() static public method

static public getVlansForIPNetwork ( $portID )
$portID

showForIPNetwork() static public method

static public showForIPNetwork ( IPNetwork $port )
$port IPNetwork IPNetwork object

unassignVlan() public method

public unassignVlan ( $portID, $vlanID )
$portID
$vlanID

Property Details

$checkItem_2_Rights public static property

public static $checkItem_2_Rights

$items_id_1 public static property

public static $items_id_1

$items_id_2 public static property

public static $items_id_2

$itemtype_1 public static property

From CommonDBRelation
public static $itemtype_1

$itemtype_2 public static property

public static $itemtype_2