\CMSMainEditFormExtension
An extension which loads the required EditForm scripts for CMSMain (workaround for a bug in 3.4.0 + Secure Assets).
Synopsis
class CMSMainEditFormExtension
extends LeftAndMainExtension
{
- // methods
- public void init()
- public void updateEditForm()
- private boolean isAssetAdmin()
- private boolean hasSecureAssets()
Hierarchy
Extends
- LeftAndMainExtension
Methods
private
- hasSecureAssets() — Answers true if the File class has the Secure Assets extension applied.
- isAssetAdmin() — Answers true if the extended object is AssetAdmin.
public
- init() — Extension init() method, called by LeftAndMain init() method.
- updateEditForm() — Updates the edit form object from AssetAdmin to provide a workaround for a bug in Secure Assets.