Skip to main content

GravityKit\GravityCalendar\Overview\Calendars_Overview_Feed

Source: includes/overview/class-calendars-overview-feed.php:14

Details

  • Kind: class
  • Namespace: GravityKit\GravityCalendar\Overview
  • Extends: Calendar_Feed

Methods

MethodDescription
feed_list_columns()Configures which columns should be displayed on the feed list page.
get_calendars_table()Gets Calendars Overview Table class.
empty_feeds_message_string()Generates empty feeds message string with dynamic URL.
get_column_value_calendar_name()Shows the Calendar Name value.
get_column_value_form_name()Shows the Form Name value.
get_column_value_calendar_id()Get the Calendar ID value.
get_column_value_preview_link()Formats the value to be displayed in the preview column.

Method Reference

feed_list_columns()

public function feed_list_columns(): array

Configures which columns should be displayed on the feed list page.

Returns

  • array

Since: 2.9.0

Source: includes/overview/class-calendars-overview-feed.php:22

get_calendars_table()

public function get_calendars_table( ?int $form_id=null ): Calendars_Overview_Table

Gets Calendars Overview Table class.

Parameters

NameTypeDefaultDescription
$form_id?intnullForm ID.

Returns

  • Calendars_Overview_Table

Since: 2.9.0

Source: includes/overview/class-calendars-overview-feed.php:45

empty_feeds_message_string()

public function empty_feeds_message_string(): string

Generates empty feeds message string with dynamic URL.

Returns

  • string

Since: 2.9.0

Source: includes/overview/class-calendars-overview-feed.php:64

get_column_value_calendar_name()

public function get_column_value_calendar_name( array $feed ): string

Shows the Calendar Name value.

Parameters

NameTypeDefaultDescription
$feedarrayThe feed being included in the feed list.

Returns

  • string

Since: 2.9.0

Source: includes/overview/class-calendars-overview-feed.php:115

get_column_value_form_name()

public function get_column_value_form_name( array $feed ): string

Shows the Form Name value.

Parameters

NameTypeDefaultDescription
$feedarrayThe feed being included in the feed list.

Returns

  • string

Since: 2.9.0

Source: includes/overview/class-calendars-overview-feed.php:143

get_column_value_calendar_id()

public function get_column_value_calendar_id( array $feed ): string

Get the Calendar ID value.

Parameters

NameTypeDefaultDescription
$feedarrayThe feed being included in the feed list.

Returns

  • string

Since: 2.9.0

Source: includes/overview/class-calendars-overview-feed.php:168

public function get_column_value_preview_link( array $feed ): string

Formats the value to be displayed in the preview column.

Parameters

NameTypeDefaultDescription
$feedarrayThe feed being included in the feed list.

Returns

  • string

Since: 2.9.0

Source: includes/overview/class-calendars-overview-feed.php:182