You are here

protected function RestfulFormatterHalJson::getCurie in RESTful 7

Checks if the current plugin has a defined curie.

Return value

array Associative array with the curie information.

3 calls to RestfulFormatterHalJson::getCurie()
RestfulFormatterHalJson::addHateoas in plugins/formatter/hal_json/RestfulFormatterHalJson.class.php
Add HATEOAS links to list of item.
RestfulFormatterHalJson::prepareRow in plugins/formatter/hal_json/RestfulFormatterHalJson.class.php
Massage the data of a single row.
RestfulFormatterHalJson::withCurie in plugins/formatter/hal_json/RestfulFormatterHalJson.class.php
Prefix a property name with the curie, if present.

File

plugins/formatter/hal_json/RestfulFormatterHalJson.class.php, line 229
Contains RestfulFormatterHalJson.

Class

RestfulFormatterHalJson
@file Contains RestfulFormatterHalJson.

Code

protected function getCurie() {
  return $this
    ->getPluginKey('curie');
}