[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
This commit is contained in:
javiexin 2016-12-05 01:07:43 +01:00
parent 533d2b90b8
commit 47e418e50e

View file

@ -133,6 +133,14 @@ interface type_interface
*/ */
public function get_field_ident($field_data); 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 * Get the column type for the database
* *