original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: Set the common label prefix
  @param string $labelPrefix
  @return $this
docstring_tokens: Set the common label prefix