Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Elgg
Amd
ViewFilter
PHP Класс Elgg\Amd\ViewFilter
This filter adds AMD names to anonymous AMD modules defined in views.
С версии:
1.9
Показать файл
Открыть проект
Открытые методы
Метод
Описание
filter
(
string
$viewName
,
string
$content
) :
string
Inserts the AMD name into
$content
and returns the new value.
Приватные методы
Метод
Описание
getAmdName
(
string
$name
) :
string
Given the view name, returns the AMD name.
Описание методов
filter()
публичный
Метод
Inserts the AMD name into
$content
and returns the new value.
public
filter
(
string
$viewName
,
string
$content
) :
string
$viewName
string
The name of the view.
$content
string
The output of the view to be filtered.
Результат
string
The new content with the AMD name inserted, if applicable.