public function getOptionsByValue($value)
    {
        $options = array();

        foreach ($this->options as $option) {
            if ($option->value === $value) {
                $options[] = $option;
            }
        }

        return $options;
    }