aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/avatar/driver/driver.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/avatar/driver/driver.php')
-rw-r--r--phpBB/includes/avatar/driver/driver.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/phpBB/includes/avatar/driver/driver.php b/phpBB/includes/avatar/driver/driver.php
index d0f77d2094..cce0a8db0f 100644
--- a/phpBB/includes/avatar/driver/driver.php
+++ b/phpBB/includes/avatar/driver/driver.php
@@ -21,6 +21,28 @@ if (!defined('IN_PHPBB'))
*/
abstract class phpbb_avatar_driver implements phpbb_avatar_driver_interface
{
+ private $name;
+
+ /**
+ * Returns the name of the driver.
+ *
+ * @return string Name of wrapped driver.
+ */
+ public function get_name()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Sets the name of the driver.
+ *
+ * @param string $name The driver name
+ */
+ public function set_name($name)
+ {
+ $this->name = $name;
+ }
+
/**
* Current board configuration
* @type phpbb_config