_aggregator_items

Versions
4.6 – 7
_aggregator_items($count)

Helper function for drupal_map_assoc.

Parameters

$count Items count.

Return value

Plural-formatted "@count items"

Code

modules/aggregator/aggregator.module, line 925

<?php
function _aggregator_items($count) {
  return format_plural($count, '1 item', '@count items');
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.