Class STPHPObject

STPHPObject

Classes extended from STPHPObject:

STPHPApplication, STPHPComponent, STPHPLocale, STPHPXmlDoc, STPHPXmlElement

Located in File: Program_Root/stphpobject.php


A base class for every component


Class Variable Summary
$name
The name of the object
Default Value: -><-

Inherited Class Variable Summary

Inherited Method Summary

Method Summary
STPHPObject constructor STPHPObject ( $name )
Creates the object
void dtor ( )
Destructor
void errorLog ( $message )
Print an error to the log system
string getName ( )
Returns the name of the object
Variable Detail

$name

Data type: string
The name of the object



Method Detail

constructor STPHPObject

STPHPObject constructor STPHPObject ( $name )

Creates the object

Function Parameters:
- string $name:
Function Info:
Access - public

dtor

void dtor ( )

Overridden in child class(es) as: STPHPApplication::dtor(), STPHPComponent::dtor(), STPHPLocale::dtor(), STPHPXmlDoc::dtor(), STPHPXmlElement::dtor()

Destructor
Destroys all the resources associated with the object
Function Parameters:
Function Info:
Access - public

errorLog

void errorLog ( $message )

Print an error to the log system

Function Parameters:
- string $message: the error string
Function Info:
Access - public

getName

string getName ( )

Returns the name of the object

Function Parameters:
Function Info:
Access - public