\ScoutGroupHolder
ScoutGroupHolder Model
Class to provide container for Scout Groups
- Author: Matt Cockayne <matt@zucchi.co.uk>
Synopsis
class ScoutGroupHolder
extends Page
implements
PermissionProvider
{
- // members
- private static array $allowed_children = ;
- private static string $default_child = "ScoutGroup";
- private static $icon = NULL;
- private static string $description = 'A holder for Scout Groups';
- private static array $db = ;
- private static array $has_one = ;
- // methods
- public bool canAddChildren()
- public bool canCreate()
- public bool canEdit()
- public bool canDelete()
- public bool canPublish()
- public bool|null canDeleteFromLive()
- protected bool checkCanManage()
- public void requireDefaultRecords()
Hierarchy
Extends
- Page
Implements
- PermissionProvider
Members
private
- $allowed_children
- $db
- $default_child
- $description
- $has_one
- $icon
Methods
protected
- checkCanManage() — Function to check if a member has the ability to perform the appropriate can* action as well as manage groups