ResourceBundle::count
resourcebundle_count
(PHP > 5.4.0)
ResourceBundle::count -- resourcebundle_count — Get number of elements in the bundle
설명
Object oriented style
int
ResourceBundle::count
( void
)
Procedural style
Get the number of elements in the bundle.
반환값
Returns number of elements in the bundle.
예제
Example #1 resourcebundle_count() example
<?php
$r = resourcebundle_create( 'es', "/usr/share/data/myapp");
echo resourcebundle_count($r);
?>
Example #2 OO example
<?php
$r = new ResourceBundle( 'es', "/usr/share/data/myapp");
echo $r->count();
?>
위 예제의 출력:
42
There are no user contributed notes for this page.
