mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[feature/extension-manager] Add more info on suffixes in extension finder
PHPBB3-10323
This commit is contained in:
parent
acc42bb2e9
commit
10fa711f00
1 changed files with 9 additions and 1 deletions
|
@ -87,7 +87,11 @@ class phpbb_extension_finder
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets a suffix all files found in extensions must match
|
* Sets a suffix all files found in extensions must match.
|
||||||
|
*
|
||||||
|
* There is no default file extension, so to find PHP files only, you will
|
||||||
|
* have to specify .php as a suffix. However when using get_classes, the .php
|
||||||
|
* file extension is automatically added to suffixes.
|
||||||
*
|
*
|
||||||
* Automatically sets the default_suffix if its value does not differ from
|
* Automatically sets the default_suffix if its value does not differ from
|
||||||
* the current suffix.
|
* the current suffix.
|
||||||
|
@ -109,6 +113,10 @@ class phpbb_extension_finder
|
||||||
/**
|
/**
|
||||||
* Sets a suffix all files found in the default path must match
|
* Sets a suffix all files found in the default path must match
|
||||||
*
|
*
|
||||||
|
* There is no default file extension, so to find PHP files only, you will
|
||||||
|
* have to specify .php as a suffix. However when using get_classes, the .php
|
||||||
|
* file extension is automatically added to suffixes.
|
||||||
|
*
|
||||||
* @param string $default_suffix A filename suffix
|
* @param string $default_suffix A filename suffix
|
||||||
* @return phpbb_extension_finder This object for chaining calls
|
* @return phpbb_extension_finder This object for chaining calls
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue