Property | Type | Description | |
---|---|---|---|
$_forceNoScript | boolean | Force the older, non-javascript uploader view. | |
$_gallery | Ansel_Gallery | ||
$_haveCarousel | boolean | Flag for when we already output the carousel code. | |
$_params | array |
Method | Description | |
---|---|---|
__construct ( array $params = [] ) |
Initialize the view. Needs the following parameters:
'browse_button' - Dom id of button to open file system browser. |
|
handleLegacy ( ) | Handle uploads from non-js browsers | |
run ( ) |
Method | Description | |
---|---|---|
_doCarouselSetup ( ) : string | Return javascript needed to initialize the carousel. | |
_handleFileUpload ( ) | Checks for a file uploaded via the pluploader. If one is found, handle it, send the server json response and exit. | |
_isMetaFile ( string $filename ) : boolean | Indicates if the specified filename is a known meta file type. |
Method | Description | |
---|---|---|
_handleZip ( string $filename ) : array | Handle extracting images from uploaded zip files. |
public __construct ( array $params = [] ) | ||
$params | array |
protected _doCarouselSetup ( ) : string | ||
return | string | The javascript code. |
protected _handleFileUpload ( ) |
protected _isMetaFile ( string $filename ) : boolean | ||
$filename | string | |
return | boolean |
protected bool $_forceNoScript | ||
return | boolean |
protected bool $_haveCarousel | ||
return | boolean |