|
static | getAuthorsFileName ( $dir) |
| Obtains the full path of a AUTHORS or CREDITS file if one exists.
|
|
static | getLicenseFileNames (string $extDir) |
| Obtains the full paths of COPYING or LICENSE files if they exist.
|
|
- Since
- 1.35
Definition at line 8 of file ExtensionInfo.php.
◆ getAuthorsFileName()
static MediaWiki\ExtensionInfo::getAuthorsFileName |
( |
| $dir | ) |
|
|
static |
Obtains the full path of a AUTHORS or CREDITS file if one exists.
- Parameters
-
string | $dir | Path to the root directory |
- Since
- 1.35
- Returns
- string|false False if no such file exists, otherwise returns a path to it.
Definition at line 20 of file ExtensionInfo.php.
References $file.
◆ getLicenseFileNames()
static MediaWiki\ExtensionInfo::getLicenseFileNames |
( |
string | $extDir | ) |
|
|
static |
Obtains the full paths of COPYING or LICENSE files if they exist.
- Since
- 1.35
- Parameters
-
string | $extDir | Path to the extensions root directory |
- Returns
- string[] Returns an array of zero or more paths.
Definition at line 45 of file ExtensionInfo.php.
The documentation for this class was generated from the following file: