You are here

public function RestWSBaseFormat::getName in RESTful Web Services 7

Same name and namespace in other branches
  1. 7.2 restws.formats.inc \RestWSBaseFormat::getName()

Returns the short name of this format.

Return value

string The format name, example: "json".

Overrides RestWSFormatInterface::getName

File

./restws.formats.inc, line 132
RESTful web services module formats.

Class

RestWSBaseFormat
A base for all simple formats that are just serializing/unserializing an array of property values.

Code

public function getName() {
  return $this->formatName;
}