aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/profilefields
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2016-12-05 01:07:43 +0100
committerjaviexin <javiexin@gmail.com>2016-12-05 01:07:43 +0100
commit47e418e50e9d516e768bd675892c3c4f5dfa571e (patch)
treecfac9e8e6e79e9be9b405139d81cead812de7ea7 /phpBB/phpbb/profilefields
parent533d2b90b8bdb06a75d212c21809ac0ecf79e5b8 (diff)
downloadforums-47e418e50e9d516e768bd675892c3c4f5dfa571e.tar
forums-47e418e50e9d516e768bd675892c3c4f5dfa571e.tar.gz
forums-47e418e50e9d516e768bd675892c3c4f5dfa571e.tar.bz2
forums-47e418e50e9d516e768bd675892c3c4f5dfa571e.tar.xz
forums-47e418e50e9d516e768bd675892c3c4f5dfa571e.zip
[ticket/14889] Missing method in profile fields type interface
Completes the profile fields type interface by defining a missing required method for all implementations of a type. PHPBB3-14889
Diffstat (limited to 'phpBB/phpbb/profilefields')
-rw-r--r--phpBB/phpbb/profilefields/type/type_interface.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_interface.php b/phpBB/phpbb/profilefields/type/type_interface.php
index ec770f9467..93b9e4b893 100644
--- a/phpBB/phpbb/profilefields/type/type_interface.php
+++ b/phpBB/phpbb/profilefields/type/type_interface.php
@@ -134,6 +134,14 @@ interface type_interface
public function get_field_ident($field_data);
/**
+ * Get the localized name of the field
+ *
+ * @param string $field_name Unlocalized name of this field
+ * @return string Localized name of the field
+ */
+ public function get_field_name($field_name);
+
+ /**
* Get the column type for the database
*
* @return string Returns the database column type