Net_NNTP_Client::getGroups()
Возвращаемое значение
array - a two dimensional, nested array indicated by the name of the newsgroup, every entry contains information about the newsgroup:
$groups[newsgroup_name]['group'] Name of the newsgroup
$groups[newsgroup_name]['last'] Number of the last article
$groups[newsgroup_name]['first'] Number of the first article
$groups[newsgroup_name]['posting'] values: y - yes, n - no, m - moderated)
Заметка
Эта функция не должна вызываться статически.
Внимание |
Especially public news server can provide more then 30.000 newsgroup. So this function may runs longer then the maximum execution time set in the php.ini. |
Пример
Пример 50-1. Using getGroups()
|
Пред. | Начало | След. |
Net_NNTP_Client::getDate() | Уровень выше | Net_NNTP_Client::getHeader() |