프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_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 |
메소드 | 설명 | |
---|---|---|
__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 ( ) |
메소드 | 설명 | |
---|---|---|
_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. |
메소드 | 설명 | |
---|---|---|
_handleZip ( string $filename ) : array | Handle extracting images from uploaded zip files. |
public __construct ( array $params = [] ) | ||
$params | array |
protected _doCarouselSetup ( ) : string | ||
리턴 | string | The javascript code. |
protected _handleFileUpload ( ) |
protected _isMetaFile ( string $filename ) : boolean | ||
$filename | string | |
리턴 | boolean |
protected bool $_forceNoScript | ||
리턴 | boolean |
protected bool $_haveCarousel | ||
리턴 | boolean |