From fe8dc5ae171b7498f7b65374d974a0e224bf7ccb Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 5 Aug 2020 02:52:11 -0700 Subject: [PATCH] (NFC) CRM_Core_Region - Remove unused examples --- CRM/Core/Region.php | 44 -------------------------------------------- 1 file changed, 44 deletions(-) diff --git a/CRM/Core/Region.php b/CRM/Core/Region.php index 242387ca65..1c3996d940 100644 --- a/CRM/Core/Region.php +++ b/CRM/Core/Region.php @@ -254,48 +254,4 @@ class CRM_Core_Region { return 0; } - /** - * Add block of static HTML to a region. - * - * @param string $markup - * HTML. - * - * public function addMarkup($markup) { - * return $this->add(array( - * 'type' => 'markup', - * 'markup' => $markup, - * )); - * } - * - * /** - * Add a Smarty template file to a region. - * - * Note: File is not evaluated until the page is rendered - * - * @param string $template - * Path to the Smarty template file. - * - * public function addTemplate($template) { - * return $this->add(array( - * 'type' => 'template', - * 'template' => $template, - * )); - * } - * - * /** - * Use a callback function to extend a region. - * - * @param mixed $callback - * @param array $arguments - * Optional, array of parameters for callback; if omitted, the default arguments are ($snippetSpec, $html). - * - * public function addCallback($callback, $arguments = FALSE) { - * return $this->add(array( - * 'type' => 'callback', - * 'callback' => $callback, - * 'arguments' => $arguments, - * )); - * } - */ - } -- 2.25.1