CloneableInstantiable
| Methods |
| public __construct(string $validatorName, string $javaScriptFunction = '') Create a custom Abide validator. Steps for use:
|
| public getFunctionName() : string |
| public getJavaScript() : string Returns the JavaScript that is added to the page when addAbideValidator is called |
| public getJavaScriptTemplate(string $customJavaScript) : string Most validation JavaScript follows a standard pattern:
Local variables available to $customJavaScript
|
| public getValidatorName() : string |
| public setJavaScript(string $javaScriptFunction) : PHPFUI |
| Properties |
| protected bool $addedToPage = false |
| protected string $functionName |
| protected string $javaScript |
| protected string $validatorName |