\CMSFileOptimizeImageController
controller for optimizing images already uploaded to the CMS. Displays a progress bar, and a list about what files were updated
Synopsis
class CMSFileOptimizeImageController
extends LeftAndMain
{
- // members
- private static string $url_segment = 'assets/optimize';
- private static integer $url_priority = 60;
- private static string $required_permission_codes = 'CMS_ACCESS_AssetAdmin';
- private static string $menu_title = 'Files';
- private static string $tree_class = 'Folder';
- // methods
- public void currentPage()
- public void currentPageID()
- public Form getEditForm()
- public ArrayList Breadcrumbs()
- public String getBackLink()
Hierarchy
Extends
- LeftAndMain
Tasks
Line | Task |
---|---|
50+ | what template is used here? AssetAdmin_UploadContent.ss doesn't seem to be used anymore |
Members
private
- $required_permission_codes
- $tree_class
- $url_priority
- $url_segment
Methods
public
- Breadcrumbs()
- currentPage() — Custom currentPage() method to handle opening the 'root' folder
- currentPageID() — Return fake-ID "root" if no ID is found (needed to upload files into the root-folder)
- getBackLink() — return the relative path to the current folder
- getEditForm()