XenForo
Administrative
- Thread starter
- Admin
- #1
i'm up to the point in my addon where i need to bring in a relational data set. simple A.tableid -> B.id relationship.
I built out the relationship in $structure->relations = [] and now it's asking me for a getter. I don't know what to put in there.
I made this to simply get past the dead page load:
Code:
And the page loads but i'm not actually...
Read more
ادامه مطلب...
I built out the relationship in $structure->relations = [] and now it's asking me for a getter. I don't know what to put in there.
I made this to simply get past the dead page load:
Code:
Code:
$structure->getters = [
'myfield' => true
];
public static function getMyfield()
{
return;
}
And the page loads but i'm not actually...
Read more
ادامه مطلب...