v5:activerecord:getactiverecords
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
activerecord:getactiverecords [2015/12/05 01:21] – [Usage] mnewnham | activerecord:getactiverecords [2015/12/05 17:10] – mnewnham | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
- | == syntax | + | == Syntax |
- | | + | |
string $tableName, | string $tableName, | ||
optional string | optional string | ||
Line 11: | Line 11: | ||
</ | </ | ||
+ | ------------------------------------- | ||
===== Description ===== | ===== Description ===== | ||
- | + | This method retrieves | |
- | GetActiveRecordsClass Performs | + | |
===== Parameters ===== | ===== Parameters ===== | ||
Line 37: | Line 35: | ||
$whereOrderBy = "name LIKE ' | $whereOrderBy = "name LIKE ' | ||
$primaryKeys | $primaryKeys | ||
- | $activeRecArr = $db->GetActiveRecords($table, $whereOrderBy, | + | $activeRecArr = $db->getActiveRecords($table, $whereOrderBy, |
foreach($activeRecArr as $rec) | foreach($activeRecArr as $rec) | ||
{ | { |
v5/activerecord/getactiverecords.txt · Last modified: 2018/07/02 14:19 by peterdd