امتیازها
113
راهحلها
27
- محل سکونت
- England
- نوشتهها
- 26,276
- تاریخ ثبتنام
- ۱۳۹۹٫۰۴٫۰۶
- پسندها
- 3,286
- سن
- 29
- وب سایت
- xenforo.xyz
- نسخه PHP
- 7.3
- نسخه زنفورو
- xenforo 2.2
How to save custom fields in a job?
In my job I have a resource and a thread,
i also have custom_fields from resource and thread
But I have no idea how to save this.
Code:
does not work,
Code:
Why many classes can use $this->service('XF:Thread\Editor', $thread);
What I...
Read more
In my job I have a resource and a thread,
i also have custom_fields from resource and thread
But I have no idea how to save this.
Code:
کد:
$threadEditor = $this->service('XF:Thread\Editor', $thread);
$threadEditor->setCustomFields($threadFields);
$threadEditor->save();
does not work,
Code:
Call to undefined method ...\Job\Import::service() in src/addons/.../Job/Import.phpWhy many classes can use $this->service('XF:Thread\Editor', $thread);
What I...
Read more
