2019-11-07 --> 2021-06-25
- LightCsrfSimpleField – The LightCsrfSimpleField class.
- LightCsrfSimpleField::__construct – Builds the AbstractField instance.
- LightCsrfSimpleField::getValue – Returns the value of the field.
- LightCsrfSimpleField::setContainer – Sets the container.
- HiddenField::create – Builds the HiddenField instance and returns it.
- AbstractField::getId – Returns the field id.
- AbstractField::addValidator – Adds a validator to this instance.
- AbstractField::validates – Tests and returns whether every validator attached to this instanced passed.
- AbstractField::getErrors – Returns an array of error messages.
- AbstractField::setValue – Sets the value for this instance.
- AbstractField::getFormattedValue – Returns the formatted value of this field.
- AbstractField::getFallbackValue – Returns the fallback value, which defaults to null.
- AbstractField::toArray – Returns the array representation of the field.
- AbstractField::hasVeryImportantData – Returns whether this field contains very important data.
- AbstractField::getDataTransformer – Returns the data transformer of this field if any, or null otherwise.
- AbstractField::setDataTransformer – Sets the dataTransformer for this field.
- AbstractField::setProperties – Sets the properties of this field.
- AbstractField::setProperty – Sets a property to this field.
- AbstractField::setId – Sets the id.
- AbstractField::setFallbackValue – Sets the fallbackValue.
- AbstractField::setLabel – Sets the label.
- AbstractField::setHint – Sets the hint.
- AbstractField::setErrorName – Sets the errorName.
- AbstractField::setHasVeryImportantData – Sets whether this field has very important data.
- LightCsrfSimpleValidator – The LightCsrfSimpleValidator class.
- LightCsrfSimpleValidator::__construct – Builds the AbstractValidator instance.
- LightCsrfSimpleValidator::test – of the validator.
- LightCsrfSimpleValidator::setContainer – Sets the container.
- AbstractValidator::create – Builds and returns the instance for this class.
- AbstractValidator::toArray – Returns the array version of a validator.
- AbstractValidator::setErrorMessage – Overrides a default error message, and returns this instance (for chaining).
- LightCsrfSimpleService – The LightCsrfSimpleService class.
- LightCsrfSimpleService::__construct – Builds the LightCsrfSimpleService instance.
- LightCsrfSimpleService::onRouteFound – This is a callable to execute when the Ling.Light.on_route_found event is fired.
- LightCsrfSimpleService::getToken – Returns the csrf token value stored in the new slot.
- LightCsrfSimpleService::getOldToken – Returns the csrf token value stored in the old slot.
- LightCsrfSimpleService::regenerate – Regenerates a new token, and moves the replaced token to the old slot.
- LightCsrfSimpleService::isValid – Returns whether the given token is valid.
- LightCsrfSimpleService::setContainer – Sets the container.