$loading
$loading : boolean
The loading property, defines whether to force system to adapt to a loading or not loading state.
The DOMEvents class that implements methods to handle specific AJAX events.
$coreEvents : \CJAX\Core\CoreEvents
The coreEvents property, stores an instance of injected CoreEvents object.
__construct(\CJAX\Core\CoreEvents $coreEvents) : \CJAX\Core\DOMEvents
The constructor for DOMEvents class, creates an instance of DOMEvents object.
\CJAX\Core\CoreEvents | $coreEvents |
callc(string $url, string $containerId = null, string $confirm = null) : \CJAX\Core\XmlItem
The callc method, makes several requests without exec event.
This method is an alternative to call() when the requests go so fast and need just a little timeout to work properly.
string | $url | |
string | $containerId | |
string | $confirm |
dataTransfer(string $actions, array $dataTransfer = null) : \CJAX\Core\XmlItem
The dataTransfer method, handles data transfer for drag and drop event.
string | $actions | |
array | $dataTransfer |
form(string $url, string $formId = null, string $containerId = null, string $confirm = null) : \CJAX\Core\XmlItem
The form method, converts a form into AJAX form and submits this form.
string | $url | |
string | $formId | |
string | $containerId | |
string | $confirm |
keypress(string $elementId, mixed $actions, string|array $key = null) : \CJAX\Core\XmlItem
The keypress method, converts a form into AJAX form and submits this form.
string | $elementId | |
mixed | $actions | |
string|array | $key |
overLay(string $url = null, array $options = array(), boolean $useCache = false) : \CJAX\Core\XmlItem
The overLay method, shows an overlay of resources from a given url.
If useCache parameter is true, the overlayed content will be cached until page refreshes.
string | $url | |
array | $options | |
boolean | $useCache |
overlayContent(string $content = null, array $options = null) : \CJAX\Core\XmlItem
The overLay method, shows an overlay with supplied html content.
string | $content | |
array | $options |