Class Get
- Phramework\JSONAPI\Model\Model
- Phramework\JSONAPI\Model\Cache
- Phramework\JSONAPI\Model\Directives
- Phramework\JSONAPI\Model\Get
Direct known subclasses
Indirect known subclasses
Namespace: Phramework\JSONAPI\Model
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 1.0.0
Located at Model/Get.php
Methods summary
public static
|
#
get(
Get collection of resources |
public static
|
#
getById( string|string[] $id,
Get a single resource by id or multiple resource by id array |
public static
|
#
parsePage( object $parameters )
Parse page for pagination by parsing request parameters and using current implementation model's rules. |
public static
|
#
parseSort( object $parameters )
Parse sort by parsing request parameters and using current implementation model's rules. |
public static
|
#
parseFilter( object $parameters )
Parse filter by parsing request parameters and using current implementation model's rules. |
public static
|
#
parseFields( object $parameters )
Parse fields by parsing request parameters and using current implementation model's rules. |
Methods inherited from Phramework\JSONAPI\Model\Directives
Methods inherited from Phramework\JSONAPI\Model\Cache
getCache()
,
initializeCache()
,
invalidateCache()
,
setCache()
Methods inherited from Phramework\JSONAPI\Model\Model
getCast()
,
getEndpoint()
,
getIdAttribute()
,
getSchema()
,
getSelfLink()
,
getTable()
,
getType()
Constants summary
Constants inherited from Phramework\JSONAPI\Model\Model
GET_BY_PREFIX
,
GET_RELATIONSHIP_BY_PREFIX
,
POST_RELATIONSHIP_BY_PREFIX