PHP Class WhFineUploader

Author: Antonio Ramirez ([email protected])
Inheritance: extends CInputWidget
显示文件 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_oe property

d
protected $defaultOptions

$events public_oe property

the events
public $events

$noScriptText public_oe property

text to display if javascript is disabled
public $noScriptText

$pluginOptions public_oe property

the plugin options
public $pluginOptions

$scenario public_oe property

which scenario we get the validation from
public $scenario

$tagName public_oe property

the HTML tag to render the uploader to
public $tagName

$uploadAction public_oe property

upload action url
public $uploadAction