original_string: protected function getSpacerType()
    {
      $type = "";
  
      if(!$this->currObj instanceof Channel || !$this->currObj->isSpacer())
      {
        return "none";
      }
  
      switch($this->currObj->spacerGetType())
      {
        case (string) TeamSpeak3::SPACER_SOLIDLINE:
          $type .= "solidline";
          break;
  
        case (string) TeamSpeak3::SPACER_DASHLINE:
          $type .= "dashline";
          break;
  
        case (string) TeamSpeak3::SPACER_DASHDOTLINE:
          $type .= "dashdotline";
          break;
  
        case (string) TeamSpeak3::SPACER_DASHDOTDOTLINE:
          $type .= "dashdotdotline";
          break;
  
        case (string) TeamSpeak3::SPACER_DOTLINE:
          $type .= "dotline";
          break;
  
        default:
          $type .= "custom";
      }
  
      if($type == "custom")
      {
        switch($this->currObj->spacerGetAlign())
        {
          case TeamSpeak3::SPACER_ALIGN_REPEAT:
            $type .= "repeat";
            break;
  
          case TeamSpeak3::SPACER_ALIGN_CENTER:
            $type .= "center";
            break;
  
          case TeamSpeak3::SPACER_ALIGN_RIGHT:
            $type .= "right";
            break;
  
          default:
            $type .= "left";
        }
      }
  
      return $type;
    }
code: protected function getSpacerType()
    {
      $type = "";
  
      if(!$this->currObj instanceof Channel || !$this->currObj->isSpacer())
      {
        return "none";
      }
  
      switch($this->currObj->spacerGetType())
      {
        case (string) TeamSpeak3::SPACER_SOLIDLINE:
          $type .= "solidline";
          break;
  
        case (string) TeamSpeak3::SPACER_DASHLINE:
          $type .= "dashline";
          break;
  
        case (string) TeamSpeak3::SPACER_DASHDOTLINE:
          $type .= "dashdotline";
          break;
  
        case (string) TeamSpeak3::SPACER_DASHDOTDOTLINE:
          $type .= "dashdotdotline";
          break;
  
        case (string) TeamSpeak3::SPACER_DOTLINE:
          $type .= "dotline";
          break;
  
        default:
          $type .= "custom";
      }
  
      if($type == "custom")
      {
        switch($this->currObj->spacerGetAlign())
        {
          case TeamSpeak3::SPACER_ALIGN_REPEAT:
            $type .= "repeat";
            break;
  
          case TeamSpeak3::SPACER_ALIGN_CENTER:
            $type .= "center";
            break;
  
          case TeamSpeak3::SPACER_ALIGN_RIGHT:
            $type .= "right";
            break;
  
          default:
            $type .= "left";
        }
      }
  
      return $type;
    }
code_tokens: protected function getSpacerType ( ) { $ type = "" ; if ( ! $ this -> currObj instanceof Channel || ! $ this -> currObj -> isSpacer ( ) ) { return "none" ; } switch ( $ this -> currObj -> spacerGetType ( ) ) { case ( string ) TeamSpeak3 :: SPACER_SOLIDLINE : $ type .= "solidline" ; break ; case ( string ) TeamSpeak3 :: SPACER_DASHLINE : $ type .= "dashline" ; break ; case ( string ) TeamSpeak3 :: SPACER_DASHDOTLINE : $ type .= "dashdotline" ; break ; case ( string ) TeamSpeak3 :: SPACER_DASHDOTDOTLINE : $ type .= "dashdotdotline" ; break ; case ( string ) TeamSpeak3 :: SPACER_DOTLINE : $ type .= "dotline" ; break ; default : $ type .= "custom" ; } if ( $ type == "custom" ) { switch ( $ this -> currObj -> spacerGetAlign ( ) ) { case TeamSpeak3 :: SPACER_ALIGN_REPEAT : $ type .= "repeat" ; break ; case TeamSpeak3 :: SPACER_ALIGN_CENTER : $ type .= "center" ; break ; case TeamSpeak3 :: SPACER_ALIGN_RIGHT : $ type .= "right" ; break ; default : $ type .= "left" ; } } return $ type ; }
docstring: Returns an individual type for a spacer.
  
  @return string
docstring_tokens: Returns an individual type for a spacer .