Hello Everyone,
I'm kinda new to phalconphp, but so far I'm loving it!
My question relates to https://docs.phalcon.io/en/latest/reference/models.html#defining-relationships where models are created that used database relationships to get additional information.
I want to show the related information aswell, but all I can think off to show it in volt is like this:
<div class="row">
{% for Robot in Robots %}
<?php
$RobotsParts = $Robot->RobotsParts;
foreach($RobotsParts as $RobotsPart){
$Parts = $RobotsParts->Parts;
echo "-".$tags->$Parts."<br />";
}
?>
</div>
{% endfor %}
</div>
is this the most prefered way or is their an easier one?