\NewsAdmin
Default admin for the newsmodule.
This way, it's less of a clutter in the sitetree.
- Author: Simon 'Sphere'
Synopsis
class NewsAdmin
extends ModelAdmin
{
- // members
- private static array $managed_models = ;
- private static string $url_segment = 'news';
- private static string $menu_title = 'News';
- private static string $menu_icon = '/newsmodule/images/newspaper.png';
- public boolean $showImportForm = false;
- // methods
- public Form getEditForm()
- public ArrayList getList()
- public void subsiteCMSShowInMenu()
Hierarchy
Extends
- ModelAdmin
Members
private
- $managed_models
- $url_segment
public
- $showImportForm
Methods
public
- getEditForm() — Add the sortorder to tags. I guess tags are sortable now.
- getList() — List only newsitems from current subsite.
- subsiteCMSShowInMenu()