soo_txp_obj API Documentation
soo_obj Class Reference
Generic abstract base class, with a few low-level utility methods. More...
Public Member Functions | |
__get ($property) | |
Generic getter. | |
__call ($request, $args) | |
Method overloading for generic setters. | |
__toString () | |
Return an object's class name. | |
properties () | |
Return an object's properties as an associative array. | |
property_names () | |
Return an object's properties as an indexed array. |
Detailed Description
Generic abstract base class, with a few low-level utility methods.
Definition at line 31 of file soo_txp_obj.php.
Member Function Documentation
soo_obj::__call | ( | $ | request, | |
$ | args | |||
) |
Method overloading for generic setters.
Allow calls in the form $obj->property($value). Returns $this to allow method chaining.
Reimplemented in soo_uri.
Definition at line 45 of file soo_txp_obj.php.
soo_obj::__get | ( | $ | property | ) |
Generic getter.
Allow calls in the form $obj->property for protected properties.
Reimplemented in soo_txp_rowset, and soo_txp_row.
Definition at line 36 of file soo_txp_obj.php.
soo_obj::__toString | ( | ) |
Return an object's class name.
Allows object to be used in a string context.
- Returns:
- string Class name
Definition at line 56 of file soo_txp_obj.php.
soo_obj::properties | ( | ) |
Return an object's properties as an associative array.
Note: includes protected and private properties. For public properties only, use get_object_vars($obj) directly.
- Returns:
- array
Reimplemented in soo_txp_row.
Definition at line 66 of file soo_txp_obj.php.
soo_obj::property_names | ( | ) |
Return an object's properties as an indexed array.
- Returns:
- array
Definition at line 74 of file soo_txp_obj.php.
The documentation for this class was generated from the following file:
Generated on Fri Jan 7 2011 14:35:01 for soo_txp_obj by Doxygen 1.7.1