TMenuParser
in package
Menu Parser
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Parse a menu XML file
- getIndexedPrograms() : mixed
- Return an indexed array of programs
- getModules() : mixed
- Get Modules
- getPath() : mixed
- Return the controller path
- moduleExists() : mixed
- Check if a module exists
- parse() : mixed
- Parse a XMLElement reading menu entries
Properties
$path
private
mixed
$path
$paths
private
mixed
$paths
Methods
__construct()
Parse a menu XML file
public
__construct( $xml_file) : mixed
Parameters
getIndexedPrograms()
Return an indexed array of programs
public
getIndexedPrograms() : mixed
getModules()
Get Modules
public
getModules() : mixed
getPath()
Return the controller path
public
getPath(mixed $controller) : mixed
Parameters
- $controller : mixed
moduleExists()
Check if a module exists
public
moduleExists(mixed $module) : mixed
Parameters
- $module : mixed
parse()
Parse a XMLElement reading menu entries
private
parse( $xml, mixed $path) : mixed