You are here

public function RestWSBaseFormat::__construct in RESTful Web Services 7.2

Same name and namespace in other branches
  1. 7 restws.formats.inc \RestWSBaseFormat::__construct()
1 call to RestWSBaseFormat::__construct()
RestWSFormatRDF::__construct in ./restws.formats.inc
1 method overrides RestWSBaseFormat::__construct()
RestWSFormatRDF::__construct in ./restws.formats.inc

File

./restws.formats.inc, line 102
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 __construct($name, $info) {
  $this->formatName = $name;
  $this->formatInfo = $info;
}