Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 31 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31 Rev 316
Line 238... Line 238...
238
     * 
238
     * 
239
     * @see HTTP_Download::setContentDisposition()
239
     * @see HTTP_Download::setContentDisposition()
240
     */
240
     */
241
    function HTTP_Download($params = array())
241
    function HTTP_Download($params = array())
242
    {
242
    {
243
        $this->HTTP = &new HTTP_Header;
243
        $this->HTTP = new HTTP_Header;
244
        $this->setParams($params);
244
        $this->setParams($params);
245
    }
245
    }
246
    // }}}
246
    // }}}
Line 247... Line 247...
247
    
247
    
Line 700... Line 700...
700
     * @param   bool    $guess      whether HTTP_Download::guessContentType()
700
     * @param   bool    $guess      whether HTTP_Download::guessContentType()
701
     *                               should be called
701
     *                               should be called
702
     */
702
     */
703
    function staticSend($params, $guess = false)
703
    function staticSend($params, $guess = false)
704
    {
704
    {
705
        $d = &new HTTP_Download();
705
        $d = new HTTP_Download();
706
        $e = $d->setParams($params);
706
        $e = $d->setParams($params);
707
        if (PEAR::isError($e)) {
707
        if (PEAR::isError($e)) {
708
            return $e;
708
            return $e;
709
        }
709
        }
710
        if ($guess) {
710
        if ($guess) {