Escape html entities
mixed
escapeHtml
(mixed $data, [array $allowedTags = null])
-
mixed
$data
-
array
$allowedTags
Escape html entities in url
string
escapeUrl
(string $data)
Retrieve layout model object
void
htmlEscape
( $data, [ $allowedTags = null])
Check is module exists and enabled in global config.
boolean
isModuleEnabled
([string $moduleName = null])
-
string
$moduleName: the full module name, example Mage_Core
Check whether or not the module output is enabled in Configuration
boolean
isModuleOutputEnabled
([string $moduleName = null])
-
string
$moduleName: Full module name
Escape quotes in java script
mixed
jsQuoteEscape
(moxed $data, [string $quote = '\''])
-
moxed
$data
-
string
$quote
Wrapper for standart strip_tags() function with extra functionality for html entities
string
stripTags
(string $data, [string $allowableTags = null], [bool $escape = false])
-
string
$data
-
string
$allowableTags
-
bool
$escape
Translate array
array
translateArray
([array $arr = array()])
base64_dencode() for URLs dencoding
string
urlDecode
(string $url)
base64_encode() for URLs encoding
string
urlEncode
(string $url)
Retrieve helper module name
string
_getModuleName
()
Retrieve request object
Zend_Controller_Request_Http
_getRequest
()
Retrieve url
string
_getUrl
(string $route, [array $params = array()])
-
string
$route
-
array
$params
Redefined in descendants as:
Loading cache data
mixed
_loadCache
(string $id)
Saving cache
-
mixed
$data
-
string
$id
-
array
$tags
-
$lifeTime