Go to the source code of this file.
Data Structures | |
class | module |
interface | fileuploadable |
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 | |
getContent ($pageId, $action, $userId, $permission, $recursed=0) | |
getTitle ($pageId, $action, &$heading) | |
child ($pageId, $userId, $depth) |
child | ( | $ | pageId, | |
$ | userId, | |||
$ | depth | |||
) |
Definition at line 283 of file content.lib.php.
getContent | ( | $ | pageId, | |
$ | action, | |||
$ | userId, | |||
$ | permission, | |||
$ | recursed = 0 | |||
) |
Find page type, and module component id. See if the module is consistent with standards. Give the action and module component id to module.TODO: Make sure a newly created page or renamed page does not have a . in its name. -> clashes with .php, .jpg etc
Actions which are taken care of from here only : login, logout, profile Actions in "page" module : login, logout, profile, admin, groupadmin, settings, grant
Commented the requirement of login.lib.php because it is already included in /index.php
<The login page
default actions also to be defined here (and not outside) Coz work to be done after these actions do involve the page
<done here because we needed to check if the page exists for sure.
Definition at line 26 of file content.lib.php.
getTitle | ( | $ | pageId, | |
$ | action, | |||
&$ | heading | |||
) |
To get title bar text
Definition at line 261 of file content.lib.php.