_aggregator_items

function _aggregator_items

_aggregator_items($count)

Helper function for drupal_map_assoc.

Parameters

$count: Items count.

Return value

A string that is plural-formatted as "@count items".

File

modules/aggregator/aggregator.module, line 780
Used to aggregate syndicated content (RSS, RDF, and Atom).

Code

function _aggregator_items($count) {
  return format_plural($count, '1 item', '@count items');
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!aggregator!aggregator.module/function/_aggregator_items/7.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部