aliroDBRowFactory Class Reference

List of all members.

Static Public Member Functions

static makeObject ($classname, $key=null)


Detailed Description

Definition at line 3 of file aliroDatabaseRow.php.


Member Function Documentation

static aliroDBRowFactory::makeObject ( classname,
key = null 
) [static]

Definition at line 5 of file aliroDatabaseRow.php.

References T_().

00005                                                               {
00006         if (is_subclass_of($classname, 'aliroDBGeneralRow')) {
00007             $object = new $classname;
00008             if (!empty($key)) $object->load($key);
00009             return $object;
00010         }
00011         else trigger_error(T_('Asked aliroDBRowFactory to create object not subclassed from aliroDBGeneralRow'));
00012     }


The documentation for this class was generated from the following file:

Generated on Thu Apr 17 13:03:29 2008 for ALIRO by  doxygen 1.5.5