public function getHeaders()
    {
        $h = array();
        if (!empty($this->timeout))
            $h['Refresh'] = $this->timeout . '; url=' . $this->url;
        else
            $h['Location'] = (string)$this->url;
        return $h;
    }
public function getHeaders()
    {
        $h = array();
        if (!empty($this->timeout))
            $h['Refresh'] = $this->timeout . '; url=' . $this->url;
        else
            $h['Location'] = (string)$this->url;
        return $h;
    }
public function getHeaders ( ) { $ h = array ( ) ; if ( ! empty ( $ this -> timeout ) ) $ h [ 'Refresh' ] = $ this -> timeout . '; url=' . $ this -> url ; else $ h [ 'Location' ] = ( string ) $ this -> url ; return $ h ; }
Return the redirection headers
Return the redirection headers