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 | |
getPageTemplate ($pageId) | |
templateReplace (&$TITLE, &$MENUBAR, &$ACTIONBARMODULE, &$ACTIONBARPAGE, &$BREADCRUMB, &$INHERITEDINFO, &$CONTENT, &$FOOTER, &$DEBUGINFO, &$ERRORSTRING, &$WARNINGSTRING, &$INFOSTRING, &$STARTSCRIPTS, &$LOGINFORM) | |
actualTemplatePath ($templatePath) | |
getTemplateName ($actualPath) | |
installTemplate ($str) | |
name ($path, $end) | |
addissue (&$issues, $str, $id) | |
addfatalissue (&$issues, $str, $id) | |
checkForTemplateIssues ($templatePath, $templateName, &$issues) | |
mycount ($content, $find) | |
handleTemplateManagement () |
actualTemplatePath | ( | $ | templatePath | ) |
Definition at line 79 of file template.lib.php.
addfatalissue | ( | &$ | issues, | |
$ | str, | |||
$ | id | |||
) |
Definition at line 245 of file template.lib.php.
addissue | ( | &$ | issues, | |
$ | str, | |||
$ | id | |||
) |
Definition at line 241 of file template.lib.php.
checkForTemplateIssues | ( | $ | templatePath, | |
$ | templateName, | |||
&$ | issues | |||
) |
Definition at line 251 of file template.lib.php.
getPageTemplate | ( | $ | pageId | ) |
Returns the template specific to the page
$pageId | The page id for the page whose template is needed |
Definition at line 26 of file template.lib.php.
getTemplateName | ( | $ | actualPath | ) |
Definition at line 95 of file template.lib.php.
handleTemplateManagement | ( | ) |
Definition at line 302 of file template.lib.php.
installTemplate | ( | $ | str | ) |
Definition at line 99 of file template.lib.php.
mycount | ( | $ | content, | |
$ | find | |||
) |
Definition at line 290 of file template.lib.php.
name | ( | $ | path, | |
$ | end | |||
) |
Definition at line 224 of file template.lib.php.
templateReplace | ( | &$ | TITLE, | |
&$ | MENUBAR, | |||
&$ | ACTIONBARMODULE, | |||
&$ | ACTIONBARPAGE, | |||
&$ | BREADCRUMB, | |||
&$ | INHERITEDINFO, | |||
&$ | CONTENT, | |||
&$ | FOOTER, | |||
&$ | DEBUGINFO, | |||
&$ | ERRORSTRING, | |||
&$ | WARNINGSTRING, | |||
&$ | INFOSTRING, | |||
&$ | STARTSCRIPTS, | |||
&$ | LOGINFORM | |||
) |
Replaces the CMS variables in the template with the proper values and returns the page.
$TITLE | The title for the page | |
$MENUBAR | The menubar according to the page settings, either the complete, classic or multi-depth. | |
$ACTIONBARMODULE | Contains the actions that are specific to the module of page that is currently being viewed | |
$ACTIONBARPAGE | Has the actions that are specif to a page like page-settings, permissions, login etc. | |
$CONTENT | The content of the page that the user has requested. | |
$FOOTER |
Definition at line 56 of file template.lib.php.