You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The n-n relation saving works perfect and many thanks on that. A new question on displaying on read view, as you mentioned in the README.md the $this->items data holds the object of current view and it's related objects (eg. $this->items in team view contains team object and it's related player object, as their n-n relation is specify in #__foobar_teams_players table). However, when I try to var_dump or log $this->items in both back-end edit and front-end read view, it returns Undefined property: F0FViewForm::$items. For the case $this->item without 's', I got the object for the current view but not the related objects.
Sorry to bother you again, appreciate your effort very much!
BR,
Carl
The text was updated successfully, but these errors were encountered:
carl-mo
changed the title
Usgae of $this->items
Usage of $this->items
Nov 11, 2014
Hi Federico,
The n-n relation saving works perfect and many thanks on that. A new question on displaying on read view, as you mentioned in the README.md the
$this->items
data holds the object of current view and it's related objects (eg.$this->items
in team view contains team object and it's related player object, as their n-n relation is specify in #__foobar_teams_players table). However, when I try to var_dump or log$this->items
in both back-end edit and front-end read view, it returns Undefined property: F0FViewForm::$items. For the case$this->item
without 's', I got the object for the current view but not the related objects.Sorry to bother you again, appreciate your effort very much!
BR,
Carl
The text was updated successfully, but these errors were encountered: