HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
TbFileUpload Class Reference

Public Member Functions

 init ()
 run ()
 registerClientScript ($id)

Public Attributes

 $url
 $multiple = false
 $uploadTemplate
 $downloadTemplate
 $previewImages = true
 $imageProcessing = true
 $formView = 'booster.views.fileupload.form'
 $uploadView = 'booster.views.fileupload.upload'
 $downloadView = 'booster.views.fileupload.download'
 $previewImagesView = 'booster.views.gallery.preview'

Private Member Functions

 getFileValidatorProperty ($model=null, $attribute=null, $property=null)

Detailed Description

Definition at line 23 of file TbFileUpload.php.

Member Function Documentation

TbFileUpload::getFileValidatorProperty (   $model = null,
  $attribute = null,
  $property = null 
)
private

Check for a property of CFileValidator

Parameters
CModel$model
string$attribute
null$property
Returns
string property's value or null

Definition at line 199 of file TbFileUpload.php.

Here is the caller graph for this function:

TbFileUpload::init ( )

Widget initialization

Definition at line 82 of file TbFileUpload.php.

TbFileUpload::registerClientScript (   $id)

Registers and publishes required scripts

Parameters
string$id

Definition at line 152 of file TbFileUpload.php.

Here is the call graph for this function:

Here is the caller graph for this function:

TbFileUpload::run ( )

Generates the required HTML and Javascript

Definition at line 102 of file TbFileUpload.php.

Here is the call graph for this function:

Member Data Documentation

TbFileUpload::$downloadTemplate

The template id to display files available for download defaults to null, meaning using the built-in template

Definition at line 47 of file TbFileUpload.php.

TbFileUpload::$downloadView = 'booster.views.fileupload.download'

Definition at line 72 of file TbFileUpload.php.

TbFileUpload::$formView = 'booster.views.fileupload.form'

Definition at line 62 of file TbFileUpload.php.

TbFileUpload::$imageProcessing = true

Whether or not to add the image processing pluing

Definition at line 57 of file TbFileUpload.php.

TbFileUpload::$multiple = false

Definition at line 35 of file TbFileUpload.php.

TbFileUpload::$previewImages = true

Wheter or not to preview image files before upload

Definition at line 52 of file TbFileUpload.php.

TbFileUpload::$previewImagesView = 'booster.views.gallery.preview'

Definition at line 77 of file TbFileUpload.php.

TbFileUpload::$uploadTemplate

The upload template id to display files available for upload defaults to null, meaning using the built-in template

Definition at line 41 of file TbFileUpload.php.

TbFileUpload::$uploadView = 'booster.views.fileupload.upload'

Definition at line 67 of file TbFileUpload.php.

TbFileUpload::$url

Definition at line 29 of file TbFileUpload.php.


The documentation for this class was generated from the following file: