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'] message number of the last message
$groups[newsgroup_name]['first'] message number of the first message
$groups[newsgroup_name]['posting_allowed'] values: y - yes, n - no, m - moderated)
$groups[newsgroup_name]['desc'] newsgroup description
Cette fonction ne peut pas être appelée de façon statique.
Avertissement |
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. |
Exemple 49-1. Using getGroups()
|
Précédent | Sommaire | Suivant |
Net_NNTP::getDate() | Niveau supérieur | Net_NNTP::getHeaderRaw() |