امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
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:
کد:
$structure->getters = [
'myfield' => true
];
public static function getMyfield()
{
return;
}
And the page loads but i'm not actually...
Read more
