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

Class: Error

Source Location: /lib/class/error.class.php

Class Overview


Error class


Methods



Class Details

[line 28]
Error class

This is the baic error class, its better now that we can use php5 hello static functions and variables




[ Top ]


Class Methods


static method add [line 61]

static void add( $name, $message, [ $clobber = 0])

add

This is a public static function it adds a new error message to the array It can optionally clobber rather then adding to the error message




Tags:

access:  public


Parameters:

   $name  
   $message  
   $clobber  

[ Top ]

static method auto_init [line 126]

static void auto_init( )

auto_init

This loads the errors from the session back into Ampache




Tags:

access:  public


[ Top ]

static method display [line 113]

static void display( $name)

display

This prints the error out with a standard Error class span Ben Goska: Renamed from print to display, print is reserved




Tags:

access:  public


Parameters:

   $name  

[ Top ]

static method get [line 100]

static void get( $name)

get

This returns an error by name




Tags:

access:  public


Parameters:

   $name  

[ Top ]

static method occurred [line 88]

static void occurred( )

occurred

This returns true / false if an error has occured anywhere




Tags:

access:  public


[ Top ]

destructor __destruct [line 47]

void __destruct( )

__destruct

This saves all of the errors that are left into the session




Tags:

access:  public


[ Top ]


Documentation generated on Thu, 12 Feb 2009 07:59:57 +0900 by phpDocumentor 1.4.2