One Hat Cyber Team
Your IP :
216.73.216.216
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
ojs-nosc
/
lib
/
pkp
/
classes
/
ror
/
View File Name :
Ror.php
<?php /** * @file classes/ror/Ror.php * * Copyright (c) 2025 Simon Fraser University * Copyright (c) 2025 John Willinsky * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING. * * @class Ror * * @ingroup ror * * @see DAO * * @brief Basic class describing a ror. */ namespace PKP\ror; use PKP\core\DataObject; class Ror extends DataObject { public const STATUS_ACTIVE = 1; public const STATUS_INACTIVE = 0; /** * Get the default/fall back locale the values should exist for * (see LocalizedData trait) */ public function getDefaultLocale(): ?string { return $this->getDisplayLocale(); } /** * Get ror. */ public function getRor(): string { return $this->getData('ror'); } /** * Get display locale. */ public function getDisplayLocale(): string { return $this->getData('displayLocale'); } /** * Get isActive. */ public function getIsActive(): bool { return $this->getData('isActive') === static::STATUS_ACTIVE; } /** * Get name. */ public function getName(?string $locale = null): string|array|null { return $this->getData('name', $locale); } /** * Get localized name. */ public function getLocalizedName(?string $preferredLocale = null): string|null { return $this->getLocalizedData('name', $preferredLocale); } }