[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

(no description)

File Size: 123 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Vtiger_Theme:: (8 methods):
  getStylePath()
  getImagePath()
  getBaseThemePath()
  getThemePath()
  getDefaultThemeName()
  getAllSkins()
  getCurrentUserThemePath()
  vimage_path()


Class: Vtiger_Theme  - X-Ref

getStylePath($fileName='')   X-Ref
Function to get the path of a given style sheet or default style sheet

param: <String> $fileName
return: <string / Boolean> - file path , false if not exists

getImagePath($imageFileName)   X-Ref
Function to get the image path
This checks image in selected theme if not in images folder if it doest nor exists either case will retutn false

param: <string> $imageFileName - file name with extension
return: <string/boolean> - returns file path if exists or false;

getBaseThemePath()   X-Ref
Function to get the Base Theme Path, until theme folder not selected theme folder

return: <string> - theme folder

getThemePath($theme='')   X-Ref
Function to get the selected theme folder path

return: <string> -  selected theme path

getDefaultThemeName()   X-Ref
Function to get the default theme name

return: <String> - Default theme name

getAllSkins()   X-Ref
Function to returns all skins(themes)

return: <Array>

getCurrentUserThemePath()   X-Ref
Function returns the current users skin(theme) path


vimage_path($imageName)   X-Ref
No description



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