$ajaxFile
$ajaxFile : boolean
The ajaxFile property, it will replace any string starting with ajax.php to full url if true.
The Validate class, it provides public API for plugin Jquery Validate.
Since CJAX 6.0, Plugin class is lightweight and only contains information of one specific plugin object.
$xml : \CJAX\Core\XmlItem
The xml property, stores an instance of XmlItem object for this plugin.
$coreEvents : \CJAX\Core\CoreEvents
The coreEvents property, stores an instance of injected CoreEvents object.
__construct(\CJAX\Core\CoreEvents $coreEvents, array $array = array()) : \CJAX\Core\Plugin
The constructor for Plugin class, creates an instance of Plugin object.
\CJAX\Core\CoreEvents | $coreEvents | |
array | $array |
xmlObject() : \CJAX\Core\XmlItem
The xmlObject method, gets the XmlItem object associated with this plugin.
onAjaxLoad(string $buttonId, string $postUrl, array $rules = array()) : void
The onAjaxLoad method, it is called when the plugin is loaded by an AJAX request.
For this plugin, it simply calls onLoad method for AJAX requests, only no need to import jquery library file.
string | $buttonId | |
string | $postUrl | |
array | $rules |