Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (DatabaseDriver $db) | |
load ($userId=null, $reset=true) | |
bind ($array, $ignore='') | |
check () | |
store ($updateNulls=true) | |
delete ($userId=null) | |
setLastVisit ($timeStamp=null, $userId=null) | |
Fonctions membres publiques hérités de Table | |
__construct ($table, $key, DatabaseDriver $db, DispatcherInterface $dispatcher=null) | |
getFields ($reload=false) | |
appendPrimaryKeys ($query, $pk=null) | |
getTableName () | |
getKeyName ($multiple=false) | |
getId () | |
getDbo () | |
setDbo (DatabaseDriver $db) | |
setRules ($input) | |
getRules () | |
reset () | |
bind ($src, $ignore=array()) | |
load ($keys=null, $reset=true) | |
check () | |
save ($src, $orderingFilter='', $ignore='') | |
checkOut ($userId, $pk=null) | |
checkIn ($pk=null) | |
hasPrimaryKey () | |
hit ($pk=null) | |
isCheckedOut ($with=0, $against=null) | |
getNextOrder ($where='') | |
getPrimaryKey (array $keys=array()) | |
reorder ($where='') | |
move ($delta, $where='') | |
publish ($pks=null, $state=1, $userId=0) | |
getColumnAlias ($column) | |
setColumnAlias ($column, $columnAlias) | |
hasField ($key) | |
Fonctions membres publiques hérités de CMSObject | |
__construct ($properties=null) | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
Fonctions membres publiques hérités de TableInterface | |
getKeyName () | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Champs de données | |
$groups | |
Champs de données hérités de Table | |
$typeAlias = null | |
Attributs protégés | |
$_supportNullValue = true | |
Attributs protégés hérités de Table | |
$_tbl = '' | |
$_tbl_key = '' | |
$_tbl_keys = array() | |
$_db | |
$_trackAssets = false | |
$_rules | |
$_locked = false | |
$_autoincrement = true | |
$_columnAlias = array() | |
$_jsonEncode = array() | |
$_supportNullValue = false | |
Attributs protégés hérités de CMSObject | |
$_errors = array() | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de Table | |
static | getInstance ($type, $prefix='JTable', $config=array()) |
static | addIncludePath ($path=null) |
Fonctions membres protégées hérités de Table | |
_getAssetName () | |
_getAssetTitle () | |
_lock () | |
_unlock () | |
Users table
__construct | ( | DatabaseDriver | $db | ) |
Constructor
DatabaseDriver | $db | Database driver object. |
Références $db, et Symfony\Contracts\Service\__construct().
bind | ( | $array, | |
$ignore = '' |
|||
) |
Method to bind the user, user groups, and any other necessary data.
array | $array | The data to bind. |
mixed | $ignore | An array or space separated list of fields to ignore. |
Implémente TableInterface.
Références $query, $return, et ArrayHelper\toInteger().
check | ( | ) |
Validation and filtering
Implémente TableInterface.
Références $query, $this, Text\_(), PunycodeHelper\emailToPunycode(), Factory\getApplication(), Factory\getDate(), InputFilter\getInstance(), ParameterType\INTEGER, MailHelper\isEmailAddress(), null, Text\sprintf(), et StringHelper\strlen().
delete | ( | $userId = null | ) |
Method to delete a user, user groups, and any other necessary data from the database.
integer | $userId | An optional user id. |
Implémente TableInterface.
Références $key, $query, $this, $userId, et ParameterType\INTEGER.
Method to load a user, user groups, and any other necessary data from the database so that it can be bound to the user object.
integer | $userId | An optional user id. |
boolean | $reset | False if row not found or on error (internal error state set in that case). |
Implémente TableInterface.
Références $data, $id, $query, $return, $userId, PunycodeHelper\emailToUTF8(), ParameterType\INTEGER, et null.
Updates last visit time of user
integer | $timeStamp | The timestamp, defaults to 'now'. |
integer | $userId | The user id (optional). |
Pass through method to the table for setting the last visit date
integer | $timestamp | The timestamp, defaults to 'now'. |
Références $date, $db, $id, $query, $this, $userId, Factory\getDate(), ParameterType\INTEGER, et null.
store | ( | $updateNulls = true | ) |
Method to store a row in the database from the Table instance properties.
If a primary key value is set the row with that primary key value will be updated with the instance property values. If no primary key value is set a new row will be inserted into the database with the properties from the Table instance.
boolean | $updateNulls | True to update fields even if they are null. |
Implémente TableInterface.
Références $groups, $key, $query, $result, $this, block, et ParameterType\INTEGER.
|
protected |
$groups |