Your IP : 18.222.139.190


Current Path : /var/www/admin_ftp_12/data/www/httpdocs/bitrix/modules/landing/lib/internals/
Upload File :
Current File : /var/www/admin_ftp_12/data/www/httpdocs/bitrix/modules/landing/lib/internals/urlcheckerhost.php

<?php
namespace Bitrix\Landing\Internals;

use Bitrix\Main\Localization\Loc;
use Bitrix\Main\Entity;

Loc::loadMessages(__FILE__);

class UrlCheckerHostTable extends Entity\DataManager
{
	/**
	 * Returns DB table name for entity.
	 * @return string
	 */
	public static function getTableName()
	{
		return 'b_landing_urlchecker_host';
	}

	/**
	 * Returns entity map definition.
	 * @return array
	 */
	public static function getMap()
	{
		return array(
			'ID' => new Entity\IntegerField('ID', array(
				'primary' => true,
				'autocomplete' => true,
				'title' => 'ID'
			)),
			'STATUS_ID' => new Entity\IntegerField('STATUS_ID', array(
				'title' => Loc::getMessage('LANDING_TABLE_UCH_FIELD_STATUS_ID'),
				'required' => true
			)),
			'HOST' => new Entity\StringField('HOST', array(
				'title' => Loc::getMessage('LANDING_TABLE_UCH_FIELD_HOST'),
				'required' => true
			))
		);
	}
}