Свойство | Тип | Описание | |
---|---|---|---|
$autoUpload | boolean | Set true to enable autoupload | |
$controllerNamespace | |||
$rename | boolean | Set true if you want to rename files if the name is already in use | |
$routes | upload routes | ||
$thumbFilenameTemplate | string | Possible vars: {original}, {width}, {height}, {alias}, {extension} Note: "fm" alias is reserved for default thumbnails | |
$thumbs | thumbnails info |
Метод | Описание | |
---|---|---|
getDefaultThumbSize ( ) : array | ||
init ( ) | ||
registerTranslations ( ) | ||
t ( $category, $message, $params = [], $language = null ) |
public static getDefaultThumbSize ( ) : array | ||
Результат | array | default thumbnail size. Using in filemanager view. |
public static t ( $category, $message, $params = [], $language = null ) |
public bool $autoUpload | ||
Результат | boolean |
public bool $rename | ||
Результат | boolean |
public string $thumbFilenameTemplate | ||
Результат | string |