PHP 클래스 TranslateModule, gxc-cms

상속: extends CWebModule
파일 보기 프로젝트 열기: nganhtuan63/gxc-cms 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$translateComponentId the name of the translate component change this in case you dont use the default name

공개 메소드들

메소드 설명
__callStatic ( $method, $args )
init ( ) TranslateModule::init()
missingTranslation ( $event )
t ( string $message, array $params = [] ) : string translate some message using the module configuration
translator ( ) : MPTranslate get the translate component

메소드 상세

__callStatic() 정적인 공개 메소드

static public __callStatic ( $method, $args )

init() 공개 메소드

TranslateModule::init()
public init ( )

missingTranslation() 정적인 공개 메소드

static public missingTranslation ( $event )

t() 정적인 공개 메소드

translate some message using the module configuration
static public t ( string $message, array $params = [] ) : string
$message string
$params array
리턴 string translated message

translator() 정적인 공개 메소드

get the translate component
static public translator ( ) : MPTranslate
리턴 MPTranslate

프로퍼티 상세

$translateComponentId 정적으로 공개적으로 프로퍼티

the name of the translate component change this in case you dont use the default name
static public $translateComponentId