\PluginFusioninventoryInventoryComputerStorage_Storage

Manage the storage links of computer.

Summary

Methods
Properties
Constants
getTypeName()
getOpposites()
getChildren()
getParent()
$rightname
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$rightname

$rightname : string

The right name for this class

Type

string

Methods

getTypeName()

getTypeName(integer  $nb) : string

Get name of this type by language of the user connected

Parameters

integer $nb

number of elements

Returns

string —

name of this type

getOpposites()

getOpposites(integer  $id) : integer

Get opposites, so storage linked with this

Parameters

integer $id

Returns

integer

getChildren()

getChildren(integer  $id, integer  $level) : integer

Get children of a storage

Parameters

integer $id
integer $level

Returns

integer

getParent()

getParent(integer  $id, integer  $level) : integer

Get storage parent

Parameters

integer $id
integer $level

Returns

integer