ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:activerecord:classhasmany

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
activerecord:classhasmany [2015/12/05 15:53] mnewnhamactiverecord:classhasmany [2015/12/05 15:54] mnewnham
Line 4: Line 4:
 == Syntax == == Syntax ==
   void ADODB_Active_Record::ClassHasMany(   void ADODB_Active_Record::ClassHasMany(
-      string $class,  +    string $class,  
-      string $relation,  +    string $relation,  
-      optional string $foreignKey = ' ', +    optional string $foreignKey = '', 
-      optional string $foreignClass = 'ADODB_Active_Record' +    optional string $foreignClass = 'ADODB_Active_Record' 
-      )+  )
 </WRAP> </WRAP>
 ===== Description ===== ===== Description =====
v5/activerecord/classhasmany.txt · Last modified: 2016/01/13 02:15 by mnewnham