|
static | getAbsoluteOrders ($relativeOrders, $familyId) |
| input relativeOrders is a linear Array ( [0] => Array ( [id] => tst_bc500 [parent] => [family] => 52973 [prev] => first ) [1] => Array ( [id] => tst_b550 [parent] => tst_bc500 [family] => 52973 [prev] => first ) .... More...
|
|
static | completeForNumericOrder (array &$attributes, $familyId) |
|
|
static | completeForNumericOrderByFamilyLevel (array &$familyAttributes) |
|
static | sortAttributeCallBackfunction ($a, $b) |
|
static | getFamilyLevel ($famid) |
|
static | getFamilyInherits ($familyId) |
|
static | getStructLevel ($attrid, array $attributes) |
|
static | getPrevious ($attrid, array $sortedAttributes) |
|
static | getNumericOrder ($attrid, array $attributes) |
|
static | linearOrderTree (array $tree) |
|
static | getTreeContent (array $tree, $attrid, $default=[]) |
|
static | deleteNode (array &$tree, $attrid) |
|
static | updateAttributeTree (array &$tree, array $onlyFamilyTree) |
|
static | checkTree (array &$tree, $parent="") |
|
static | updateAttributeTreeItem (array &$tree, $attrid, &$orders) |
|
static | insertAfter (array &$array, $ref, array &$new) |
|
static | prependNode (array &$array, $parent, array &$new) |
|
static | appendNode (array &$array, $parent, array &$new) |
|
static appendNode |
( |
array & |
$array, |
|
|
|
$parent, |
|
|
array & |
$new |
|
) |
| |
|
staticprotected |
static checkTree |
( |
array & |
$tree, |
|
|
|
$parent = "" |
|
) |
| |
|
staticprotected |
static completeForNumericOrder |
( |
array & |
$attributes, |
|
|
|
$familyId |
|
) |
| |
|
static |
Complete information (prev) when absolute numeric order is done
- Parameters
-
array | $attributes | |
| $familyId | |
Definition at line 78 of file Class.FamilyAbsoluteOrder.php.
static completeForNumericOrderByFamilyLevel |
( |
array & |
$familyAttributes | ) |
|
|
staticprotected |
static deleteNode |
( |
array & |
$tree, |
|
|
|
$attrid |
|
) |
| |
|
staticprotected |
static getAbsoluteOrders |
( |
|
$relativeOrders, |
|
|
|
$familyId |
|
) |
| |
|
static |
input relativeOrders is a linear Array ( [0] => Array ( [id] => tst_bc500 [parent] => [family] => 52973 [prev] => first ) [1] => Array ( [id] => tst_b550 [parent] => tst_bc500 [family] => 52973 [prev] => first ) ....
- Parameters
-
array | $relativeOrders | |
int | $familyId | |
- Returns
- array
Definition at line 45 of file Class.FamilyAbsoluteOrder.php.
static getFamilyInherits |
( |
|
$familyId | ) |
|
|
staticprotected |
static getFamilyLevel |
( |
|
$famid | ) |
|
|
staticprotected |
static getNumericOrder |
( |
|
$attrid, |
|
|
array |
$attributes |
|
) |
| |
|
staticprotected |
Compute numeric order when no order id done
- Parameters
-
string | $attrid | |
array | $attributes | |
- Returns
- int|float
Definition at line 274 of file Class.FamilyAbsoluteOrder.php.
static getPrevious |
( |
|
$attrid, |
|
|
array |
$sortedAttributes |
|
) |
| |
|
staticprotected |
Get previous attribute order when only numeric order is done
- Parameters
-
string | $attrid | |
array | $sortedAttributes | |
- Returns
- string
Definition at line 243 of file Class.FamilyAbsoluteOrder.php.
static getStructLevel |
( |
|
$attrid, |
|
|
array |
$attributes |
|
) |
| |
|
staticprotected |
Get structure level for an attribute (0 means top level - for tabs or frame)
- Parameters
-
string | $attrid | |
array | $attributes | |
- Returns
- int
- Exceptions
-
Definition at line 223 of file Class.FamilyAbsoluteOrder.php.
static getTreeContent |
( |
array |
$tree, |
|
|
|
$attrid, |
|
|
|
$default = [] |
|
) |
| |
|
staticprotected |
static insertAfter |
( |
array & |
$array, |
|
|
|
$ref, |
|
|
array & |
$new |
|
) |
| |
|
staticprotected |
static linearOrderTree |
( |
array |
$tree | ) |
|
|
staticprotected |
static prependNode |
( |
array & |
$array, |
|
|
|
$parent, |
|
|
array & |
$new |
|
) |
| |
|
staticprotected |
static sortAttributeCallBackfunction |
( |
|
$a, |
|
|
|
$b |
|
) |
| |
|
staticprotected |
static updateAttributeTree |
( |
array & |
$tree, |
|
|
array |
$onlyFamilyTree |
|
) |
| |
|
staticprotected |
static updateAttributeTreeItem |
( |
array & |
$tree, |
|
|
|
$attrid, |
|
|
& |
$orders |
|
) |
| |
|
staticprotected |
const autoOrder = "::auto" |
const firstOrder = "::first" |
The documentation for this class was generated from the following file: