$sql_order
$sql_order
Unlike an application model, an "entity" does actually represent a realworld (or imaginary) object!
This could be a group, a member, whatever.
The entity has its own database connection and can answer questions about its associations in the database.
bulkLookup(string $query_string, array $keynames) : array
This method fetches a bunch of rows from the database.
It has some funny mechanics, which you can usually just ignore.
string | $query_string | |
array | $keynames |
|
of rows (as objects)
findByWhereMany(string $where, integer $offset, integer $limit) : mixed
load an object by a specified sql WHERE clause
string | $where |
|
integer | $offset |
|
integer | $limit |
|
false or array or entities
findAll(integer $offset, integer $limit) : mixed
loads all rows from a table and returns them as an array of class $this
integer | $offset |
|
integer | $limit |
|
false or an array of objects of class $this