Kajona\Mediamanager\Admin\MediamanagerAdmin

Admin class of the mediamanager-module. Used to sync the repos with the filesystem and to upload / manage files.

Successor and combination of v3s' filemanager, galleries and download modules

Synopsis

class MediamanagerAdmin extends AdminEvensimpler implements AdminInterface {
  • // constants
  • const INT_LISTTYPE_FOLDER = "INT_LISTTYPE_FOLDER";
  • const INT_LISTTYPE_FOLDERVIEW = "INT_LISTTYPE_FOLDERVIEW";
}

Hierarchy

Tasks

Line Task
197+ could be moved to a general admin-skin helper

Constants

Name Value
INT_LISTTYPE_FOLDER "INT_LISTTYPE_FOLDER"
INT_LISTTYPE_FOLDERVIEW "INT_LISTTYPE_FOLDERVIEW"
STR_OBJECT_LIST_ANNOTATION "@objectList"
STR_OBJECT_NEW_ANNOTATION "@objectNew"
STR_OBJECT_EDIT_ANNOTATION "@objectEdit"
STR_OBJECT_LISTFILTER_ANNOTATION "@objectFilter"
STR_MODULE_ANNOTATION "@module"
STR_MODULEID_ANNOTATION "@moduleId"

Members

protected

Methods

private

protected

public

Inherited from Kajona\System\Admin\AdminEvensimpler

protected

  • actionEdit() — Renders the form to edit an existing entry
  • actionList() — Renders the general list of records
  • actionNew() — Renders the form to create a new entry
  • actionSave() — Updates the source-object based on the passed form-params and synchronizes it with the database.
  • checkMethodExistsInConcreteClass() — Check if method exists in concrete class and not only in AdminSimple
  • getActionNameForClass() — Tries to get the name of an action (edit, delete, list, new, save) for a given object-type.
  • getAdminForm() — Creates the admin-form for a given object. You should specify a @formGenerator annotation in your model if you want to override the default form
  • getArrOutputNaviEntries() — Builds the object-path of the currently selected record.
  • getOutputActionTitle() — Internal redefinition in order to match the internal, "real" action to the action based on the passed, declarative action.
  • getOutputNaviEntry() — Overwrite to generate path navigation entries for the given object.
  • getQuickHelp() — Internal redefinition in order to match the internal, "real" action to the action based on the passed, declarative action.
  • persistModel() — Method which persists the record to the database

public

Inherited from Kajona\System\Admin\AdminSimple

protected

public

Inherited from Kajona\System\Admin\AdminController

protected

public

  • action() — This method triggers the internal processing.
  • adminReload() — Use this method to reload a specific url.
  • getLanguageToWorkOn() — Loads the language to edit content
  • getModuleData() — Returns the data for a registered module FIXME: validate if still required
  • getModuleDescription() — Creates a text-based description of the current module.
  • getModuleOutput() — Basic controller method invoking all further methods in order to generate an admin view.
  • getModuleRightNaviEntry() — Renders the "always present" module permissions entry for each module (takes the currents' user permissions into account).
  • getModuleSystemid() — Returns the SystemID of a installed module
  • getOutputModuleNavi() — Writes the ModuleNavi, overwrite if needed Use two-dim arary: array[ array["right", "link"], array["right", "link"] ]

Inherited from Kajona\System\System\AbstractController

protected

  • getObjLang() — Returns the current Text-Object Instance
  • getObjModule() — Returns the current instance of SystemModule, based on the current subclass.
  • setStrLangBase() — Sets the textbase, so the module used to load texts

public