You are here

public function WsData::__construct in Web Service Data 7

File

./wsdata.module, line 142
Main module for wsconfig

Class

WsData
Class definition for Web Service data parser

Code

public function __construct($data = NULL, &$entity = NULL, $lang = NULL) {
  $this->entity = $entity;
  if (isset($data) and $data) {
    $this
      ->addData($data, $lang);
  }
}