Namespaces | Functions

cms/actionbar.lib.php File Reference

Go to the source code of this file.

Namespaces

namespace  pragyan
 

Widget Framework for Pragyan CMS (c) 2010 Pragyan Team http://www.gnu.org/licenses/ GNU Public License For more details, see README Add support for File Upload/Download via the widget's configurations Reload Widgets ,Get Widget Instances. see bottom.


Functions

if(!defined('__PRAGYAN_CMS')) getActionbarPage ($userId, $pageId)
 getActionbarModule ($userId, $pageId)

Function Documentation

getActionbarModule ( userId,
pageId 
)

Generates module specific actions

Parameters:
$userId The user for whom the list of permitted actions must be computed.
$pageId The page on which the permissible action for the user is computed
Returns:
$actionbar The list of permitted module specific actions for the 'user' of 'page'.

Definition at line 75 of file actionbar.lib.php.

if (!defined('__PRAGYAN_CMS')) getActionbarPage ( userId,
pageId 
)

Generates page level actions Admin(+admin), Settings(+settings), Permissions(+grant), Login(+login), Profile(+profile), and Logout(+logout)

Parameters:
$userId The user for whom the list of permitted actions must be computed.
$pageId The page on which the permissible action for the user is computed
Returns:
$actionbar The list of permitted actions for the 'user' of 'page'.

profile has been changed to display the username.

Definition at line 26 of file actionbar.lib.php.