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:16] – [$bindarr] mnewnham | activerecord:getactiverecords [2015/12/05 17:08] – [Description] mnewnham | ||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
<WRAP right box> | <WRAP right box> | ||
- | == syntax | + | == Syntax |
void getActiveRecords( | void getActiveRecords( | ||
string $tableName, | string $tableName, | ||
Line 13: | Line 13: | ||
===== Description ===== | ===== Description ===== | ||
- | + | This method retrieves | |
- | GetActiveRecordsClass Performs | + | |
===== Parameters ===== | ===== Parameters ===== | ||
Line 34: | Line 32: | ||
$db-> | $db-> | ||
- | $activeRecs | + | $table = ' |
- | + | $whereOrderBy = "name LIKE ' | |
+ | $primaryKeys | ||
+ | $activeRecArr | ||
+ | foreach($activeRecArr as $rec) | ||
+ | { | ||
+ | $rec->id = rand(); | ||
+ | $rec-> | ||
+ | } | ||
</ | </ | ||
{{tag> | {{tag> |
v5/activerecord/getactiverecords.txt · Last modified: 2018/07/02 14:19 by peterdd