so pressing on even further. I have 2 more tables like such
rolepermissions
role_id
permissions_id
permissions
id
permission_name
foreach($row2->rolepermissions() as $role) {
echo (string )$role->permissions();
}
this shows SELECT * FROM permissions WHERE (permissions.rolepermissions_id IN (0, 1))SELECT * FROM permissions WHERE (permissions.rolepermissions_id IN (0, 1))
[twice since there are two rows returned from the $row2->rolepermissions() query]
this goes against what the notorm front page says
this code should line up with
foreach ($application->application_tag() as $application_tag) { // get all tags of $application
echo $application_tag->tag["name"] . "\n"; // print the tag name
}