\WikiLingo\Utilities\TensorFlat

A flat manages the creation of the Hierarchical items. There is only one flat for a Hierarchical group.

Class Flat

Summary

Methods
Properties
Constants
add()
makeParent()
newEmptyParentAtDepth()
parentAtDepth()
setActiveParent()
closeParents()
$leaders
$activeDepth
$items
$parents
$parentActive
$length
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$activeDepth

$activeDepth : int

Type

int

$items

$items : \WikiLingo\Utilities\Tensor\Hierarchical[]

Type

\WikiLingo\Utilities\Tensor\Hierarchical[]

$parents

$parents : \WikiLingo\Utilities\Tensor\Hierarchical[][]

Type

\WikiLingo\Utilities\Tensor\Hierarchical[][]

$parentActive

$parentActive : int[]

Type

int[]

$length

$length

Methods

parentAtDepth()

parentAtDepth(\WikiLingo\Utilities\Tensor\Number $depth) : \WikiLingo\Utilities\Tensor\Hierarchical

Parameters

\WikiLingo\Utilities\Tensor\Number $depth

Returns

\WikiLingo\Utilities\Tensor\Hierarchical

closeParents()

closeParents(\WikiLingo\Utilities\Tensor\Number $depth)

Parameters

\WikiLingo\Utilities\Tensor\Number $depth