* @package WB * @subpackage base */ /** * WBDatasource_ContactRequest_Info * * Resolve some additional information for contact request * * @version 0.1.0 * @package Wombat * @subpackage base */ class WBDatasource_ContactRequest_Info extends WBStdClass { /** * Current Request Data * @var array */ protected $data; /** * Current Request Data Request Info * @var array */ protected $req; /** * Set Request Data * * @param array */ final public function setData($data) { $this->data = $data; $this->req = array(); if (empty($data['request'])) { return; } unset($this->data['request']); $req = json_decode($data['request'], true); if (!is_array($req)) { $req = array(); } $this->req = $req; } /** * Get Information From Request * * @return array */ public function getInfo() { return array(); } }