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

Class: HTTP_Upload_Error

Source Location: /HTTP_Upload-0.9.0/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 58]
Error Class for HTTP_Upload


[ Top ]


Class Variables

$html =  false

[line 70]

Whether HTML entities shall be encoded automatically

Type:   boolean


[ Top ]

$lang =  'en'

[line 64]

Selected language for error messages

Type:   string


[ Top ]



Method Detail

HTTP_Upload_Error (Constructor)   [line 80]

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 232]

string errorCode( string $e_code)

returns the error code
  • Return: Error message

Parameters:

string   $e_code   —  type of error

[ Top ]

raiseError   [line 257]

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 13:54:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.