public function getData() { $data = $this->getRequestParams(); if (is_string($data)) { $data = Helper::xml2array($data); } return $data; }