[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/tobscure/json-api/src/ -> AbstractSerializer.php (summary)

The type.

File Size: 106 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  getType()
  getId()
  getAttributes()
  getLinks()
  getMeta()
  getRelationship()
  getRelationshipMethodName()

Functions
Functions that are not part of a class:

getType($model)   X-Ref
{@inheritdoc}


getId($model)   X-Ref
{@inheritdoc}


getAttributes($model, array $fields = null)   X-Ref
{@inheritdoc}


getLinks($model)   X-Ref
{@inheritdoc}


getMeta($model)   X-Ref
{@inheritdoc}


getRelationship($model, $name)   X-Ref
{@inheritdoc}


getRelationshipMethodName($name)   X-Ref
Get the serializer method name for the given relationship.

snake_case and kebab-case are converted into camelCase.

param: string $name
return: string



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer