aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/avatar/driver/driver_interface.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-01-06 13:26:19 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:26:19 +0100
commit11b79fec4d3e48d2446d1c73ed2f8c2b20c1ab5c (patch)
treee82645733df4686861c8a9367c3baa79df085c8e /phpBB/phpbb/avatar/driver/driver_interface.php
parentb340e45907dc4defdbe5dcf2d75f94a6655c180d (diff)
parentb3d64b3b59234e545a75a6a7bbdda2b77cb5be84 (diff)
downloadforums-11b79fec4d3e48d2446d1c73ed2f8c2b20c1ab5c.tar
forums-11b79fec4d3e48d2446d1c73ed2f8c2b20c1ab5c.tar.gz
forums-11b79fec4d3e48d2446d1c73ed2f8c2b20c1ab5c.tar.bz2
forums-11b79fec4d3e48d2446d1c73ed2f8c2b20c1ab5c.tar.xz
forums-11b79fec4d3e48d2446d1c73ed2f8c2b20c1ab5c.zip
Merge pull request #4105 from marc1706/ticket/14387
[ticket/14387] Allow extending avatars by extensions in ACP
Diffstat (limited to 'phpBB/phpbb/avatar/driver/driver_interface.php')
-rw-r--r--phpBB/phpbb/avatar/driver/driver_interface.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/phpBB/phpbb/avatar/driver/driver_interface.php b/phpBB/phpbb/avatar/driver/driver_interface.php
index 835609745a..7d6c2cff8a 100644
--- a/phpBB/phpbb/avatar/driver/driver_interface.php
+++ b/phpBB/phpbb/avatar/driver/driver_interface.php
@@ -26,6 +26,13 @@ interface driver_interface
public function get_name();
/**
+ * Returns the config name of the driver. To be used in accessing the CONFIG variables.
+ *
+ * @return string Config name of driver.
+ */
+ public function get_config_name();
+
+ /**
* Get the avatar url and dimensions
*
* @param array $row User data or group data that has been cleaned with
@@ -110,4 +117,11 @@ interface driver_interface
* @return string Avatar driver's template name
*/
public function get_template_name();
+
+ /**
+ * Get the avatar driver's template name (ACP)
+ *
+ * @return string Avatar driver's template name
+ */
+ public function get_acp_template_name();
}