MediaWiki master
|
A class representing the results from a batch operation. More...
Public Member Functions | |
__construct ( $results) | |
getAllResults () | |
Get LimitOperationResult objects for all operations in the batch. | |
getFailedResults () | |
Get LimitOperationResult objects for operations exceeding the limit. | |
getPassedResults () | |
Get LimitOperationResult objects for operations not exceeding the limit. | |
isAllowed () | |
Determine whether the batch as a whole is/was allowed. | |
A class representing the results from a batch operation.
Definition at line 10 of file LimitBatchResult.php.
Wikimedia\WRStats\LimitBatchResult::__construct | ( | $results | ) |
LimitOperationResult[] | $results |
Definition at line 21 of file LimitBatchResult.php.
Wikimedia\WRStats\LimitBatchResult::getAllResults | ( | ) |
Get LimitOperationResult objects for all operations in the batch.
The keys will match the input array. For input arrays constructed by LimitBatch, the keys will be the condition names.
Definition at line 87 of file LimitBatchResult.php.
Wikimedia\WRStats\LimitBatchResult::getFailedResults | ( | ) |
Get LimitOperationResult objects for operations exceeding the limit.
The keys will match the input array. For input arrays constructed by LimitBatch, the keys will be the condition names.
Definition at line 51 of file LimitBatchResult.php.
Wikimedia\WRStats\LimitBatchResult::getPassedResults | ( | ) |
Get LimitOperationResult objects for operations not exceeding the limit.
The keys will match the input array. For input arrays constructed by LimitBatch, the keys will be the condition names.
Definition at line 69 of file LimitBatchResult.php.
Wikimedia\WRStats\LimitBatchResult::isAllowed | ( | ) |
Determine whether the batch as a whole is/was allowed.
Definition at line 30 of file LimitBatchResult.php.