Joomla CMS
2.5.24 (avec JPlatform 11.4 inclus)
Documentation des API du CMS Joomla en version 2.5 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct (&$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, &$db) | |
getFields () | |
getTableName () | |
getKeyName () | |
getDbo () | |
setDBO (&$db) | |
setRules ($input) | |
getRules () | |
reset () | |
save ($src, $orderingFilter= '', $ignore= '') | |
checkOut ($userId, $pk=null) | |
checkIn ($pk=null) | |
hit ($pk=null) | |
isCheckedOut ($with=0, $against=null) | |
getNextOrder ($where= '') | |
reorder ($where= '') | |
move ($delta, $where= '') | |
publish ($pks=null, $state=1, $userId=0) | |
canDelete ($pk=null, $joins=null) | |
toXML ($mapKeysToText=false) | |
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) | |
toString () |
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 ($table=null, $id=null) | |
_lock () | |
_unlock () | |
Attributs protégés inherited from JTable | |
$_tbl = '' | |
$_tbl_key = '' | |
$_db | |
$_trackAssets = false | |
$_rules | |
$_locked = false | |
Attributs protégés inherited from JObject | |
$_errors = array() |
JTableUser::__construct | ( | & | $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.
Références $query, $return, JRegistry\loadArray(), et JArrayHelper\toInteger().
JTableUser::check | ( | ) |
Validation and filtering
Réimplémentée à partir de JTable.
Références $config, $query, JText\_(), JFactory\getConfig(), JFactory\getDate(), JMailHelper\isEmailAddress(), null, et JText\sprintf().
JTableUser::delete | ( | $userId = null | ) |
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.
Updates last visit time of user
integer | $timeStamp | The timestamp, defaults to 'now'. |
integer | $userId | The user id (optional). |
Références $date, $db, $id, $query, $userId, JText\_(), 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.
Références $key, $query, $return, et JText\sprintf().
JTableUser::$groups |