uawdijnntqw1x1x1
IP : 216.73.216.207
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
/
www
/
tiskom
/
data
/
www
/
tiskom.xhost.intravision.ru
/
.
/
bitrix
/
modules
/
seo
/
lib
/
leadads
/
result.php
/
/
<? namespace Bitrix\Seo\LeadAds; use Bitrix\Main; use Bitrix\Main\Type\DateTime; class Result extends Main\Result { /** @var string|null $id ID. */ protected $id; /** @var DateTime $dateCreate Create date. */ protected $dateCreate; /** @var int $currentIterationNumber Current iteration number. */ protected $currentIterationNumber = 0; /** * Sets data of the result. * * @param array $data Data. * @return void */ public function setData(array $data) { $this->data = array(); $this->currentIterationNumber = 0; foreach ($data as $item) { if (!isset($item['NAME']) || !$item['NAME']) { continue; } if (!isset($item['VALUES']) || !is_array($item['VALUES']) || !$item['VALUES']) { continue; } $this->addFieldValues($item['NAME'], $item['VALUES']); } } /** * Add field values. * * @param string $name Name. * @param array $values Values. */ public function addFieldValues($name, array $values) { $this->data[] = array( 'NAME' => $name, 'VALUES' => $values ); } /** * Get id. * * @return string|null */ public function getId() { return $this->id; } /** * Set id. * * @param string $id ID. */ public function setId($id) { $this->id = $id; } /** * Get create date. * * @return DateTime|null */ public function getDateCreate() { return $this->dateCreate; } /** * Set create date. * * @param DateTime $dateCreate Create date. */ public function setDateCreate(DateTime $dateCreate) { $this->dateCreate = $dateCreate; } /** * Fetch. * * @return array|null */ public function fetch() { if (!isset($this->data[$this->currentIterationNumber])) { return null; } $row = $this->data[$this->currentIterationNumber]; $this->currentIterationNumber++; return $row; } }
/var/www/tiskom/data/www/tiskom.xhost.intravision.ru/./bitrix/modules/seo/lib/leadads/result.php