PHP Класс RainLab\Translate\Classes\ThemeScanner

Автор: Alexey Bobkov, Samuel Georges
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
scan ( ) : void Helper method for scanForMessages()
scanForMessages ( ) : void Scans theme templates and config for messages.
scanThemeConfigForMessages ( ) : void Scans the theme configuration for defined messages
scanThemeTemplatesForMessages ( ) : void Scans the theme templates for message references.

Защищенные методы

Метод Описание
parseContent ( string $content ) : array Parse the known language tag types in to messages.
processStandardTags ( string $content ) : array Process standard language filter tag (_|)

Описание методов

parseContent() защищенный Метод

Parse the known language tag types in to messages.
protected parseContent ( string $content ) : array
$content string
Результат array

processStandardTags() защищенный Метод

Process standard language filter tag (_|)
protected processStandardTags ( string $content ) : array
$content string
Результат array

scan() публичный статический Метод

Helper method for scanForMessages()
public static scan ( ) : void
Результат void

scanForMessages() публичный Метод

Scans theme templates and config for messages.
public scanForMessages ( ) : void
Результат void

scanThemeConfigForMessages() публичный Метод

Scans the theme configuration for defined messages
public scanThemeConfigForMessages ( ) : void
Результат void

scanThemeTemplatesForMessages() публичный Метод

Scans the theme templates for message references.
public scanThemeTemplatesForMessages ( ) : void
Результат void