From 69847402e13a5415480a76bf8026c4d34a090256 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sun, 28 Apr 2013 18:22:46 -0700 Subject: [PATCH] Fn comment --- CRM/Core/Resources.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Core/Resources.php b/CRM/Core/Resources.php index 8fa14b22cf..7e3d620ade 100644 --- a/CRM/Core/Resources.php +++ b/CRM/Core/Resources.php @@ -222,7 +222,7 @@ class CRM_Core_Resources { } /** - * Add JavaScript variables to the global CRM object. + * Add JavaScript variables to the global CRM object via a callback function. * * @param $callable function * @return CRM_Core_Resources @@ -234,6 +234,9 @@ class CRM_Core_Resources { return $this; } + /** + * Helper fn for addSettingsFactory + */ public function getSettings() { $result = $this->settings; foreach ($this->settingsFactories as $callable) { -- 2.25.1