public static function getBasic($str)
    {
        $r = '';
        /*
         * Split the string by line breakes.
         */
        foreach (preg_split('/\n\r|\n|\r/', $str, -1, PREG_SPLIT_NO_EMPTY) as $k => $line) {
            /*
             * And append it with tabs and line breaks to the return var.
             */
            $r .= Generator::getTabs();
            $r .= trim($line);
            $r .= Generator::getLineBreak();
        }

        return $r;
    }
public static function getBasic($str)
    {
        $r = '';
        /*
         * Split the string by line breakes.
         */
        foreach (preg_split('/\n\r|\n|\r/', $str, -1, PREG_SPLIT_NO_EMPTY) as $k => $line) {
            /*
             * And append it with tabs and line breaks to the return var.
             */
            $r .= Generator::getTabs();
            $r .= trim($line);
            $r .= Generator::getLineBreak();
        }

        return $r;
    }
public static function getBasic ( $ str ) { $ r = '' ; /*
         * Split the string by line breakes.
         */ foreach ( preg_split ( '/\n\r|\n|\r/' , $ str , - 1 , PREG_SPLIT_NO_EMPTY ) as $ k => $ line ) { /*
             * And append it with tabs and line breaks to the return var.
             */ $ r .= Generator :: getTabs ( ) ; $ r .= trim ( $ line ) ; $ r .= Generator :: getLineBreak ( ) ; } return $ r ; }
unifies the tabs in the given string.

@param string $str the string that will be cleaned up.

@return string
unifies the tabs in the given string .