PHP Class MenuHelper

Author: yusaku
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Protected Properties

Свойство Type Description
$app CApplication
$menuOptions
$uri
$user

Méthodes publiques

Méthode Description
__construct ( array $menuOptions, OEWebUser $user, $uri = '' )
getApp ( ) : CApplication
render ( ) : string
setApp ( CApplication $app )

Méthodes protégées

Méthode Description
formatMenuOptions ( array $menuOptions ) : array
getAuthItemParams ( array $params = [] ) : array Map auth item param specifications to actual values to pass for access checking

Method Details

__construct() public méthode

public __construct ( array $menuOptions, OEWebUser $user, $uri = '' )
$menuOptions array
$user OEWebUser

formatMenuOptions() protected méthode

protected formatMenuOptions ( array $menuOptions ) : array
$menuOptions array
Résultat array

getApp() public méthode

public getApp ( ) : CApplication
Résultat CApplication

getAuthItemParams() protected méthode

Map auth item param specifications to actual values to pass for access checking
protected getAuthItemParams ( array $params = [] ) : array
$params array
Résultat array

render() public méthode

public render ( ) : string
Résultat string

setApp() public méthode

public setApp ( CApplication $app )
$app CApplication

Property Details

$app protected_oe property

protected CApplication $app
Résultat CApplication

$menuOptions protected_oe property

protected $menuOptions

$uri protected_oe property

protected $uri

$user protected_oe property

protected $user