Translations:User:Zaycodes/Sandbox/API:Extensions/91/en

ApiBase includes several methods for performing various checks, for example,
 * If you need to assert that exactly one of a set of parameters was supplied, use $this->requireOnlyOneParameter.
 * If you need to assert that at most one of a set of parameters was supplied, use $this->requireMaxOneParameter.
 * If you need to assert that at least one of a set of parameters was supplied, use $this->requireAtLeastOneParameter.
 * If you need to assert that the user has certain rights, use $this->checkUserRightsAny.
 * If you need to assert that the user can take an action on a particular page, use $this->checkTitleUserPermissions.
 * If the user is blocked (and that matters to your module), pass the  object to $this->dieBlocked.