프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$fuzzy | boolean | Is msgid fuzzy? | |
$location | string | Msgid position in the source code. | |
$msgid | string | Msgid. | |
$msgstr | string | array | For each plural form one array field. If there is only one translation (no plural forms), it is stored as a string. | |
$obsolete | boolean | Is msgid obsolete? | |
$plural | string | Plural forms. |
메소드 | 설명 | |
---|---|---|
__construct ( string $chunk ) | Constructor. | |
getLocation ( ) : string | array | Returns msgid's position in source codes. | |
getMsgid ( ) : string | array | Returns msgid. | |
getMsgstr ( ) : string | array | Returns msgstr. | |
getPlural ( ) : string | Returns plural translations. | |
hasPlural ( ) : boolean | Returns whether the msgid has plural forms. | |
isFuzzy ( ) : boolean | Returns whether the msgid is fuzzy. | |
isObsolete ( ) : boolean | Returns whether the msgid is obsolete. |
메소드 | 설명 | |
---|---|---|
parse ( array $chunks ) | The actual parser. |
public __construct ( string $chunk ) | ||
$chunk | string | Translation fragment |
public getLocation ( ) : string | array | ||
리턴 | string | array |
public isObsolete ( ) : boolean | ||
리턴 | boolean |