Class Relationship
- Phramework\JSONAPI\Model\Model
-
Phramework\JSONAPI\Model\Cache
-
Phramework\JSONAPI\Model\Directives
-
Phramework\JSONAPI\Model\Get
-
Phramework\JSONAPI\Model\Relationship
Direct known subclasses
Abstract
Namespace: Phramework\JSONAPI\Model
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 1.0.0
Located at Model/Relationship.php
Namespace: Phramework\JSONAPI\Model
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since: 1.0.0
Located at Model/Relationship.php
Methods summary
public static
object
|
|
public static
|
|
public static
Boolean
|
|
public static
|
#
getRelationshipData( string $relationshipKey, string $id,
Get records from a relationship link |
public static
|
#
getIncludedData(
Get jsonapi's included object, selected by include argument, using id's of relationship's data from resources in primary data object |
Methods inherited from Phramework\JSONAPI\Model\Get
get(),
getById(),
parseFields(),
parseFilter(),
parsePage(),
parseSort()
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