protected function getCorpusClass()
    {
        $extras = "";

        if ($this->currObj instanceof Channel && $this->currObj->isSpacer()) {
            switch ($this->currObj->spacerGetType()) {
                case (string)TeamSpeak3::SPACER_SOLIDLINE:
                    $extras .= " solidline";
                    break;

                case (string)TeamSpeak3::SPACER_DASHLINE:
                    $extras .= " dashline";
                    break;

                case (string)TeamSpeak3::SPACER_DASHDOTLINE:
                    $extras .= " dashdotline";
                    break;

                case (string)TeamSpeak3::SPACER_DASHDOTDOTLINE:
                    $extras .= " dashdotdotline";
                    break;

                case (string)TeamSpeak3::SPACER_DOTLINE:
                    $extras .= " dotline";
                    break;
            }

            switch ($this->currObj->spacerGetAlign()) {
                case TeamSpeak3::SPACER_ALIGN_CENTER:
                    $extras .= " center";
                    break;

                case TeamSpeak3::SPACER_ALIGN_RIGHT:
                    $extras .= " right";
                    break;

                case TeamSpeak3::SPACER_ALIGN_LEFT:
                    $extras .= " left";
                    break;
            }
        }

        return "corpus " . $this->currObj->getClass(null) . $extras;
    }
protected function getCorpusClass()
    {
        $extras = "";

        if ($this->currObj instanceof Channel && $this->currObj->isSpacer()) {
            switch ($this->currObj->spacerGetType()) {
                case (string)TeamSpeak3::SPACER_SOLIDLINE:
                    $extras .= " solidline";
                    break;

                case (string)TeamSpeak3::SPACER_DASHLINE:
                    $extras .= " dashline";
                    break;

                case (string)TeamSpeak3::SPACER_DASHDOTLINE:
                    $extras .= " dashdotline";
                    break;

                case (string)TeamSpeak3::SPACER_DASHDOTDOTLINE:
                    $extras .= " dashdotdotline";
                    break;

                case (string)TeamSpeak3::SPACER_DOTLINE:
                    $extras .= " dotline";
                    break;
            }

            switch ($this->currObj->spacerGetAlign()) {
                case TeamSpeak3::SPACER_ALIGN_CENTER:
                    $extras .= " center";
                    break;

                case TeamSpeak3::SPACER_ALIGN_RIGHT:
                    $extras .= " right";
                    break;

                case TeamSpeak3::SPACER_ALIGN_LEFT:
                    $extras .= " left";
                    break;
            }
        }

        return "corpus " . $this->currObj->getClass(null) . $extras;
    }
protected function getCorpusClass ( ) { $ extras = "" ; if ( $ this -> currObj instanceof Channel && $ this -> currObj -> isSpacer ( ) ) { switch ( $ this -> currObj -> spacerGetType ( ) ) { case ( string ) TeamSpeak3 :: SPACER_SOLIDLINE : $ extras .= " solidline" ; break ; case ( string ) TeamSpeak3 :: SPACER_DASHLINE : $ extras .= " dashline" ; break ; case ( string ) TeamSpeak3 :: SPACER_DASHDOTLINE : $ extras .= " dashdotline" ; break ; case ( string ) TeamSpeak3 :: SPACER_DASHDOTDOTLINE : $ extras .= " dashdotdotline" ; break ; case ( string ) TeamSpeak3 :: SPACER_DOTLINE : $ extras .= " dotline" ; break ; } switch ( $ this -> currObj -> spacerGetAlign ( ) ) { case TeamSpeak3 :: SPACER_ALIGN_CENTER : $ extras .= " center" ; break ; case TeamSpeak3 :: SPACER_ALIGN_RIGHT : $ extras .= " right" ; break ; case TeamSpeak3 :: SPACER_ALIGN_LEFT : $ extras .= " left" ; break ; } } return "corpus " . $ this -> currObj -> getClass ( null ) . $ extras ; }
Returns a string for the current corpus element which can be used as a HTML class
property. If the current node is a channel spacer the class string will contain
additional class names to allow further customization of the content via CSS.

@return string
Returns a string for the current corpus element which can be used as a HTML class property . If the current node is a channel spacer the class string will contain additional class names to allow further customization of the content via CSS .