메소드 |
설명 |
|
behaviors ( ) |
|
|
checkMimeType ( string $file ) : boolean |
function to check if a file is the right type to become part of a collection. |
|
defaultScope ( ) |
set the ordering based on the name of the collections. |
|
getDownloadURL ( ) : string |
return the download url for the compressed file of this collection. |
|
getZipFile ( ) : ProtectedFile |
get a compressed zip file containing all the files in the collection. |
|
model ( $className = __CLASS__ ) : the |
Returns the static model of the specified AR class. |
|
relations ( ) : array |
|
|
removeFileById ( $file_id ) : boolean |
removes a protected file associated with the collection. |
|
rules ( ) : array |
|
|
tableName ( ) : string |
|
|
updateFiles ( int[] $file_ids ) |
update the files for this collection. |
|