• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/item.php
  • Класс: BitrixTasksItem
  • Вызов: Item::checkData
public function checkData($result)
{
	$map = $this->getMap();
	/**
	 * @var FieldScalar $v
	 */
	foreach($map as $k => $v)
	{
		$name = $v->getName();

		$v->checkValue($v->getValue($name, $this), $name, $this, array(
			'RESULT' => $result
		));
	}

	// todo: also, there should be an ORM-based check for tablet data and user fields

	return $result->isSuccess();
}