Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
__construct (JDatabaseDriver $db) | |
load ($userId=null, $reset=true) | |
bind ($array, $ignore= '') | |
check () | |
store ($updateNulls=false) | |
delete ($userId=null) | |
setLastVisit ($timeStamp=null, $userId=null) | |
Fonctions membres publiques inherited from JTable | |
__construct ($table, $key, JDatabaseDriver $db) | |
attachObserver (JObserverInterface $observer) | |
getObserverOfClass ($observerClass) | |
getFields () | |
appendPrimaryKeys ($query, $pk=null) | |
getTableName () | |
getKeyName ($multiple=false) | |
getDbo () | |
setDBO (JDatabaseDriver $db) | |
setRules ($input) | |
getRules () | |
reset () | |
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) | |
Fonctions membres publiques inherited from JObject | |
__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) |
Attributs publics | |
$groups |
Additional Inherited Members | |
Fonctions membres publiques statiques inherited from JTable | |
static | getInstance ($type, $prefix= 'JTable', $config=array()) |
static | addIncludePath ($path=null) |
Fonctions membres protégées inherited from JTable | |
_getAssetName () | |
_getAssetTitle () | |
_getAssetParentId (JTable $table=null, $id=null) | |
_lock () | |
_unlock () | |
Attributs protégés inherited from JTable | |
$_tbl = '' | |
$_tbl_key = '' | |
$_tbl_keys = array() | |
$_db | |
$_trackAssets = false | |
$_rules | |
$_locked = false | |
$_autoincrement = true | |
$_observers | |
Attributs protégés inherited from JObject | |
$_errors = array() |
JTableUser::__construct | ( | JDatabaseDriver | $db | ) |
JTableUser::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. |
Réimplémentée à partir de JTable.
Définition à la ligne 125 du fichier user.php.
Références JRegistry\loadArray(), et JArrayHelper\toInteger().
JTableUser::check | ( | ) |
Validation and filtering
Réimplémentée à partir de JTable.
Définition à la ligne 166 du fichier user.php.
Références JText\_(), JStringPunycode\emailToPunycode(), JFactory\getConfig(), JFactory\getDate(), JMailHelper\isEmailAddress(), et JText\sprintf().
JTableUser::delete | ( | $userId = null | ) |
Method to delete a user, user groups, and any other necessary data from the database.
integer | $userId | An optional user id. |
Réimplémentée à partir de JTable.
Définition à la ligne 364 du fichier user.php.
JTableUser::load | ( | $userId = null , |
|
$reset = true |
|||
) |
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). |
Réimplémentée à partir de JTable.
Définition à la ligne 57 du fichier user.php.
Références JStringPunycode\emailToUTF8().
JTableUser::setLastVisit | ( | $timeStamp = null , |
|
$userId = null |
|||
) |
Updates last visit time of user
integer | $timeStamp | The timestamp, defaults to 'now'. |
integer | $userId | The user id (optional). |
Définition à la ligne 423 du fichier user.php.
Références JFactory\getDate(), et jexit().
JTableUser::store | ( | $updateNulls = false | ) |
Method to store a row in the database from the JTable 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 JTable instance.
boolean | $updateNulls | True to update fields even if they are null. |
Réimplémentée à partir de JTable.
Définition à la ligne 290 du fichier user.php.