Confetti Bits

cb-events-template.php

Table of Contents

Functions

cb_events_get_calendar_header()  : string
Gets markup for the calendar header.
cb_events_get_calendar_view()  : string
Outputs a calendar view of events.
cb_events_calendar_view()  : mixed
Outputs the markup for the calendar view.
cb_events_get_list_view()  : mixed
Gets the markup for the events list view.
cb_events_list_view()  : mixed
Outputs the markup for the events list view.
cb_events_rewrite_rules()  : mixed
Adds rewrite rules to the events component so we don't get a false 404 when we update plugins.
cb_events_add_query_vars()  : mixed
cb_events_template_include()  : mixed
cb_events_get_form_module()  : string
Returns markup for a create or update form, determined by the given string.
cb_events_get_new_event_module()  : mixed
Gets the markup for the new events form module.
cb_events_new_event_module()  : mixed
Outputs the markup for the new events module.
cb_events_get_edit_event_module()  : mixed
Returns markup for the edit_event form module.
cb_events_edit_event_module()  : mixed
Outputs markup for the edit_events module.
cb_events_admin_table_module()  : mixed
Adds a table for spot bonuses to the transactions tab.

Functions

cb_events_get_calendar_header()

Gets markup for the calendar header.

cb_events_get_calendar_header([string $class_prefix = '' ]) : string
Parameters
$class_prefix : string = ''

The prefix to add to the calendar header.

Tags
since
3.0.0
Return values
string

The formatted header markup.

cb_events_get_calendar_view()

Outputs a calendar view of events.

cb_events_get_calendar_view() : string
Tags
since
3.0.0
Return values
string

The formatted markup.

cb_events_calendar_view()

Outputs the markup for the calendar view.

cb_events_calendar_view() : mixed
Tags
subpackage

Templates

since
3.0.0

cb_events_get_list_view()

Gets the markup for the events list view.

cb_events_get_list_view([bool $is_admin = false ]) : mixed
Parameters
$is_admin : bool = false

Whether the table is for an admin.

Tags
subpackage

Templates

since
3.0.0

cb_events_list_view()

Outputs the markup for the events list view.

cb_events_list_view([bool $is_admin = false ]) : mixed
Parameters
$is_admin : bool = false

Whether the table is for an admin.

Tags
subpackage

Templates

since
3.0.0

cb_events_rewrite_rules()

Adds rewrite rules to the events component so we don't get a false 404 when we update plugins.

cb_events_rewrite_rules() : mixed
Tags
since
3.0.0

cb_events_add_query_vars()

cb_events_add_query_vars(mixed $query_vars) : mixed
Parameters
$query_vars : mixed

cb_events_template_include()

cb_events_template_include(mixed $template) : mixed
Parameters
$template : mixed

cb_events_get_form_module()

Returns markup for a create or update form, determined by the given string.

cb_events_get_form_module([bool $is_edit_form = false ]) : string
Parameters
$is_edit_form : bool = false

Whether the form is for editing event data.

Tags
since
3.0.0
Return values
string

The form markup.

cb_events_get_new_event_module()

Gets the markup for the new events form module.

cb_events_get_new_event_module() : mixed
Tags
since
3.0.0

cb_events_new_event_module()

Outputs the markup for the new events module.

cb_events_new_event_module() : mixed
Tags
since
3.0.0

cb_events_get_edit_event_module()

Returns markup for the edit_event form module.

cb_events_get_edit_event_module() : mixed
Tags
since
3.0.0

cb_events_edit_event_module()

Outputs markup for the edit_events module.

cb_events_edit_event_module() : mixed
Tags
since
3.0.0

cb_events_admin_table_module()

Adds a table for spot bonuses to the transactions tab.

cb_events_admin_table_module() : mixed
Tags
subpackage

Templates

since
3.0.0

        
On this page

Search results