v5:activerecord:getactiverecords
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:activerecord:getactiverecords [2016/01/13 02:31] – ↷ Links adapted because of a move operation mnewnham | v5:activerecord:getactiverecords [2025/06/01 13:21] (current) – Remove square brackets in tags dregad | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| Where clause | Where clause | ||
| ==== $bindarr ==== | ==== $bindarr ==== | ||
| - | For more information on the use of '' | + | For more information on the use of '' |
| ==== $primaryKeyArray ==== | ==== $primaryKeyArray ==== | ||
| Line 47: | Line 47: | ||
| $whereOrderBy = "1=1 ORDER BY Name"; | $whereOrderBy = "1=1 ORDER BY Name"; | ||
| - | $activeRecArr = $db->GetActiveRecords($table); | + | $activeRecArr = $db->getActiveRecords($table); |
| /* | /* | ||
| * To use bind variables (assuming ? is the place-holder for your database): | * To use bind variables (assuming ? is the place-holder for your database): | ||
| Line 58: | Line 58: | ||
| Define the primary key field[s] of the table by passing an array of field names: | Define the primary key field[s] of the table by passing an array of field names: | ||
| */ | */ | ||
| - | $activeRecArr = $db->GetActiveRecords($tableName, | + | $activeRecArr = $db->getActiveRecords($tableName, |
| array(' | array(' | ||
| </ | </ | ||
| - | {{tag>[Active_Record]}} | + | {{tag> |
v5/activerecord/getactiverecords.1452648704.txt.gz · Last modified: (external edit)
