Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
login ($lgname, $lgpassword, $lgdomain=null) | |
logout () | |
getUserInfo (array $ususers, array $usprop=null) | |
getCurrentUserInfo (array $uiprop=null) | |
getUserContribs ($ucuser=null, $ucuserprefix=null, $uclimit=null, $ucstart=null, $ucend=null, $uccontinue=null, $ucdir=null, array $ucnamespace=null, array $ucprop=null, array $ucshow=null, $uctag=null, $uctoponly=null) | |
blockUser ($user, $expiry=null, $reason=null, $anononly=null, $nocreate=null, $autoblock=null, $noemail=null, $hidename=null, $allowusertalk=null, $reblock=null, $watchuser=null) | |
unBlockUserByName ($user, $reason=null) | |
unBlockUserByID ($id, $reason=null) | |
assignGroup ($username, $add=null, $remove=null, $reason=null) | |
emailUser ($target, $subject=null, $text=null, $ccme=null) | |
getToken ($user, $intoken) | |
Fonctions membres publiques inherited from JMediawikiObject | |
__construct (JRegistry $options=null, JMediawikiHttp $client=null) | |
buildParameter (array $params) | |
validateResponse ($response) |
Additional Inherited Members | |
Fonctions membres protégées inherited from JMediawikiObject | |
fetchUrl ($path) | |
Attributs protégés inherited from JMediawikiObject | |
$options | |
$client |
JMediawikiUsers::assignGroup | ( | $username, | |
$add = null , |
|||
$remove = null , |
|||
$reason = null |
|||
) |
Method to assign a user to a group.
string | $username | User name. |
array | $add | Add the user to these groups. |
array | $remove | Remove the user from these groups. |
string | $reason | Reason for the change. |
Définition à la ligne 364 du fichier users.php.
JMediawikiUsers::blockUser | ( | $user, | |
$expiry = null , |
|||
$reason = null , |
|||
$anononly = null , |
|||
$nocreate = null , |
|||
$autoblock = null , |
|||
$noemail = null , |
|||
$hidename = null , |
|||
$allowusertalk = null , |
|||
$reblock = null , |
|||
$watchuser = null |
|||
) |
Method to block a user.
string | $user | Username, IP address or IP range you want to block. |
string | $expiry | Relative expiry time, Default: never. |
string | $reason | Reason for block (optional). |
boolean | $anononly | Block anonymous users only. |
boolean | $nocreate | Prevent account creation. |
boolean | $autoblock | Automatically block the last used IP address, and any subsequent IP addresses they try to login from. |
boolean | $noemail | Prevent user from sending e-mail through the wiki. |
boolean | $hidename | Hide the username from the block log. |
boolean | $allowusertalk | Allow the user to edit their own talk page. |
boolean | $reblock | If the user is already blocked, overwrite the existing block. |
boolean | $watchuser | Watch the user/IP's user and talk pages. |
Définition à la ligne 258 du fichier users.php.
JMediawikiUsers::emailUser | ( | $target, | |
$subject = null , |
|||
$text = null , |
|||
$ccme = null |
|||
) |
Method to email a user.
string | $target | User to send email to. |
string | $subject | Subject header. |
string | $text | Mail body. |
boolean | $ccme | Send a copy of this mail to me. |
Définition à la ligne 399 du fichier users.php.
JMediawikiUsers::getCurrentUserInfo | ( | array | $uiprop = null | ) |
Method to get current user information.
array | $uiprop | What pieces of information to include. |
Définition à la ligne 131 du fichier users.php.
JMediawikiUsers::getToken | ( | $user, | |
$intoken | |||
) |
Method to get access token.
string | $user | The User to get token. |
string | $intoken | The type of token. |
Définition à la ligne 432 du fichier users.php.
JMediawikiUsers::getUserContribs | ( | $ucuser = null , |
|
$ucuserprefix = null , |
|||
$uclimit = null , |
|||
$ucstart = null , |
|||
$ucend = null , |
|||
$uccontinue = null , |
|||
$ucdir = null , |
|||
array | $ucnamespace = null , |
||
array | $ucprop = null , |
||
array | $ucshow = null , |
||
$uctag = null , |
|||
$uctoponly = null |
|||
) |
Method to get user contributions.
string | $ucuser | The users to retrieve contributions for. |
string | $ucuserprefix | Retrieve contibutions for all users whose names begin with this value. |
integer | $uclimit | The users to retrieve contributions for. |
string | $ucstart | The start timestamp to return from. |
string | $ucend | The end timestamp to return to. |
boolean | $uccontinue | When more results are available, use this to continue. |
string | $ucdir | In which direction to enumerate. |
array | $ucnamespace | Only list contributions in these namespaces. |
array | $ucprop | Include additional pieces of information. |
array | $ucshow | Show only items that meet this criteria. |
string | $uctag | Only list revisions tagged with this tag. |
string | $uctoponly | Only list changes which are the latest revision |
Définition à la ligne 167 du fichier users.php.
JMediawikiUsers::getUserInfo | ( | array | $ususers, |
array | $usprop = null |
||
) |
Method to get user information.
array | $ususers | A list of users to obtain the same information for. |
array | $usprop | What pieces of information to include. |
Définition à la ligne 103 du fichier users.php.
JMediawikiUsers::login | ( | $lgname, | |
$lgpassword, | |||
$lgdomain = null |
|||
) |
Method to login and get authentication tokens.
string | $lgname | User Name. |
string | $lgpassword | Password. |
string | $lgdomain | Domain (optional). |
Définition à la ligne 32 du fichier users.php.
JMediawikiUsers::logout | ( | ) |
Method to logout and clear session data.
Définition à la ligne 80 du fichier users.php.
JMediawikiUsers::unBlockUserByID | ( | $id, | |
$reason = null |
|||
) |
Method to unblock a user.
int | $id | Username, IP address or IP range you want to unblock. |
string | $reason | Reason for unblock (optional). |
Définition à la ligne 330 du fichier users.php.
JMediawikiUsers::unBlockUserByName | ( | $user, | |
$reason = null |
|||
) |
Method to unblock a user.
string | $user | Username, IP address or IP range you want to unblock. |
string | $reason | Reason for unblock (optional). |
Définition à la ligne 299 du fichier users.php.