Xataface  2.0alpha2
Xataface Application Framework
 All Data Structures Namespaces Files Functions Variables Groups Pages
Variables
getRelatedRecords.example.php File Reference

Go to the source code of this file.

Variables

 $student = & df_get_record('Students', array('LastName'=>'Hannah'))
 $courses
 foreach (array_keys($courses) as $index)

Variable Documentation

$courses
Initial value:
& $student->getRelatedRecords('Courses')
echo '<table>
<thead>
<tr>
<th>Course ID</th>
<th>Course Name</th>
<th>Course Description</th>
</tr>
</thead>
<tbody>
'

Definition at line 10 of file getRelatedRecords.example.php.

$student = & df_get_record('Students', array('LastName'=>'Hannah'))

Definition at line 5 of file getRelatedRecords.example.php.

foreach(array_keys($courses) as $index)

Definition at line 25 of file getRelatedRecords.example.php.