Function __global->edit_event_type

Definitions

sources/calendar2.php

  • Edit a calendar event type.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$id AUTO_LINK No No required parameter N/A N/A The ID of the event type
$title SHORT_TEXT No No required parameter N/A N/A The title of the event type
$logo ID_TEXT No No required parameter N/A N/A The theme image code
$external_feed URLPATH No No required parameter N/A N/A URL to external feed to associate with this event type

Preview

Code (PHP)

/**
 * Edit a calendar event type.
 *
 * @param  AUTO_LINK $id The ID of the event type
 * @param  SHORT_TEXT $title The title of the event type
 * @param  ID_TEXT $logo The theme image code
 * @param  URLPATH $external_feed URL to external feed to associate with this event type
 */

function edit_event_type(int $id, string $title, string $logo, string $external_feed)