X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FQuickForm%2FAction%2FDisplay.php;h=3d1fb007827468c64c642da410b711e88733625d;hb=HEAD;hp=54a127d1b8337d127bb4f494bf0199ba9352788a;hpb=d60f50a83c989d89d950d54ad2d91411466cf0dc;p=civicrm-core.git diff --git a/CRM/Core/QuickForm/Action/Display.php b/CRM/Core/QuickForm/Action/Display.php index 54a127d1b8..3d1fb00782 100644 --- a/CRM/Core/QuickForm/Action/Display.php +++ b/CRM/Core/QuickForm/Action/Display.php @@ -1,9 +1,9 @@ getAttribute('id'); @@ -103,13 +100,10 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action { } /** - * Render the page using a custom templating system + * Render the page using a custom templating system. * * @param CRM_Core_Form $page * The CRM_Core_Form page. - * - * - * @return void */ public function renderForm(&$page) { $this->_setRenderTemplates($page); @@ -188,12 +182,10 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action { } /** - * Set the various rendering templates + * Set the various rendering templates. * * @param CRM_Core_Form $page * The CRM_Core_Form page. - * - * @return void */ public function _setRenderTemplates(&$page) { if (self::$_requiredTemplate === NULL) { @@ -207,9 +199,7 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action { } /** - * Initialize the various templates - * - * @return void + * Initialize the various templates. */ public function initializeTemplates() { if (self::$_requiredTemplate !== NULL) { @@ -226,4 +216,5 @@ class CRM_Core_QuickForm_Action_Display extends CRM_Core_QuickForm_Action { self::$_requiredTemplate = file_get_contents($templateDir . '/CRM/Form/label.tpl'); self::$_errorTemplate = file_get_contents($templateDir . '/CRM/Form/error.tpl'); } + }