[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/includes/runtime/ -> Viewer.php (summary)

(no description)

File Size: 212 lines (7 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Vtiger_Viewer:: (10 methods):
  log()
  __construct()
  safeHtmlFilter()
  getLayoutName()
  getDefaultLayoutName()
  getTemplatePath()
  view()
  getInstance()
  vtemplate_path()
  vresource_url()


Class: Vtiger_Viewer  - X-Ref

log($message, $delimiter="\n")   X-Ref
log message into the file if in debug mode.

param: type $message
param: type $delimiter

__construct($media='')   X-Ref
Constructor - Sets the templateDir and compileDir for the Smarty files

param: <String> - $media Layout/Media name

safeHtmlFilter($content, $smarty)   X-Ref
No description

getLayoutName()   X-Ref
Function to get the current layout name

return: <String> - Current layout name if not empty, otherwise Default layout name

getDefaultLayoutName()   X-Ref
Function to return for default layout name

return: <String> - Default Layout Name

getTemplatePath($templateName, $moduleName='')   X-Ref
Function to get the module specific template path for a given template

param: <String> $templateName
param: <String> $moduleName
return: <String> - Module specific template path if exists, otherwise default template path for the given template name

view($templateName, $moduleName='', $fetch=false)   X-Ref
Function to display/fetch the smarty file contents

param: <String> $templateName
param: <String> $moduleName
param: <Boolean> $fetch
return: html data

getInstance($media='')   X-Ref
Static function to get the Instance of the Class Object

param: <String> $media Layout/Media
return: Vtiger_Viewer instance

vtemplate_path($templateName, $moduleName='')   X-Ref
No description

vresource_url($url)   X-Ref
Generated cache friendly resource URL linked with version of Vtiger




Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1