Property | Type | Description | |
---|---|---|---|
$defaultDirectoryLevel | integer | ||
$defaultUploadPath | string | ||
$directoryLevel | the level of sub-directories to store uploaded files. Defaults to 1. If the system has huge number of uploaded files (e.g. one million), you may use a bigger value (usually no bigger than 3). Using sub-directories is mainly to ensure the file system is not over burdened with a single directory having too many files. | ||
$file | |||
$saveCallback | Closure | ||
$uploadPath | Upload path |
Method | Description | |
---|---|---|
attributeLabels ( ) | ||
beforeDelete ( ) | ||
beforeSave ( $insert ) | ||
getContent ( ) | ||
rules ( ) | ||
saveAs ( |
Save file | |
tableName ( ) |
public static int $defaultDirectoryLevel | ||
return | integer |
public static string $defaultUploadPath | ||
return | string |
public $directoryLevel |