Index: branches/MwEmbedStandAlone/includes/jsClassLoader.php |
— | — | @@ -180,7 +180,17 @@ |
181 | 181 | self::loadClassPaths(); |
182 | 182 | return self::$moduleList; |
183 | 183 | } |
| 184 | + |
184 | 185 | /** |
| 186 | + * Get the list of enabled components |
| 187 | + */ |
| 188 | + public static function getComponentsList(){ |
| 189 | + self::loadClassPaths(); |
| 190 | + return self::$coreComponentsList; |
| 191 | + } |
| 192 | + |
| 193 | + |
| 194 | + /** |
185 | 195 | * Build a list of components to be included with mwEmbed |
186 | 196 | */ |
187 | 197 | private static function preg_buildComponentList( $jsvar ){ |