Query: resourcebundle_count
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
RESOURCEBUNDLE_COUNT(3) 1 RESOURCEBUNDLE_COUNT(3) ResourceBundle::count - Get number of elements in the bundle Object oriented styleSYNOPSISpublic int ResourceBundle::count (void )DESCRIPTIONProcedural style int resourcebundle_count (ResourceBundle $r) Get the number of elements in the bundle.PARAMETERSo $r -ResourceBundle object.RETURN VALUESReturns number of elements in the bundle.EXAMPLESExample #1 resourcebundle_count(3) 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(); ?> The above example will output: 42SEE ALSOresourcebundle_get(3). PHP Documentation Group RESOURCEBUNDLE_COUNT(3)