RSS Feed/News How to save custom fields in a job?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,686
Points
823

Reputation:

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:

Code:
$threadEditor = $this->service('XF:Thread\Editor', $thread);

$threadEditor->setCustomFields($threadFields);

$threadEditor->save();

Continue reading...
 
Status
Not open for further replies.
Top