HTTP_Upload
[ class tree: HTTP_Upload ] [ index: HTTP_Upload ] [ all elements ]

Class: HTTP_Upload_Error

Source Location: /HTTP_Upload-1.0.0b3/HTTP/Upload.php

Class Overview

PEAR
   |
   --HTTP_Upload_Error

Error Class for HTTP_Upload


Author(s):

Variables

Methods


Child classes:

HTTP_Upload
This class provides an advanced file uploader system for file uploads made from html forms
HTTP_Upload_File
This class provides functions to work with the uploaded file

Inherited Variables

Inherited Methods


Class Details

[line 55]
Error Class for HTTP_Upload


[ Top ]


Class Variables

$html =  false

[line 67]

Whether HTML entities shall be encoded automatically

Type:   boolean


[ Top ]

$lang =  'en'

[line 61]

Selected language for error messages

Type:   string


[ Top ]



Method Detail

__construct (Constructor)   [line 77]

HTTP_Upload_Error __construct( [string $lang = null], [ $html = false])

PHP5 Constructor

Creates a new PEAR_Error

  • Access: public

Overridden in child classes as:

HTTP_Upload::__construct()
PHP5 Constructor
HTTP_Upload_File::__construct()
PHP5 Constructor

Parameters:

string   $lang   —  The language selected for error code messages
   $html   — 

[ Top ]

HTTP_Upload_Error (Constructor)   [line 113]

HTTP_Upload_Error HTTP_Upload_Error( [ $lang = null], [ $html = false])

PHP4 Constructor

Parameters:

   $lang   — 
   $html   — 

[ Top ]

errorCode   [line 124]

string errorCode( string $e_code)

returns the error code
  • Return: Error message

Parameters:

string   $e_code   —  type of error

[ Top ]

raiseError   [line 149]

object PEAR_Error raiseError( string $e_code)

Overwrites the PEAR::raiseError method
  • Return: a PEAR-Error object
  • Access: public

Parameters:

string   $e_code   —  type of error

[ Top ]


Documentation generated on Mon, 11 Mar 2019 16:04:24 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.