PHP 클래스 RainLab\Translate\Classes\ThemeScanner

저자: Alexey Bobkov, Samuel Georges
파일 보기 프로젝트 열기: rainlab/translate-plugin 1 사용 예제들

공개 메소드들

메소드 설명
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.