Documentation

EventCategory extends BaseComponent
in package

Event Category Model

Table of Contents

Properties

$calendar_url  : string|null
$description  : string|null
$id  : int
$include_brief_description  : bool|null
$include_long_description  : bool|null
$public_  : bool|null
$roles  : array<string|int, int>|null
$fields  : array<string|int, string>

Properties

$calendar_url

public string|null $calendar_url

The URL of the ICS feed used to populate the event category

$description

public string|null $description

The name of the event category

$include_brief_description

public bool|null $include_brief_description

If set to True, brief description is included in events in the category

$include_long_description

public bool|null $include_long_description

If set to True, long description is included in events in the category

$public_

public bool|null $public_

If set to True, the event category is public. If set to False, it is secure and only users with the allowed list of roles can see the events in the category

$roles

public array<string|int, int>|null $roles

List of Role IDs that are allowed to see a secure event category

$fields

protected static array<string|int, string> $fields = ["id" => "int", "description" => "string", "calendar_url" => "string", "include_brief_description" => "bool", "include_long_description" => "bool", "public" => "bool", "roles" => "int[]"]

        
On this page

Search results