update : 2015.11.03
php.shukuma.com검색:
|
MessageFormatter::getPatternmsgfmt_get_pattern(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) MessageFormatter::getPattern -- msgfmt_get_pattern — Get the pattern used by the formatter 설명객체 기반 형식
public
string
MessageFormatter::getPattern
( void
)
절차식 형식 Get the pattern used by the formatter 인수
반환값The pattern string for this message formatter 예제Example #1 msgfmt_get_pattern() example
<?php Example #2 OO example
<?php 위 예제의 출력: Default pattern: '{0,number} monkeys on {1,number} trees' Formatting result: 123 monkeys on 456 trees New pattern: '{0,number} trees hosting {1,number} monkeys' Formatted number: 123 trees hosting 456 monkeys 참고
|