Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Former
LiveValidationTest
provideTypes
Former\LiveValidationTest::provideTypes PHP Method
LiveValidationTest Class Documentation
Show file
Open project: anahkiasen/former
provideTypes()
public
method
public
provideTypes
( )
public function provideTypes() { return array(array('email'), array('url')); }
LiveValidationTest
providePatterns
provideTypes
testCanAddRequiredTextToPlainFields
testCanAddRequiredTextToPlainFieldsAsArray
testCanApplyMultipleRulesWithString
testCanApplyPatternsToFields
testCanApplyPatternsToFieldsAsArray
testCanApplyRulesByChaining
testCanCreateMaxFileSizeForFiles
testCanDisableLiveValidation
testCanDisableLiveValidationAsArray
testCanForceFieldToImage
testCanForceFieldToImageAsArray
testCanHaveSpacesInRulesForSomeReason
testCanRestrictMimeTypes
testCanRestrictMimeTypesAsArray
testCanSetBoundariesToText
testCanSetBoundariesToTextAsArray
testCanSetBoundariestoNumber
testCanSetBoundariestoNumberAsArray
testCanSetDateAsAfterSomething
testCanSetDateAsAfterSomethingAsArray
testCanSetDateAsBeforeSomething
testCanSetDateAsBeforeSomethingAsArray
testCanSetDatetimeAsBeforeSomething
testCanSetFieldAsRequired
testCanSetFieldAsRequiredAsArray
testCanSetMaxToNumber
testCanSetMaxToNumberAsArray
testCanSetMaxToText
testCanSetMaxToTextAsArray
testCanSetMinToNumber
testCanSetMinToNumberAsArray
testCanSetMinToText
testCanSetMinToTextAsArray
testCanSetNestedBracketFieldAsRequired
testCanSetNestedBracketFieldAsRequiredAsArray
testCanSetNestedDotFieldAsRequired
testCanSetNestedDotFieldAsRequiredAsArray
testCanSetNumberFieldAsNumeric
testCanSetNumberFieldAsNumericAsArray
testCanSkipUnexistingHtmlEquivalents
testCanSwitchTypesAccordingToRules
testCanSwitchTypesAccordingToRulesAsArray
testCanUseMultipleRulesArray
testCanUseMultipleRulesArrayAsArray
testCantUseAcceptOnNonFilesFields