Pages

2021年10月28日木曜日

CakePHP4 Validation:: add() rule で利用できる値一覧

notBlank

alphaNumeric

notAlphaNumeric

asciiAlphaNumeric

notAsciiAlphaNumeric

lengthBetween

creditCard

numElements

comparison

compareWith

compareFields

containsNonAlphaNumeric

custom

date

datetime

iso8601

time

localizedTime

boolean

truthy

falsey

decimal

email

equalTo

extension

ip

minLength

maxLength

minLengthBytes

maxLengthBytes

money

multiple

numeric

naturalNumber

range

url

inList

uuid

luhn

mimeType

getFilename

fileSize

uploadError

uploadedFile

imageSize

imageWidth

imageHeight

geoCoordinate

latitude

longitude

ascii

utf8

isInteger

isArray

isScalar

hexColor

iban

Followers