protected function getStateSelection($stateValue, $which)
	{
		$ret = [];

		$foundCurrent = false;
		foreach (ArrayHelper::getColumn($this->stateConfig, 'value') as $val) {
			if ($stateValue == $val) {
				$foundCurrent = true;
				if ($which == static::STATES_LOWER) {
					break;
				} else if ($which == static::STATES_LOWER_OR_EQUAL || $which == static::STATES_EQUAL_OR_HIGHER) {
					$ret[] = $val;
					if ($which == static::STATES_LOWER_OR_EQUAL) {
						break;
					} else {
						continue;
					}
				} else if ($which == static::STATES_HIGHER) {
					continue;
				}
			} else {
				if (!$foundCurrent && ($which == static::STATES_EQUAL_OR_HIGHER || $which == static::STATES_HIGHER)) {
					continue;
				}
				$ret[] = $val;
			}
		}

		return $ret;
	}