$assignable_types
$assignable_types :
OnBeforeAddOrUpdateContent(\FAA\Obj\Sys\HookArgument $reference)
Hook to set changer and changed date
When save some contents it should set the changed date and the changer from current session It will set server to null for system user context.
\FAA\Obj\Sys\HookArgument | $reference | A hook argument |
BuildEntry(\stdClass $doc,string $language,array|null $extra = null): \FAA\Obj\Search\Response\General
Build entry Convert the search result to frontend object row
\stdClass | $doc | The search response |
string | $language | The request language |
array|null | $extra | Additional fields |
A general search response object
updateLinkedRelations(\FAA\Obj\Sys\HookArgument $reference,\FAA\Interfaces\Search $client)
Update relations Update all the known linked relations of the updated content
\FAA\Obj\Sys\HookArgument | $reference | The hook argument |
\FAA\Interfaces\Search | $client | The search interface |
getRelationsByContent(string|integer $id,string $type): array<mixed,\FAA\Obj\Search\Response\General>
string|integer | $id | An system object id |
string | $type | The relation type |
List of linked relations