\LibrarianPage
- Author: Hudhaifa Shatnawi <hudhaifa.shatnawi@gmail.com>
Synopsis
class LibrarianPage
extends Page
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $has_many = ;
- private static array $defaults = ;
- private static string $icon = "librarian/images/librarian.png";
- private static string $url_segment = 'librarian';
- private static string $menu_title = 'librarian';
- private static array $allowed_children = ;
- private static string $description = 'Adds a librarian to your website.';
- // methods
- public void canCreate()
- protected void onBeforeWrite()
- protected Group getUserGroup()
Hierarchy
Extends
- Page
Members
private
- $allowed_children
- $db
- $defaults
- $description
- $has_many
- $has_one
- $icon
- $url_segment
Methods
protected
- getUserGroup() — Returns/Creates the librarians group to assign CMS access.
- onBeforeWrite()