Net_NNTP::getGroups()

Net_NNTP::getGroups() -- fetch list of avaible newsgroups

Synopsis

require_once 'Net/NNTP.php';

array Net_NNTP::getGroups ([string $fetch = TRUE])

Description

Returns a list of all avaible newsgroups from the connected news server

Parameter

Return value

array - a two dimensional, nested array indicated by the name of the newsgroup, every entry contains information about the newsgroup:

Note

This function can not be called statically.

Warning

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.

See

Net_NNTP::selectGroup()

Example