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.
Exibir arquivo
Open project: horde/horde
Public Methods
Protected Methods
Private Methods
Method |
Description |
|
_buildWhere ( $criteria = [] ) : array |
Build attributes query |
|
_connect ( ) : boolean |
Attempts to open a persistent connection to the SQL server. |
|
Method Details
__construct()
public method
Constructs a new SQL storage object.
_deleteActivity()
protected method
_deleteImage()
protected method
_deleteOnlineStatus()
protected method
_deleteSavedSearch()
protected method
_deleteUser()
protected method
_getActivity()
protected method
_getCryptedPassword()
protected method
Formats a password using the current encryption.
_getOnlineUsers()
protected method
_getProfile()
protected method
_getRandomUsers()
protected method
_getRecentVisitors()
protected method
_getSavedSearch()
protected method
_getSearchCriteria()
protected method
Get saved search criteria
_logActivity()
protected method
_logView()
protected method
_saveProfile()
protected method
_saveSearch()
protected method
_updateOnlineStatus()
protected method
Adds a set of authentication credentials.
countUsers()
public method
Count users by attributes
deleteOnlineUser()
public method
public getUsers ( $criteria = [], $from, $count ) |
userExists()
public method