PHP Class Application\Mvc\Helper

Inheritance: extends Phalcon\Mvc\User\Component
Show file Open project: oleksandr-torosh/yona-cms

Public Properties

Property Type Description
$menu

Public Methods

Method Description
__construct ( )
activeMenu ( )
announce ( $incomeString, $num )
at ( $string, $placeholders = null ) Мультиязычный перевод строки по админке
cacheExpire ( $seconds )
constant ( $name )
dbProfiler ( )
error ( $code = 404 )
image ( $args, $attributes = [] )
isAdminSession ( )
javascript ( $id )
langSwitcher ( $lang, $string )
langUrl ( $params )
languages ( )
meta ( )
modulePartial ( $template, $data, $module = null )
querySymbol ( )
staticWidget ( $id, $params = [] ) Вызов выджета из модуля StaticWidget
title ( $title = null, $h1 = false )
translate ( $string, $placeholders = null ) Мультиязычный перевод строки по сайту/пользовательской_части
widget ( $namespace = 'Index', array $params = [] )

Method Details

__construct() public method

public __construct ( )

activeMenu() public method

public activeMenu ( )

announce() public method

public announce ( $incomeString, $num )

at() public method

Мультиязычный перевод строки по админке
public at ( $string, $placeholders = null )

cacheExpire() public method

public cacheExpire ( $seconds )

constant() public method

public constant ( $name )

dbProfiler() public method

public dbProfiler ( )

error() public method

public error ( $code = 404 )

image() public method

public image ( $args, $attributes = [] )

isAdminSession() public method

public isAdminSession ( )

javascript() public method

public javascript ( $id )

langSwitcher() public method

public langSwitcher ( $lang, $string )

langUrl() public method

public langUrl ( $params )

languages() public method

public languages ( )

meta() public method

public meta ( )

modulePartial() public method

public modulePartial ( $template, $data, $module = null )

querySymbol() public method

public querySymbol ( )

staticWidget() public method

Вызов выджета из модуля StaticWidget
public staticWidget ( $id, $params = [] )
$id - идентификатор виджета, например "phone"

title() public method

public title ( $title = null, $h1 = false )

translate() public method

Мультиязычный перевод строки по сайту/пользовательской_части
public translate ( $string, $placeholders = null )

widget() public method

public widget ( $namespace = 'Index', array $params = [] )
$params array

Property Details

$menu public property

public $menu