public function printLinks($delimiter = null) {
        //If a temporary delimiter is given
        if ($delimiter) {
            //Temporarily set the delimiter to the passed in argument
            $temp = $this->delimiter;
            $this->delimiter = $delimiter;

            //Call the toString with the swapped delimtier
            $return = $this->__toString();

            //Reset the delimiter
            $this->delimiter = $temp;

            //return the result string
            return $return;
        } else {
            //Else, just call to string
            return $this->__toString();
        }
    }
public function printLinks($delimiter = null) {
        //If a temporary delimiter is given
        if ($delimiter) {
            //Temporarily set the delimiter to the passed in argument
            $temp = $this->delimiter;
            $this->delimiter = $delimiter;

            //Call the toString with the swapped delimtier
            $return = $this->__toString();

            //Reset the delimiter
            $this->delimiter = $temp;

            //return the result string
            return $return;
        } else {
            //Else, just call to string
            return $this->__toString();
        }
    }
public function printLinks ( $ delimiter = null ) { //If a temporary delimiter is given if ( $ delimiter ) { //Temporarily set the delimiter to the passed in argument $ temp = $ this -> delimiter ; $ this -> delimiter = $ delimiter ; //Call the toString with the swapped delimtier $ return = $ this -> __toString ( ) ; //Reset the delimiter $ this -> delimiter = $ temp ; //return the result string return $ return ; } else { //Else, just call to string return $ this -> __toString ( ) ; } }
Prints the links that this manager contains seperated by some delimiter

@param  string $delimiter Optional delimiter, to override the set delimiter of this object

@return string            The page links seperated by the delimiter
Prints the links that this manager contains seperated by some delimiter