Symbiote\AdvancedWorkflow\Forms\AWRequiredFields
Extends RequiredFields so we can prevent DO writes in AW's controller(s) without needing to catch Exceptions from DO->validate() all over the place.
Note specifically $this->getExtendedValidationRoutines() - anti-pattern anyone?
- Author: Russell Michell russell@silverstripe.com
Synopsis
class AWRequiredFields
extends RequiredFields
{
- // methods
- public void php()
- public array getExtendedValidationRoutines()
- protected void setData()
- protected void getData()
- public void setCaller()
- public void getCaller()
Hierarchy
Extends
- SilverStripe\Forms\RequiredFields
Members
protected
- $caller
- $data
Methods
protected
public
- getCaller()
- getExtendedValidationRoutines() — Allows for the addition of an arbitrary no. additional, dedicated and "extended" validation methods on classes that call AWRequiredFields.
- php()
- setCaller()