uawdijnntqw1x1x1
IP : 216.73.216.180
Hostname : xhost1.intravision.ru
Kernel : Linux xhost1.intravision.ru 3.16.0-7-amd64 #1 SMP Debian 3.16.59-1 (2018-10-03) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
files
/
.
/
need-2-delete
/
mini-borishof.ru1
/
bitrix
/
modules
/
seo
/
.
/
lib
/
retargeting
/
response.php
/
/
<? namespace Bitrix\Seo\Retargeting; use Bitrix\Main\Error; use Bitrix\Main\Result; abstract class Response extends Result { const TYPE_CODE = ''; protected $id; protected $adapter; protected $responseText; /* @var Request|null */ protected $request; protected $result; protected $fetchIterator = 0; public function __construct() { parent::__construct(); $this->type = static::TYPE_CODE; } public function setId($id) { $this->id = $id; } public function getId() { return $this->id; } public function setData(array $data) { parent::setData($data); $this->fetchIterator = 0; } public function setResponseText($responseText) { $this->responseText = $responseText; } public function getResponseText() { return $this->responseText; } public function fetch() { if(is_array($this->data) && !isset($this->data[0])) { if ($this->fetchIterator == 0) { $row = $this->data; $this->fetchIterator++; } else { return null; } } else if(is_array($this->data) && isset($this->data[$this->fetchIterator])) { $row = $this->data[$this->fetchIterator]; $this->fetchIterator++; } else { return null; } if (is_array($row)) { $result = array(); foreach ($row as $k => $v) { $result[strtoupper($k)] = $v; } return $result; } else { return $row; } } public function getRequest() { return $this->request; } public function setRequest(Request $request) { return $this->request = $request; } /** * @param $type * @return static */ public static function create($type) { return Factory::create(get_called_class(), $type); } abstract public function parse($data); }
/var/files/./need-2-delete/mini-borishof.ru1/bitrix/modules/seo/./lib/retargeting/response.php