Orion PHP  0.11.12
The PHP5.3 framework
Orion\Core\MenuEntry Class Reference

List of all members.

Public Member Functions

 __construct ($_text, $_module, $_route=null, $_mode=null)
 getURL ()

Public Attributes

 $text = null
 $module = null
 $route = null
 $mode = null

Detailed Description

Orion MenuEntry class. Ease menu and links creation and storage

Author:
Thibaut Despoulain BSD 4-clauses
Version:
0.11.12

Definition at line 14 of file menuentry.php.


Constructor & Destructor Documentation

Orion\Core\MenuEntry::__construct ( _text,
_module,
_route = null,
_mode = null 
)

Creates a new menu entry for the configuration file

Parameters:
string$_textLink text
string$_moduleModule url wih the extension (ex: home.o)
string$_routeExtra routing (ex: /page/2)

Definition at line 43 of file menuentry.php.


Member Function Documentation

Orion\Core\MenuEntry::getURL ( )

Generates and returns corresponding URL

Returns:
string

Definition at line 55 of file menuentry.php.


Member Data Documentation

Orion::Core\MenuEntry::$mode = null

Definition at line 35 of file menuentry.php.

Orion::Core\MenuEntry::$module = null

Definition at line 25 of file menuentry.php.

Orion::Core\MenuEntry::$route = null

Definition at line 30 of file menuentry.php.

Orion::Core\MenuEntry::$text = null

Definition at line 20 of file menuentry.php.


The documentation for this class was generated from the following file: