Documentation

Length

Length class for verifying value length. Extension to class \Bitrix\Main\Entity\Validator\Base.

This class uploads language messages for the current script: Loc::loadMessages(__FILE__).

Queries the namespace:

Class Description Available from version
getMax Returns maximum possible length.
getMin Returns maximum possible length.
validate Checks minimal and/or maximum value length (as a string).


© «Bitrix24», 2001-2024
Up