string getJavascriptCallback(
)
|
|
Returns the client-side validation callback
For this to work properly, slashes have to be used as regex delimiters. The method takes care of transforming PHP unicode escapes in regexps to JS unicode escapes if using 'u' modifier (see bug #12736)
Overridden in child classes as:
- HTML_QuickForm2_Rule_NotRegex::getJavascriptCallback()
- Returns the client-side validation callback
Overrides
HTML_QuickForm2_Rule::getJavascriptCallback() (Returns the client-side validation callback)