MediaWiki
REL1_37
ResourceLoaderForeignApiModule.php
Go to the documentation of this file.
1
<?php
28
class
ResourceLoaderForeignApiModule
extends
ResourceLoaderFileModule
{
29
public
function
getDependencies
(
ResourceLoaderContext
$context =
null
) {
30
$dependencies
=
$this->dependencies
;
31
$this->
getHookRunner
()->onResourceLoaderForeignApiModules(
$dependencies
, $context );
32
return
$dependencies
;
33
}
34
}
ResourceLoaderContext
Context object that contains information about the state of a specific ResourceLoader web request.
Definition
ResourceLoaderContext.php:34
ResourceLoaderFileModule
Module based on local JavaScript/CSS files.
Definition
ResourceLoaderFileModule.php:40
ResourceLoaderFileModule\$dependencies
array $dependencies
List of modules this module depends on.
Definition
ResourceLoaderFileModule.php:132
ResourceLoaderForeignApiModule
Module for mediawiki.ForeignApi and mediawiki.ForeignRest that has dynamically generated dependencies...
Definition
ResourceLoaderForeignApiModule.php:28
ResourceLoaderForeignApiModule\getDependencies
getDependencies(ResourceLoaderContext $context=null)
Gets list of names of modules this module depends on.
Definition
ResourceLoaderForeignApiModule.php:29
ResourceLoaderModule\getHookRunner
getHookRunner()
Get a HookRunner for running core hooks.
Definition
ResourceLoaderModule.php:284
includes
resourceloader
ResourceLoaderForeignApiModule.php
Generated on Fri Apr 5 2024 23:40:45 for MediaWiki by
1.9.8