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

Class: HTTP_Upload_Error

Source Location: /HTTP_Upload-1.0.0b2/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

HTTP_Upload_Error (Constructor)   [line 77]

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

Constructor

Creates a new PEAR_Error

  • Access: public

Parameters:

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

[ Top ]

errorCode   [line 114]

string errorCode( string $e_code)

returns the error code
  • Return: Error message

Parameters:

string   $e_code     type of error

[ Top ]

raiseError   [line 139]

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 Tue, 05 Oct 2010 16:30:02 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.