Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques statiques | |
static | parseRelationshipPaths (array $paths) |
|
static |
Parse relationship paths.
Given a flat array of relationship paths like:
['user', 'user.employer', 'user.employer.country', 'comments']
create a nested array of relationship paths one-level deep that can be passed on to other serializers:
['user' => ['employer', 'employer.country'], 'comments' => []]
array | $paths |
Référencé par Resource\buildRelationships().