NumberFormatter::setTextAttributenumfmt_set_text_attribute(No version information available, might be only in CVS) numfmt_set_text_attribute — Set a text attribute ОписаниеObject oriented style
bool
NumberFormatter::setTextAttribute
( integer $attr
, string $value
)
Procedural style Set a text attribute associated with the formatter. An example of a text attribute is the suffix for positive numbers. If the formatter does not understand the attribute, U_UNSUPPORTED_ERROR error is produced. Rule-based formatters only understand NumberFormatter::DEFAULT_RULESET and NumberFormatter::PUBLIC_RULESETS. Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. ПримерыПример #1 numfmt_set_text_attribute() example
<?phpПример #2 OO example
<?phpРезультат выполнения данного примера:
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |