uawdijnntqw1x1x1
IP : 3.144.10.140
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) 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
/
axolotl
/
data
/
www
/
kirov.axolotls.ru
/
bitrix
/
modules
/
location
/
lib
/
entity
/
format.php
/
/
<?php namespace Bitrix\Location\Entity; use Bitrix\Location\Entity\Address\FieldType; use Bitrix\Location\Entity\Format\Converter\ArrayConverter; use Bitrix\Location\Entity\Format\FieldCollection; use Bitrix\Main\Web\Json; /** * Class Format * @package Bitrix\Location\Entity */ final class Format { /** @var string */ private $name = ''; /** @var string */ private $description = ''; /** @var string */ private $code = ''; /** @var string */ private $languageId = ''; /** @var string */ private $template = ''; /** @var string */ private $delimiter = ''; /** @var int */ private $fieldForUnRecognized = FieldType::UNKNOWN; /** @var FieldCollection */ private $fieldCollection = null; /** * Format constructor. * @param string $languageId */ public function __construct(string $languageId) { $this->languageId = $languageId; $this->fieldCollection = new FieldCollection(); } /** * @return string */ public function getName(): string { return $this->name; } /** * @param string $name * @return $this */ public function setName(string $name): Format { $this->name = $name; return $this; } /** * @return string */ public function getDescription(): string { return $this->description; } /** * @param string $description * @return $this */ public function setDescription(string $description): Format { $this->description = $description; return $this; } /** * @return string */ public function getLanguageId(): string { return $this->languageId; } /** * @param string $languageId * @return $this */ public function setLanguageId(string $languageId): Format { $this->languageId = $languageId; return $this; } /** * @return string */ public function getCode(): string { return $this->code; } /** * @param string $code * @return $this */ public function setCode(string $code): Format { $this->code = $code; return $this; } /** * @param FieldCollection $fieldCollection * @return $this */ public function setFieldCollection(FieldCollection $fieldCollection): self { $this->fieldCollection = $fieldCollection; return $this; } /** * @return FieldCollection */ public function getFieldCollection(): FieldCollection { return $this->fieldCollection; } /** * @return string * @throws \Bitrix\Main\ArgumentException */ public function toJson(): string { return Json::encode(ArrayConverter::convertToArray($this)); } /** * @return string */ public function getTemplate(): string { return $this->template; } /** * @param string $template * @return $this */ public function setTemplate(string $template): self { $this->template = $template; return $this; } /** * @return string */ public function getDelimiter(): string { return $this->delimiter; } /** * @param string $delimiter * @return $this */ public function setDelimiter(string $delimiter): self { $this->delimiter = $delimiter; return $this; } public function setFieldForUnRecognized(int $fieldType): self { $this->fieldForUnRecognized = $fieldType; return $this; } public function getFieldForUnRecognized() { return $this->fieldForUnRecognized; } }
/var/www/axolotl/data/www/kirov.axolotls.ru/bitrix/modules/location/lib/entity/format.php