PHP Class Folks_Driver_sql, horde
Required values for $params:
'phptype' The database type (e.g. 'pgsql', 'mysql', etc.).
'table' The name of the foo table in 'database'.
'charset' The database's internal charset.
Required by some database implementations:
'database' The name of the database.
'hostspec' The hostname of the database server.
'protocol' The communication protocol ('tcp', 'unix', etc.).
'username' The username with which to connect to the database.
'password' The password associated with 'username'.
'options' Additional options to pass to the database.
'tty' The TTY on which to connect to the database.
'port' The port on which to connect to the database.
The table structure can be created by the scripts/sql/folks_foo.sql
script.
Copyright 2008-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (GPL). If you
did not receive this file, see http://www.horde.org/licenses/gpl.
Afficher le fichier
Open project: horde/horde
Méthodes publiques
Méthodes protégées
Private Methods
Méthode |
Description |
|
_buildWhere ( $criteria = [] ) : array |
Build attributes query |
|
_connect ( ) : boolean |
Attempts to open a persistent connection to the SQL server. |
|
Method Details
__construct()
public méthode
Constructs a new SQL storage object.
_deleteActivity()
protected méthode
_deleteImage()
protected méthode
_deleteOnlineStatus()
protected méthode
_deleteSavedSearch()
protected méthode
_deleteUser()
protected méthode
_getActivity()
protected méthode
_getCryptedPassword()
protected méthode
Formats a password using the current encryption.
_getOnlineUsers()
protected méthode
_getProfile()
protected méthode
_getRandomUsers()
protected méthode
_getRecentVisitors()
protected méthode
_getSavedSearch()
protected méthode
_getSearchCriteria()
protected méthode
Get saved search criteria
_logActivity()
protected méthode
_logView()
protected méthode
_saveProfile()
protected méthode
_saveSearch()
protected méthode
_updateOnlineStatus()
protected méthode
Adds a set of authentication credentials.
countUsers()
public méthode
Count users by attributes
deleteOnlineUser()
public méthode
getUsers()
public méthode
public getUsers ( $criteria = [], $from, $count ) |
getViews()
public méthode
userExists()
public méthode