PHP Class WhFineUploader

Author: Antonio Ramirez ([email protected])
Inheritance: extends CInputWidget
Show file Open project: 2amigos/yiiwheels

Public Properties

Property Type Description
$events the events
$noScriptText text to display if javascript is disabled
$pluginOptions the plugin options
$scenario which scenario we get the validation from
$tagName the HTML tag to render the uploader to
$uploadAction upload action url

Protected Properties

Property Type Description
$defaultOptions d

Public Methods

Method Description
init ( )
registerClientScript ( ) Registers required client script for finuploader
renderTag ( ) Renders the tag where the button is going to be rendered
run ( ) Widget's run method

Protected Methods

Method Description
getValidator ( ) : array
initDefaultOptions ( ) Sets up default options for the plugin - thanks https://github.com/anggiaj

Method Details

getValidator() protected method

protected getValidator ( ) : array
return array

init() public method

public init ( )

initDefaultOptions() protected method

Sets up default options for the plugin - thanks https://github.com/anggiaj
protected initDefaultOptions ( )

registerClientScript() public method

Registers required client script for finuploader

renderTag() public method

Renders the tag where the button is going to be rendered
public renderTag ( )

run() public method

Widget's run method
public run ( )

Property Details

$defaultOptions protected property

d
protected $defaultOptions

$events public property

the events
public $events

$noScriptText public property

text to display if javascript is disabled
public $noScriptText

$pluginOptions public property

the plugin options
public $pluginOptions

$scenario public property

which scenario we get the validation from
public $scenario

$tagName public property

the HTML tag to render the uploader to
public $tagName

$uploadAction public property

upload action url
public $uploadAction