Zend Framework
3.0
|
Zend Framework (http://framework.zend.com/) More...
Namespaces | |
namespace | Escaper |
Zend Framework (http://framework.zend.com/) | |
namespace | Navigation |
Zend Framework (http://framework.zend.com/) | |
namespace | Placeholder |
Zend Framework (http://framework.zend.com/) | |
namespace | Service |
Zend Framework (http://framework.zend.com/) | |
Classes | |
class | AbstractHelper |
class | AbstractHtmlElement |
class | BasePath |
Helper for retrieving the base path. More... | |
class | Cycle |
Helper for alternating between set of values. More... | |
class | DeclareVars |
Helper for declaring default values of template variables. More... | |
class | Doctype |
Helper for setting and retrieving the doctype. More... | |
class | EscapeCss |
Helper for escaping values. More... | |
class | EscapeHtml |
Helper for escaping values. More... | |
class | EscapeHtmlAttr |
Helper for escaping values. More... | |
class | EscapeJs |
Helper for escaping values. More... | |
class | EscapeUrl |
Helper for escaping values. More... | |
class | FlashMessenger |
Helper to proxy the plugin flash messenger. More... | |
class | Gravatar |
Helper for retrieving avatars from gravatar.com. More... | |
class | HeadLink |
Zend_Layout_View_Helper_HeadLink. More... | |
class | HeadMeta |
Zend. More... | |
class | HeadScript |
Helper for setting and retrieving script elements for HTML head section. More... | |
class | HeadStyle |
Helper for setting and retrieving stylesheets. More... | |
class | HeadTitle |
Helper for setting and retrieving title element for HTML head. More... | |
interface | HelperInterface |
class | HtmlFlash |
class | HtmlList |
Helper for ordered and unordered lists. More... | |
class | HtmlObject |
class | HtmlPage |
class | HtmlQuicktime |
class | HtmlTag |
Renders <html> tag (both opening and closing) of a web page, to which some custom attributes can be added dynamically. More... | |
class | Identity |
View helper plugin to fetch the authenticated identity. More... | |
class | InlineScript |
Helper for setting and retrieving script elements for inclusion in HTML body section. More... | |
class | Json |
Helper for simplifying JSON responses. More... | |
class | Layout |
View helper for retrieving layout object. More... | |
class | Navigation |
Proxy helper for retrieving navigational helpers and forwarding calls. More... | |
class | PaginationControl |
class | Partial |
Helper for rendering a template fragment in its own variable scope. More... | |
class | PartialLoop |
Helper for rendering a template fragment in its own variable scope; iterates over data provided and renders for each iteration. More... | |
class | Placeholder |
Helper for passing data between otherwise segregated Views. More... | |
class | RenderChildModel |
Helper for rendering child view models. More... | |
class | RenderToPlaceholder |
Renders a template and stores the rendered output as a placeholder variable for later use. More... | |
class | ServerUrl |
Helper for returning the current server URL (optionally with request URI) More... | |
class | Url |
Helper for making easy links and getting urls that depend on the routes and router. More... | |
class | ViewModel |
Helper for storing and retrieving the root and current view model. More... | |
Functions | |
setTranslator (Translator $translator=null, $textDomain=null) | |
Sets translator to use in helper. | |
getTranslator () | |
Returns translator used in helper. | |
hasTranslator () | |
Checks if the helper has a translator. | |
setTranslatorEnabled ($enabled=true) | |
Sets whether translator is enabled and should be used. | |
isTranslatorEnabled () | |
Returns whether translator is enabled and should be used. | |
setTranslatorTextDomain ($textDomain= 'default') | |
Set translation text domain. | |
getTranslatorTextDomain () | |
Return the translation text domain. | |
Variables | |
trait | TranslatorAwareTrait |
Trait for implementing Zend. | |
$translatorTextDomain = 'default' | |
$translatorEnabled = true | |
Zend Framework (http://framework.zend.com/)
for the canonical source repository Copyright (c) 2005-2016 Zend Technologies USA Inc. http://github.com/zendframework/zf2 for the canonical source repository Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) http://framework.zend.com/license/new-bsd New BSD License (http://www.zend.com) http://framework.zend.com/license/new-bsd New BSD License
Zend\View\Helper\getTranslator | ( | ) |
Returns translator used in helper.
Zend\View\Helper\getTranslatorTextDomain | ( | ) |
Return the translation text domain.
Zend\View\Helper\hasTranslator | ( | ) |
Checks if the helper has a translator.
Zend\View\Helper\isTranslatorEnabled | ( | ) |
Returns whether translator is enabled and should be used.
Zend\View\Helper\setTranslator | ( | Translator | $translator = null , |
$textDomain = null |
|||
) |
Sets translator to use in helper.
Translator | $translator | [optional] translator. Default is null, which sets no translator. |
string | $textDomain | [optional] text domain Default is null, which skips setTranslatorTextDomain |
Zend\View\Helper\setTranslatorEnabled | ( | $enabled = true | ) |
Sets whether translator is enabled and should be used.
bool | $enabled | [optional] whether translator should be used. Default is true. |
Zend\View\Helper\setTranslatorTextDomain | ( | $textDomain = 'default' | ) |
$translatorEnabled = true |
$translatorTextDomain = 'default' |
trait TranslatorAwareTrait |
Trait for implementing Zend.
This can be used by helpers that need to implement the interface, whether via explicit implementation or duck typing.