|
OpenSencillo
2015.009
Long live the simplicity of PHP
|
Public Member Functions | |
| __construct ($name, $mysqlObject) | |
| createStructure ($name='structgen') | |
| uniStore ($name='uniStructgen') | |
| switchStructure ($name) | |
| add ($item, $base=0, $subnav=null, $perm=1000, $link=null, $priority=null) | |
| listStructure () | |
| listBase ($base) | |
Protected Attributes | |
| $data =array() | |
| $sql | |
| $baseCtr | |
| $subCtr | |
| $name | |
Definition at line 11 of file structure.generator.structgen.php.
| add | ( | $item, | |
$base = 0, |
|||
$subnav = null, |
|||
$perm = 1000, |
|||
$link = null, |
|||
$priority = null |
|||
| ) |
Add item / record to structure
| $item | string name of item |
| $base | int id of parent (root base is 0) |
| $subnav | int id of new item |
| $perm | int permission for view |
| $link | string full URL |
| $priority | int priority level |
Definition at line 123 of file structure.generator.structgen.php.
| createStructure | ( | $name = 'structgen' | ) |
Create structure
| $name | string |
Definition at line 28 of file structure.generator.structgen.php.
| listBase | ( | $base | ) |
List all structure information for one base (for one level)
| $base | int |
Definition at line 183 of file structure.generator.structgen.php.
| listStructure | ( | ) |
List structure
| $rootbase | int |
| $maxbase | int |
Definition at line 159 of file structure.generator.structgen.php.
| switchStructure | ( | $name | ) |
Switch to other structure by name
| $name | string |
Definition at line 109 of file structure.generator.structgen.php.
| uniStore | ( | $name = 'uniStructgen' | ) |
Create unistore list structure
| $name | string |
Definition at line 64 of file structure.generator.structgen.php.