Namespaces | Functions

cms/menu.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

 findMenuIndex ($menuArray, $pageId)
 getMenu ($userId, $pageIdArray)
 getChildList ($pageId, $depth, $rootUri, $userId, $curdepth)
 htmlMenuRenderer ($menuArray, $currentIndex=-1, $linkPrefix= '')
 imageMenuRenderer ($menuArray, $currentIndex=-1, $linkPrefix= '')
 getChildren ($pageId, $userId)

Function Documentation

findMenuIndex ( menuArray,
pageId 
)

Definition at line 24 of file menu.lib.php.

getChildList ( pageId,
depth,
rootUri,
userId,
curdepth 
)

Definition at line 178 of file menu.lib.php.

getChildren ( pageId,
userId 
)
Returns:
array Array of arrays of page id, page name, page title, large image and small image

Definition at line 275 of file menu.lib.php.

getMenu ( userId,
pageIdArray 
)

This hostURL is to replace all ".(dot)s" with the current address, making the link absolute. hostURL() common.lib.php - http://pragyan.org/11 selfURI() common.lib.php - http://pragyan.org/11/home/how_to_use/mypage/mypage2

Definition at line 35 of file menu.lib.php.

htmlMenuRenderer ( menuArray,
currentIndex = -1,
linkPrefix = '' 
)

Definition at line 217 of file menu.lib.php.

imageMenuRenderer ( menuArray,
currentIndex = -1,
linkPrefix = '' 
)

Definition at line 244 of file menu.lib.php.