public function setLabelPrefix($labelPrefix)
    {
        if (!is_string($labelPrefix)) {
            $msg = "Label prefix must be a string";
            throw new OpenStates_View_Exception($msg);
        }
        $this->labelPrefix = $labelPrefix;
        return $this;
    }
public function setLabelPrefix($labelPrefix)
    {
        if (!is_string($labelPrefix)) {
            $msg = "Label prefix must be a string";
            throw new OpenStates_View_Exception($msg);
        }
        $this->labelPrefix = $labelPrefix;
        return $this;
    }
public function setLabelPrefix ( $ labelPrefix ) { if ( ! is_string ( $ labelPrefix ) ) { $ msg = "Label prefix must be a string" ; throw new OpenStates_View_Exception ( $ msg ) ; } $ this -> labelPrefix = $ labelPrefix ; return $ this ; }
Set the common label prefix
@param string $labelPrefix
@return $this
Set the common label prefix