ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:activerecord:tablebelongsto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revisionBoth sides next revision
activerecord:tablebelongsto [2015/12/05 15:11] – created mnewnhamactiverecord:tablebelongsto [2015/12/05 15:12] mnewnham
Line 7: Line 7:
     string $relationName,      string $relationName, 
     string $foreignKey,      string $foreignKey, 
-    string $parentPrimaryKey = 'id',  +    optional string $parentPrimaryKey = 'id',  
-    string $parentClass = 'ADODB_Active_Record'+    optional string $parentClass = 'ADODB_Active_Record'
     )     )
 </WRAP> </WRAP>
v5/activerecord/tablebelongsto.txt · Last modified: 2016/01/13 02:15 by mnewnham