Your IP : 3.16.137.217


Current Path : /var/www/axolotl/data/www/msk.axolotls.ru/bitrix/modules/crm/lib/entity/
Upload File :
Current File : /var/www/axolotl/data/www/msk.axolotls.ru/bitrix/modules/crm/lib/entity/fieldvalidator.php

<?php
namespace Bitrix\Crm\Entity;

abstract class FieldValidator
{
	protected $entityTypeID = \CCrmOwnerType::Undefined;
	protected $entityID = 0;
	protected $entityFields = null;

	public function __construct($entityTypeID, $entityID, array $entityFields)
	{
		$this->entityTypeID = $entityTypeID;
		$this->entityID = $entityID;
		$this->entityFields = $entityFields;
	}

	public function getEntityTypeID()
	{
		return $this->entityTypeID;
	}

	public function getEntityID()
	{
		return $this->entityID;
	}

	abstract public function checkPresence(array $params = null);
}