Method | Description | |
---|---|---|
Create ( string $p_className, string $p_queryStr ) : array | Create an array of DatabaseObjects. | |
GetColumn ( array $p_array, string $p_columnName ) : array | Given an array of DatabaseObjects, return one column of the data. | |
GetTable ( array $p_array ) : array | Given an array of DatabaseObjects, return the raw data table as a two dimensional array. |
public static Create ( string $p_className, string $p_queryStr ) : array | ||
$p_className | string | The type of objects to create. The class must be a decendant of DatabaseObject and have a constructor that can take no parameters. |
$p_queryStr | string | The database query string that will fetch the rows from the database. |
return | array |