|
Previous Class |
Solar_Example |
Next Page |
Solar_Example
Example class to support unit tests.
Catalog
This class is part of the Solar_Example package.
Inheritance:
- Solar_Base
- Solar_Example
Constants
None.
Public Properties
The Solar_Example class has no public properties; try the list of all properties.
Public Methods
These are all the public methods in the Solar_Example class.
You can also view the list of all public, protected, and private methods.
__construct()- Constructor.
__destruct()- Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
apiVersion()- Reports the API version for this class.
classGenericException()- Throws ERR_GENERIC_CONDITION for this class.
classSpecificException()- Throws ERR_CUSTOM_CONDITION for this class.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
exceptionFromCode()- Throws a user-specified error code for this class.
filterCallback()- Used for testing Solar_Filter::callback() as an instance method.
locale()- Looks up class-specific locale strings based on a key.
solarGenericException()- Throws ERR_NO_SUCH_CONDITION for this class.
solarSpecificException()- Throws ERR_FILE_NOT_FOUND for this class.
staticFilterCallback()- Used for testing Solar_Filter::callback() as a static method.
staticValidIsInt()- Used for testing Solar_Valid::callback() as a static method.
validIsInt()- Used for testing Solar_Valid::callback() as an instance method.