public function parse($component = false)
    {
        $parts = parse_url($this->RAW());

        if (!$component) {
            return $parts;
        } elseif (!empty($parts[$component])) {
            return $parts[$component];
        } else {
            return false;
        }
    }
public function parse($component = false)
    {
        $parts = parse_url($this->RAW());

        if (!$component) {
            return $parts;
        } elseif (!empty($parts[$component])) {
            return $parts[$component];
        } else {
            return false;
        }
    }
public function parse ( $ component = false ) { $ parts = parse_url ( $ this -> RAW ( ) ) ; if ( ! $ component ) { return $ parts ; } elseif ( ! empty ( $ parts [ $ component ] ) ) { return $ parts [ $ component ] ; } else { return false ; } }
Parse the URL string.

@param  Boolean optional component
@return string eg: x=1&y=2
Parse the URL string .