PHP 클래스 Expose\Converter\ConvertJS

파일 보기 프로젝트 열기: enygma/expose

공개 메소드들

메소드 설명
convertFromJSCharcode ( string $value ) : string Checks for common charcode pattern and decodes them
convertFromJSUnicode ( string $value ) : string This method converts JS unicode code points to regular characters
convertJSRegexModifiers ( string $value ) : string Eliminate JS regex modifiers

메소드 상세

convertFromJSCharcode() 공개 메소드

Checks for common charcode pattern and decodes them
public convertFromJSCharcode ( string $value ) : string
$value string the value to convert
리턴 string

convertFromJSUnicode() 공개 메소드

This method converts JS unicode code points to regular characters
public convertFromJSUnicode ( string $value ) : string
$value string the value to convert
리턴 string

convertJSRegexModifiers() 공개 메소드

Eliminate JS regex modifiers
public convertJSRegexModifiers ( string $value ) : string
$value string the value to convert
리턴 string