|
| __construct ( $opts, $args) |
| Constructor.
|
|
| run () |
| Dumb stuff to run a mode.
|
|
| warn () |
| The warning message and countdown.
|
|
|
| CHANGER () |
| Change our users options.
|
|
| checkOpts ( $opts, $args) |
| This is used to check options.
|
|
| initializeOpts ( $opts, $args) |
| load script options in the object
|
|
| LISTER () |
| List default options and their value.
|
|
| USAGER () |
| List options usage.
|
|
Definition at line 33 of file userOptions.inc.
◆ __construct()
UserOptions::__construct |
( |
|
$opts, |
|
|
|
$args |
|
) |
| |
◆ CHANGER()
◆ checkOpts()
UserOptions::checkOpts |
( |
|
$opts, |
|
|
|
$args |
|
) |
| |
|
private |
This is used to check options.
Only needed on construction
- Parameters
-
- Returns
- bool
Definition at line 64 of file userOptions.inc.
References $args.
Referenced by __construct().
◆ getDefaultOptionsNames()
static UserOptions::getDefaultOptionsNames |
( |
| ) |
|
|
static |
◆ initializeOpts()
UserOptions::initializeOpts |
( |
|
$opts, |
|
|
|
$args |
|
) |
| |
|
private |
◆ LISTER()
◆ run()
◆ showUsageAndExit()
static UserOptions::showUsageAndExit |
( |
| ) |
|
|
static |
Definition at line 249 of file userOptions.inc.
References and(), change, database, is(), list, not, of, options(), or, php, print, save, settings, and user.
Referenced by __construct().
◆ USAGER()
List options usage.
Definition at line 139 of file userOptions.inc.
References $count, $dbr, $mAnOption, $name, $ret, $user, $value, as, DB_REPLICA, print, and wfGetDB().
◆ warn()
◆ $mAnOption
◆ $mDry
◆ $mMode
◆ $mNewValue
◆ $mOldValue
◆ $mQuick
◆ $mQuiet
◆ $mReady
The documentation for this class was generated from the following file: