utilityValidateInterface

Defines the validator interface for each validator component.


Methods

public abstract isValid($inValue)

Returns true if $inValue is valid, false if not

public abstract getOptions([$inOption = null])

Returns the validator options, or specific option

public abstract setOptions([$inOptions = array()])

Sets the validator options

public abstract getMessages()

Returns the array of messages from failed validation

public abstract getTranslationManager()

Returns the translate manager instance, null if not set

public abstract setTranslationManager($inManager)

Sets the translation manager instance

<  1  >