Encapsulates graph options. More...
Public Member Functions | |
bindArray (array $inputs) | |
hasValue (string $key) | |
setValue (string $key, $value) | |
getValue (string $key) | |
normalize (array $validCounts) | |
getGroups () | |
getLanguages () | |
getFormOptions () | |
boundValue (string $key, int $min, int $max) | |
Public Attributes | |
const | VALID_SCALES = [ 'years', 'months', 'weeks', 'days', 'hours' ] |
const | INT_BOUNDS |
Encapsulates graph options.
Definition at line 16 of file TranslationStatsGraphOptions.php.
MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::__construct | ( | ) |
Definition at line 32 of file TranslationStatsGraphOptions.php.
MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::bindArray | ( | array | $inputs | ) |
Definition at line 46 of file TranslationStatsGraphOptions.php.
MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::boundValue | ( | string | $key, |
int | $min, | ||
int | $max ) |
Definition at line 134 of file TranslationStatsGraphOptions.php.
MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::getFormOptions | ( | ) |
Definition at line 130 of file TranslationStatsGraphOptions.php.
MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::getGroups | ( | ) |
Definition at line 122 of file TranslationStatsGraphOptions.php.
MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::getLanguages | ( | ) |
Definition at line 126 of file TranslationStatsGraphOptions.php.
MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::getValue | ( | string | $key | ) |
Definition at line 62 of file TranslationStatsGraphOptions.php.
MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::hasValue | ( | string | $key | ) |
Definition at line 54 of file TranslationStatsGraphOptions.php.
MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::normalize | ( | array | $validCounts | ) |
Definition at line 66 of file TranslationStatsGraphOptions.php.
MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::setValue | ( | string | $key, |
$value ) |
Definition at line 58 of file TranslationStatsGraphOptions.php.
const MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::INT_BOUNDS |
Definition at line 26 of file TranslationStatsGraphOptions.php.
const MediaWiki\Extension\Translate\Statistics\TranslationStatsGraphOptions::VALID_SCALES = [ 'years', 'months', 'weeks', 'days', 'hours' ] |
Definition at line 19 of file TranslationStatsGraphOptions.php.