X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fblock%2FDatabaseBlock.php;h=6007abdf41822a4bb5189aa0523f302ed7b4068e;hb=f9bb20657c6776a7543fbf33ead1c1e6fbad33de;hp=79286c5acf7aac87bd84d38ea4f5f00b681c5d1b;hpb=3e49b37b689a58d9eb475eb0a4ae2d2aa8f5300a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/block/DatabaseBlock.php b/includes/block/DatabaseBlock.php index 79286c5acf..6007abdf41 100644 --- a/includes/block/DatabaseBlock.php +++ b/includes/block/DatabaseBlock.php @@ -86,18 +86,18 @@ class DatabaseBlock extends AbstractBlock { /** * Create a new block with specified option parameters on a user, IP or IP range. * - * @param array $options Parameters of the block: - * user int Override target user ID (for foreign users) - * auto bool Is this an automatic block? - * expiry string Timestamp of expiration of the block or 'infinity' - * anonOnly bool Only disallow anonymous actions - * createAccount bool Disallow creation of new accounts - * enableAutoblock bool Enable automatic blocking - * blockEmail bool Disallow sending emails - * allowUsertalk bool Allow the target to edit its own talk page - * sitewide bool Disallow editing all pages and all contribution - * actions, except those specifically allowed by - * other block flags + * @param array $options Parameters of the block, with options supported by + * `AbstractBlock::__construct`, and also: + * - user: (int) Override target user ID (for foreign users) + * - auto: (bool) Is this an automatic block? + * - expiry: (string) Timestamp of expiration of the block or 'infinity' + * - anonOnly: (bool) Only disallow anonymous actions + * - createAccount: (bool) Disallow creation of new accounts + * - enableAutoblock: (bool) Enable automatic blocking + * - blockEmail: (bool) Disallow sending emails + * - allowUsertalk: (bool) Allow the target to edit its own talk page + * - sitewide: (bool) Disallow editing all pages and all contribution actions, + * except those specifically allowed by other block flags * * @since 1.26 $options array */