\CJAX\Plugins\Uploadify\ControllersUploadify

The Uploadify class, the base AJAX Controller for Uploadify plugin.

An AJAX controller class may extends from Uploadify controller class, or stores it as a property.

Summary

Methods
Properties
Constants
__construct()
getAJAX()
fileExists()
upload()
No public properties found
No constants found
No protected methods found
$ajax
N/A
No private methods found
No private properties found
N/A

Properties

$ajax

$ajax : \CJAX\Core\CJAX

The ajax property, stores an instance of CJAX for child controllers to use easily.

Type

\CJAX\Core\CJAX

Methods

__construct()

__construct(\CJAX\Core\CJAX  $ajax) : \CJAX\Core\AJAXController

The constructor for AJAXController class, it instantiates controller class with property $ajax through DI.

Parameters

\CJAX\Core\CJAX $ajax

Returns

\CJAX\Core\AJAXController

getAJAX()

getAJAX() : \CJAX\Core\CJAX

The getCJAX method, acquires the instance of $ajax from controller.

Returns

\CJAX\Core\CJAX

fileExists()

fileExists() : void

The fileExists method, checks if a file is uploaded or not.

upload()

upload() : void

The upload method, handles file upload action for Uploadify.