protected function isValueSelected($value)
	{
		$val = $this->getValue();
		if (is_null($value)) {
			return FALSE;
		}
		elseif (is_array($val)) {
			return in_array($value, $val);
		}

		return $value == $val;
	}
protected function isValueSelected($value)
	{
		$val = $this->getValue();
		if (is_null($value)) {
			return FALSE;
		}
		elseif (is_array($val)) {
			return in_array($value, $val);
		}

		return $value == $val;
	}
protected function isValueSelected ( $ value ) { $ val = $ this -> getValue ( ) ; if ( is_null ( $ value ) ) { return FALSE ; } elseif ( is_array ( $ val ) ) { return in_array ( $ value , $ val ) ; } return $ value == $ val ; }
Self-explanatory
@param $value
@return bool
Self - explanatory