doxygen can use @code !
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 2 Mar 2011 20:28:32 +0000 (20:28 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 2 Mar 2011 20:28:32 +0000 (20:28 +0000)
includes/resourceloader/ResourceLoaderFileModule.php

index a536a8b..4f18380 100644 (file)
@@ -102,8 +102,9 @@ class ResourceLoaderFileModule extends ResourceLoaderModule {
         *     to $IP
         * @param $remoteBasePath String: Base path to prepend to all remote paths in $options. Defaults
         *     to $wgScriptPath
-        * 
-        * @example $options
+        *
+        * Below is a description for the $options array: 
+        * @code
         *      array(
         *              // Base path to prepend to all local paths in $options. Defaults to $IP
         *              'localBasePath' => [base path],
@@ -138,6 +139,7 @@ class ResourceLoaderFileModule extends ResourceLoaderModule {
         *              // Group which this module should be loaded together with
         *              'group' => [group name string],
         *      )
+        * @endcode
         */
        public function __construct( $options = array(), $localBasePath = null, 
                $remoteBasePath = null )