[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 126 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Collection:: (8 methods):
__construct()
buildResources()
getResources()
setResources()
with()
fields()
toArray()
toIdentifier()
Class: Collection - X-Ref
__construct($data, SerializerInterface $serializer) X-Ref |
Create a new collection instance. param: mixed $data param: \Tobscure\JsonApi\SerializerInterface $serializer |
buildResources($data, SerializerInterface $serializer) X-Ref |
Convert an array of raw data to Resource objects. param: mixed $data param: SerializerInterface $serializer return: \Tobscure\JsonApi\Resource[] |
getResources() X-Ref |
{@inheritdoc} |
setResources($resources) X-Ref |
Set the resources array. param: array $resources return: void |
with($relationships) X-Ref |
Request a relationship to be included for all resources. param: string|array $relationships return: $this |
fields($fields) X-Ref |
Request a restricted set of fields. param: array|null $fields return: $this |
toArray() X-Ref |
{@inheritdoc} |
toIdentifier() X-Ref |
{@inheritdoc} |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |