\CMSNonSecuredFileAddController
Specific controller used to add files to the advanced-assets CMS UI, but that aren't (yet) secured.
- Author: Deviate Ltd 2014-2015 http://www.deviate.net.nz
Synopsis
class CMSNonSecuredFileAddController
extends CMSFileAddController
{
- // members
- private static string $url_segment = 'assets/add';
- private static integer $url_priority = 65;
- // methods
- public void init()
- public SS_HTTPResponse initValidate()
- public SS_List Breadcrumbs()
- public Form getEditForm()
Hierarchy
Extends
- CMSFileAddController
Tasks
Line | Task |
---|---|
10+ | Modify addFolder() and initValidate() to show messages within the CMS. |
32+ | Refactor into single static. There are v.close dupes of this in the other controllers. |
72+ | what template is used here? AssetAdmin_UploadContent.ss doesn't seem to be used anymore |
Members
private
- $url_priority
- $url_segment
Methods
public
- Breadcrumbs()
- getEditForm()
- init()
- initValidate() — Intial validation of incoming CMS requests before we do anything useful.