$ajaxFile
$ajaxFile : boolean
The ajaxFile property, it will replace any string starting with ajax.php to full url if true.
The Dracula class, it provides public API for plugin Dracula.
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.
drake(array|string $containers = null, array $options = array(), array $events = array()) : void
The drake method, used for assigning drag and drop events with dracula.
This method can be called repeatedly to assign more groups of containers for drag and drop event.
array|string | $containers | |
array | $options | |
array | $events |