uawdijnntqw1x1x1
IP : 18.226.88.145
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
/
salescenter
/
lib
/
fields
/
field.php
/
/
<?php namespace Bitrix\SalesCenter\Fields; class Field { protected $name; protected $title; protected $entity; public function __construct(string $name, array $params = []) { $this->name = $name; if($params['title'] && is_string($params['title'])) { $this->title = $params['title']; } if($params['entity'] && $params['entity'] instanceof Entity) { $this->setEntity($params['entity']); } } public function getName(): string { return $this->name; } public function getTitle(): string { if(!empty($this->title)) { return $this->title; } elseif($this->getEntity()) { return $this->getEntity()->getName(); } return $this->name; } public function setTitle(string $title): Field { $this->title = $title; return $this; } public function getEntity(): ?Entity { return $this->entity; } public function setEntity(Entity $entity): Field { $this->entity = $entity; return $this; } }
/var/www/axolotl/data/www/kirov.axolotls.ru/bitrix/modules/salescenter/lib/fields/field.php