$a
$a : mixed
The a-j property, stores convenient ajax data for CJAX to use.
The CoreEvents class that handles CJAX internal processes and functionality.
$config : \CJAX\Core\Config|\CJAX\Core\Ext
The config property, specifies the configuration variables for CJAX.
$cache : \CJAX\Core\Cache
The cache property, stores a refernece to the Cache object.
$pluginManager : \CJAX\Core\PluginManager
The PluginManager property, stores a reference of PluginManager object.
$xmlObjects : \CJAX\Core\Ext
The xmlObjects property, stores an object that holds referneces to XmlItem Ids.
__construct(\CJAX\Core\Config|\CJAX\Core\Ext $config, \CJAX\Core\Cache $cache) : \CJAX\Core\CoreEvents
The constructor for CoreEvents class, creates an instance of CoreEvents object.
\CJAX\Core\Config|\CJAX\Core\Ext | $config | |
\CJAX\Core\Cache | $cache |
getCache() : \CJAX\Core\Cache
The getCache method, obtains the cache instance stored in CoreEvents.
getPluginManager() : \CJAX\Core\PluginManager
The getPluginManager method, obtains the plugin manager instance stored in CoreEvents.
xmlItem(integer $xml, string $name) : \CJAX\Core\XmlItem
The xmlItem method, creates an instance of XmlItemobject given its id and name.
integer | $xml | |
string | $name |
wait( $seconds, boolean $milliseconds = false, boolean $expand = true) : \CJAX\Core\CoreEvents
The wait method, it will execute a command in a specified amouth of time.
$seconds | ||
boolean | $milliseconds | |
boolean | $expand |
flag(integer $flagId, integer $commandCount = 1, array $settings = array()) : \CJAX\Core\CoreEvents
The flag method, helper method to generate flags quicker.
integer | $flagId | |
integer | $commandCount | |
array | $settings |
addEventTo(string $element, string|array $actions, string $event = 'onclick') : \CJAX\Core\XmlItem
The addEventTo method, attaches a CJAX event to DOM element.
string | $element | |
string|array | $actions | |
string | $event |
exec(string $selector, array $actions, string $event = "click") : \CJAX\Core\XmlItem
The exec method, binds any events to given elements.
This method is the generic event binder that can handle any types of events.
string | $selector | |
array | $actions | |
string | $event |