PHP Class NetworkPort_Vlan, glpi

Inheritance: extends CommonDBRelation
Datei anzeigen 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, $tagged )
displayTabContentForItem ( CommonGLPI $item, $tabnum = 1, $withtemplate )
getForbiddenStandardMassiveAction ( )
getRelationInputForProcessingOfMassiveActions ( $action, CommonDBTM $item, array $ids, array $input )
getRelationMassiveActionsSpecificities ( )
getSearchOptions ( ) : array Get search function for the class
getTabNameForItem ( CommonGLPI $item, $withtemplate )
getVlansForNetworkPort ( $portID )
showForNetworkPort ( NetworkPort $port )
showRelationMassiveActionsSubForm ( MassiveAction $ma, $peer_number )
unassignVlan ( $portID, $vlanID )

Method Details

assignVlan() public method

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

displayTabContentForItem() static public method

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

getForbiddenStandardMassiveAction() public method

getRelationInputForProcessingOfMassiveActions() static public method

See also: CommonDBRelation::getRelationInputForProcessingOfMassiveActions()
static public getRelationInputForProcessingOfMassiveActions ( $action, CommonDBTM $item, array $ids, array $input )
$item CommonDBTM
$ids array
$input array

getRelationMassiveActionsSpecificities() static public method

See also: CommonDBRelation::getRelationMassiveActionsSpecificities()

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

getVlansForNetworkPort() static public method

static public getVlansForNetworkPort ( $portID )
$portID

showForNetworkPort() static public method

static public showForNetworkPort ( NetworkPort $port )
$port NetworkPort NetworkPort object

showRelationMassiveActionsSubForm() static public method

See also: CommonDBRelation::showRelationMassiveActionsSubForm()
static public showRelationMassiveActionsSubForm ( MassiveAction $ma, $peer_number )
$ma MassiveAction

unassignVlan() public method

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

Property Details

$checkItem_2_Rights public_oe static_oe property

public static $checkItem_2_Rights

$items_id_1 public_oe static_oe property

public static $items_id_1

$items_id_2 public_oe static_oe property

public static $items_id_2

$itemtype_1 public_oe static_oe property

From CommonDBRelation
public static $itemtype_1

$itemtype_2 public_oe static_oe property

public static $itemtype_2