Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effo...
Class for scripts that perform database maintenance and want to log the update in updatelog so we can...
addOption( $name, $description, $required=false, $withArg=false, $shortName=false, $multiOccurrence=false)
Add a parameter to the script.
updateSkippedMessage()
Message to show that the update was done already and was just skipped.
getDB( $db, $groups=[], $dbDomain=false)
Returns a database to be used by current maintenance script.
getUpdateKey()
Get the update key name to go in the update log table.
output( $out, $channel=null)
Throw some output to the user.
hasOption( $name)
Checks to see if a particular option exists.