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.