EasyBlogThemes
extends EasyBlog
in package
Table of Contents
Properties
- $acl : mixed
- $app : mixed
- $categoryTheme : mixed
- $config : mixed
- $db : mixed
- $doc : mixed
- $entryParams : mixed
- $fd : mixed
- $input : mixed
- $jconfig : mixed
- $lang : mixed
- $my : mixed
- $params : mixed
- $profile : mixed
- $string : mixed
- $theme : mixed
- $vars : mixed
- $view : mixed
Methods
- __call() : mixed
- This is used to map methods from views to be accessible by theme files
- __construct() : mixed
- escape() : mixed
- Escapes a string
- formatDate() : mixed
- Formats a date.
- getDirection() : mixed
- Retrieves the document direction. Whether this is rtl or ltr
- getError() : mixed
- getErrors() : mixed
- getNouns() : mixed
- Compute text and determine its noun
- getParam() : mixed
- Deprecated. Use params from views
- getPath() : mixed
- Retrieves the path to the current theme.
- getThemeParams() : mixed
- Retrieves the themes parameters
- hasError() : mixed
- hasErrors() : mixed
- html() : mixed
- Template helper
- isIpad() : mixed
- Determines if this is a ipad layout
- isIphone() : mixed
- Determines if this is from an iphone
- isMobile() : mixed
- Determines if this is a mobile layout
- isTablet() : mixed
- Determines if this is a tablet layout
- loadLanguage() : mixed
- Helper method to load language
- output() : mixed
- New method to display contents from template files
- renderModule() : mixed
- Renders module in a template
- resolve() : mixed
- Resolves a given namespace to the appropriate path
- set() : mixed
- Sets a variable on the template
- setCategoryTheme() : mixed
- Allows caller to set a custom theme
- setError() : mixed
- setParams() : mixed
- Allows caller to define their own params value
- getCurrentTheme() : mixed
- Determines the current theme used on the site
Properties
$acl
public
mixed
$acl
= \null
$app
public
mixed
$app
= \null
$categoryTheme
public
mixed
$categoryTheme
= ''
$config
public
mixed
$config
= \null
$db
public
mixed
$db
= \null
$doc
public
mixed
$doc
= \null
$entryParams
public
mixed
$entryParams
= \null
$fd
public
mixed
$fd
= \null
$input
public
mixed
$input
= \null
$jconfig
public
mixed
$jconfig
= \null
$lang
public
mixed
$lang
= \null
$my
public
mixed
$my
= \null
$params
public
mixed
$params
= []
$profile
public
mixed
$profile
$string
public
mixed
$string
= \null
$theme
public
mixed
$theme
= \null
$vars
public
mixed
$vars
= []
$view
public
mixed
$view
= \null
Methods
__call()
This is used to map methods from views to be accessible by theme files
public
__call(mixed $method, mixed $args) : mixed
Parameters
- $method : mixed
- $args : mixed
Tags
__construct()
public
__construct([mixed $options = [] ]) : mixed
Parameters
- $options : mixed = []
escape()
Escapes a string
public
escape(mixed $val) : mixed
Parameters
- $val : mixed
Tags
formatDate()
Formats a date.
public
formatDate(mixed $format, mixed $dateString) : mixed
Parameters
- $format : mixed
- $dateString : mixed
Tags
getDirection()
Retrieves the document direction. Whether this is rtl or ltr
public
getDirection() : mixed
Tags
getError()
public
getError() : mixed
getErrors()
public
getErrors() : mixed
getNouns()
Compute text and determine its noun
public
getNouns(mixed $text, mixed $count[, mixed $includeCount = false ]) : mixed
Parameters
- $text : mixed
- $count : mixed
- $includeCount : mixed = false
getParam()
Deprecated. Use params from views
public
getParam(mixed $key[, mixed $default = null ]) : mixed
Parameters
- $key : mixed
- $default : mixed = null
Tags
getPath()
Retrieves the path to the current theme.
public
getPath() : mixed
Tags
getThemeParams()
Retrieves the themes parameters
public
getThemeParams() : mixed
Tags
hasError()
public
hasError() : mixed
hasErrors()
public
hasErrors() : mixed
html()
Template helper
public
html(mixed $namespace) : mixed
Parameters
- $namespace : mixed
Tags
isIpad()
Determines if this is a ipad layout
public
isIpad() : mixed
Tags
isIphone()
Determines if this is from an iphone
public
isIphone() : mixed
Tags
isMobile()
Determines if this is a mobile layout
public
isMobile() : mixed
Tags
isTablet()
Determines if this is a tablet layout
public
isTablet() : mixed
Tags
loadLanguage()
Helper method to load language
public
loadLanguage([mixed $admin = false ]) : mixed
Parameters
- $admin : mixed = false
Tags
output()
New method to display contents from template files
public
output(mixed $namespace[, mixed $vars = array() ][, mixed $extension = 'php' ]) : mixed
Parameters
- $namespace : mixed
- $vars : mixed = array()
- $extension : mixed = 'php'
Tags
renderModule()
Renders module in a template
public
renderModule(mixed $position[, mixed $attributes = [] ][, mixed $content = null ]) : mixed
Parameters
- $position : mixed
- $attributes : mixed = []
- $content : mixed = null
Tags
resolve()
Resolves a given namespace to the appropriate path
public
resolve([mixed $namespace = '' ][, mixed $extension = 'php' ][, mixed $checkOverridden = true ]) : mixed
Parameters
- $namespace : mixed = ''
- $extension : mixed = 'php'
- $checkOverridden : mixed = true
Tags
set()
Sets a variable on the template
public
set(mixed $name, mixed $value) : mixed
Parameters
- $name : mixed
- $value : mixed
Tags
setCategoryTheme()
Allows caller to set a custom theme
public
setCategoryTheme(mixed $theme) : mixed
Parameters
- $theme : mixed
Tags
setError()
public
setError(mixed $msg) : mixed
Parameters
- $msg : mixed
setParams()
Allows caller to define their own params value
public
setParams(mixed $params) : mixed
Parameters
- $params : mixed
Tags
getCurrentTheme()
Determines the current theme used on the site
private
getCurrentTheme() : mixed