XOOPS  2.6.0
MenusDefaultDecorator Class Reference
Inheritance diagram for MenusDefaultDecorator:
Inheritance graph

Public Member Functions

 _doDecoration ($string)
 
 accessFilter (&$access_filter)
 
 decorateMenu (&$menu)
 
 end (&$menus)
 
 getExtraValue ($type= 'user', $value)
 
 hasAccess ($menu, &$hasAccess)
 
 isNotOwner ()
 
 isOwner ()
 
 start ()
 
- Public Member Functions inherited from MenusDecoratorAbstract
 __construct ($dirname)
 
 loadLanguage ($name)
 

Protected Attributes

 $get_uid
 
 $owner
 
 $user
 
 $user_groups
 
 $user_uid
 

Detailed Description

Definition at line 20 of file decorator.php.

Member Function Documentation

MenusDefaultDecorator::_doDecoration (   $string)

Definition at line 108 of file decorator.php.

MenusDefaultDecorator::accessFilter ( $accessFilter)
Returns
void

Implements MenusDecoratorInterface.

Definition at line 61 of file decorator.php.

References _PL_MENUS_MENUS_ISNOTOWNER, and _PL_MENUS_MENUS_ISOWNER.

MenusDefaultDecorator::decorateMenu ( $menu)
Returns
void

Implements MenusDecoratorInterface.

Definition at line 69 of file decorator.php.

References $menu, and XoopsBaseConfig\get().

Here is the call graph for this function:

MenusDefaultDecorator::end ( $menus)
Returns
void

Implements MenusDecoratorInterface.

Definition at line 85 of file decorator.php.

MenusDefaultDecorator::getExtraValue (   $type = 'user',
  $value 
)

Definition at line 150 of file decorator.php.

References $criteria, $pm_handler, $type, $xoops, and Xoops\getInstance().

Here is the call graph for this function:

MenusDefaultDecorator::hasAccess (   $menu,
$hasAccess 
)
Returns
void

Implements MenusDecoratorInterface.

Definition at line 90 of file decorator.php.

References $groups, $menu, and $user_groups.

MenusDefaultDecorator::isNotOwner ( )

Definition at line 145 of file decorator.php.

MenusDefaultDecorator::isOwner ( )

Definition at line 140 of file decorator.php.

MenusDefaultDecorator::start ( )
Returns
void

Implements MenusDecoratorInterface.

Definition at line 32 of file decorator.php.

References $GLOBALS, $member_handler, $owner, $user, $xoops, and Xoops\getInstance().

Here is the call graph for this function:

Member Data Documentation

MenusDefaultDecorator::$get_uid
protected

Definition at line 30 of file decorator.php.

MenusDefaultDecorator::$owner
protected

Definition at line 24 of file decorator.php.

Referenced by start().

MenusDefaultDecorator::$user
protected

Definition at line 22 of file decorator.php.

Referenced by start().

MenusDefaultDecorator::$user_groups
protected

Definition at line 26 of file decorator.php.

Referenced by hasAccess().

MenusDefaultDecorator::$user_uid
protected

Definition at line 28 of file decorator.php.


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