EasyBlogModelThemes
extends EasyBlogAdminModel
in package
Table of Contents
Properties
- $searchables : mixed
Methods
- __construct() : mixed
- getCurrentTemplate() : mixed
- Retrieves the current site template
- getCurrentTemplatePath() : mixed
- Retrieves the current site template's path
- getCustomCssTemplatePath() : mixed
- Retrieves the current site template's path
- getDefaultJoomlaTemplate() : mixed
- Retrieve the current front end's default template
- getFile() : mixed
- Retrieves information about a single file
- getFiles() : mixed
- Retrieves a list of files
- getOverridePath() : mixed
- Generates the override path for a theme file
- getSearchableItems() : mixed
- Get searchable columns
- getThemeObject() : mixed
- Generates a standard theme object
- getThemeParams() : mixed
- Retrieves the theme params
- getThemePath() : mixed
- Generates the path to the theme
- getThemes() : mixed
- Retrieves a list of installed themes on the site
- getUserStateFromRequest() : mixed
- Gets the value of a user state variable.
- install() : mixed
- Installs a new theme
- revert() : mixed
- Allows caller to revert an overriden theme file
- write() : mixed
- Allows caller to write contents
- bindTable() : mixed
- implodeValues() : mixed
- populateState() : void
- Stock method to auto-populate the model state.
Properties
$searchables
public
mixed
$searchables
= array()
Methods
__construct()
public
__construct() : mixed
getCurrentTemplate()
Retrieves the current site template
public
getCurrentTemplate() : mixed
Tags
getCurrentTemplatePath()
Retrieves the current site template's path
public
getCurrentTemplatePath() : mixed
Tags
getCustomCssTemplatePath()
Retrieves the current site template's path
public
getCustomCssTemplatePath() : mixed
Tags
getDefaultJoomlaTemplate()
Retrieve the current front end's default template
public
getDefaultJoomlaTemplate() : mixed
Tags
getFile()
Retrieves information about a single file
public
getFile(mixed $filePath, mixed $element[, mixed $contents = false ]) : mixed
Parameters
- $filePath : mixed
- $element : mixed
- $contents : mixed = false
Tags
getFiles()
Retrieves a list of files
public
getFiles(mixed $element) : mixed
Parameters
- $element : mixed
Tags
getOverridePath()
Generates the override path for a theme file
public
getOverridePath(mixed $relativePath) : mixed
Parameters
- $relativePath : mixed
Tags
getSearchableItems()
Get searchable columns
public
getSearchableItems(mixed $query) : mixed
Parameters
- $query : mixed
Tags
getThemeObject()
Generates a standard theme object
public
getThemeObject(mixed $name) : mixed
Parameters
- $name : mixed
Tags
getThemeParams()
Retrieves the theme params
public
getThemeParams(mixed $theme) : mixed
Parameters
- $theme : mixed
Tags
getThemePath()
Generates the path to the theme
public
getThemePath(mixed $element) : mixed
Parameters
- $element : mixed
Tags
getThemes()
Retrieves a list of installed themes on the site
public
getThemes() : mixed
Tags
getUserStateFromRequest()
Gets the value of a user state variable.
public
getUserStateFromRequest(mixed $key, mixed $request[, mixed $default = null ][, mixed $type = 'none' ]) : mixed
Parameters
- $key : mixed
- $request : mixed
- $default : mixed = null
- $type : mixed = 'none'
install()
Installs a new theme
public
install(mixed $file) : mixed
Parameters
- $file : mixed
Tags
revert()
Allows caller to revert an overriden theme file
public
revert(mixed $file) : mixed
Parameters
- $file : mixed
Tags
write()
Allows caller to write contents
public
write(mixed $file, mixed $contents) : mixed
Parameters
- $file : mixed
- $contents : mixed
Tags
bindTable()
protected
bindTable(mixed $tableName, mixed $result) : mixed
Parameters
- $tableName : mixed
- $result : mixed
implodeValues()
protected
implodeValues(mixed $data) : mixed
Parameters
- $data : mixed
populateState()
Stock method to auto-populate the model state.
protected
populateState() : void