$_params
$_params : array
Hash containing connection parameters.
Folks internal firends implementaton
NOTE: You must add this prefs to your application
$_prefs['whitelist'] = array( 'value' => '', 'locked' => false, 'type' => 'implicit' );
$_prefs['blacklist'] = array( 'value' => '', 'locked' => false, 'type' => 'implicit' );
Copyright 2007-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (GPL). If you did not receive this file, see http://www.horde.org/licenses/gpl.
factory( $driver = null, array $params = null) : \Folks_Friends
Attempts to return a concrete Folks_Friends instance based on $friends.
$driver | ||
array | $params | A hash containing any additional configuration or connection parameters a subclass might need. |
The newly created concrete Folks_Friends instance, or false on an error.
_lists(string $type, string $user = null) : array
Returns array of usernames in a list of false if list is empty splits list by any number of commas or space characters which include " ", \r, \t, \n and \f
string | $type | List type to retreive |
string | $user | Username to check |
$list array fo usernames