From 2c60bace9c91e6108f7a6bd63613ee261f39950c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Frank=20J=2E=20G=C3=B3mez?= Date: Wed, 12 Aug 2015 15:00:33 -0400 Subject: [PATCH] CRM-16995: Documentation improvements. --- Civi/Angular/Page/Main.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Civi/Angular/Page/Main.php b/Civi/Angular/Page/Main.php index c06d52f55f..09ccf0cab9 100644 --- a/Civi/Angular/Page/Main.php +++ b/Civi/Angular/Page/Main.php @@ -32,6 +32,13 @@ class Main extends \CRM_Core_Page { */ public $angular; + /** + * The region of the page into which JavaScript will be loaded. + * + * @var String + */ + public $region; + /** * @param string $title * Title of the page. @@ -110,8 +117,8 @@ class Main extends \CRM_Core_Page { } // If trying to load an Angular page via AJAX, the route must be passed as a - // URL parameter, since PHP doesn't know about URL fragments (i.e, what - // comes after the #). + // URL parameter, since the server doesn't receive information about + // URL fragments (i.e, what comes after the #). \CRM_Core_Resources::singleton()->addSetting(array( 'angularRoute' => \CRM_Utils_Request::retrieve('route', 'String'), )); -- 2.25.1