From: Benjamin Lorteau Date: Fri, 21 Sep 2018 13:54:40 +0000 (-0400) Subject: Add Doxygen headers for multiple function in App X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=489d5f41d26f6cecdfcb2b9fbffedd715351b07b;p=friendica.git Add Doxygen headers for multiple function in App --- diff --git a/src/App.php b/src/App.php index 3f67dbada9..c00f898f34 100644 --- a/src/App.php +++ b/src/App.php @@ -99,6 +99,15 @@ class App public $stylesheets = []; public $footerScripts = []; + /** + * Register a stylesheet file path to be included in the tag of every page. + * Inclusion is done in App->initHead(). + * The path can be absolute or relative to the Friendica installation base folder. + * + * @see App->initHead() + * + * @param string $path + */ public function registerStylesheet($path) { $url = str_replace($this->get_basepath() . DIRECTORY_SEPARATOR, '', $path); @@ -106,6 +115,15 @@ class App $this->stylesheets[] = trim($url, '/'); } + /** + * Register a javascript file path to be included in the