aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/extension
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-11-18 13:14:15 +0100
committerNils Adermann <naderman@naderman.de>2011-11-18 13:14:15 +0100
commitef33bd72d04cf778ced3432c026e982cd3571dab (patch)
tree0e7967f152ae36ee7982be8aee3626d09a05e108 /phpBB/includes/extension
parent7ee9a07179d880c788b6ccb0a136c9a957fd918c (diff)
downloadforums-ef33bd72d04cf778ced3432c026e982cd3571dab.tar
forums-ef33bd72d04cf778ced3432c026e982cd3571dab.tar.gz
forums-ef33bd72d04cf778ced3432c026e982cd3571dab.tar.bz2
forums-ef33bd72d04cf778ced3432c026e982cd3571dab.tar.xz
forums-ef33bd72d04cf778ced3432c026e982cd3571dab.zip
[feature/extension-manager] Clarify class finding method docblock
PHPBB3-10323
Diffstat (limited to 'phpBB/includes/extension')
-rw-r--r--phpBB/includes/extension/finder.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/extension/finder.php b/phpBB/includes/extension/finder.php
index d84d27b9c4..d6d3b176d3 100644
--- a/phpBB/includes/extension/finder.php
+++ b/phpBB/includes/extension/finder.php
@@ -196,10 +196,13 @@ class phpbb_extension_finder
}
/**
- * Finds auto loadable php classes matching the configured options.
+ * Finds classes matching the configured options if they follow phpBB naming rules.
*
* The php file extension is automatically added to suffixes.
*
+ * Note: If a file is matched but contains a class name not following the
+ * phpBB naming rules an incorrect class name will be returned.
+ *
* @param bool $cache Whether the result should be cached
* @return array An array of found class names
*/