![]() |
PHPDevShell 3.1.3-Stable
PHP OOP RAD Development Framework
|
Public Member Functions | |
| callGroups ($extra_sql=false, $skip_group_id=false) | |
| callRootGroup () | |
| callChildGroup ($user_group_id) | |
| compileResults ($create_html=true, $create_array=false, $extra_sql=false, $skip_group_id=false) | |
Data Fields | |
| $groupArray | |
| $RESULTS | |
Protected Attributes | |
| $groupListingArray | |
| $groupPListingArray | |
| $parentGroupListingArray | |
| $outputGroupArray | |
Class is used by group listing to create group tree.
| callChildGroup | ( | $ | user_group_id | ) |
Recursive function that loops through all children groups.
| int | $user_group_id |
| callGroups | ( | $ | extra_sql = false, |
| $ | skip_group_id = false |
||
| ) |
Queries group database and starts tree listing.
| string | $extra_sql | Allows one to add an additional sql string. |
| boolean | Select group to skip in listing. |
| callRootGroup | ( | ) |
Calls and list all root items and root items with children.
| compileResults | ( | $ | create_html = true, |
| $ | create_array = false, |
||
| $ | extra_sql = false, |
||
| $ | skip_group_id = false |
||
| ) |
Will compile the needed HTML for group tree structure ready for output.
| boolean | $create_html | If it should create HTML results. |
| boolean | $create_array | If it should create short array of menu items in order. |
| string | $extra_sql | Additional sql data to be processed. |
| int | Select group to skip in listing. |
| $groupArray |
$groupListingArray [protected] |
$groupPListingArray [protected] |
$outputGroupArray [protected] |
$parentGroupListingArray [protected] |
| $RESULTS |