diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-02-02 18:04:38 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-02-06 11:32:09 +0100 |
commit | 8dab016a7b652e2a0aafe03c085d9c51ab6f3ff2 (patch) | |
tree | ccf77ca36225565b7e85652d839b0edc2c83d397 | |
parent | f97d268a79502243c6bf259cde854519eea42391 (diff) | |
download | forums-8dab016a7b652e2a0aafe03c085d9c51ab6f3ff2.tar forums-8dab016a7b652e2a0aafe03c085d9c51ab6f3ff2.tar.gz forums-8dab016a7b652e2a0aafe03c085d9c51ab6f3ff2.tar.bz2 forums-8dab016a7b652e2a0aafe03c085d9c51ab6f3ff2.tar.xz forums-8dab016a7b652e2a0aafe03c085d9c51ab6f3ff2.zip |
[ticket/12115] Add methods to interface
PHPBB3-12115
-rw-r--r-- | phpBB/phpbb/profilefields/type/type_interface.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_interface.php b/phpBB/phpbb/profilefields/type/type_interface.php index 93020935e9..94f6882524 100644 --- a/phpBB/phpbb/profilefields/type/type_interface.php +++ b/phpBB/phpbb/profilefields/type/type_interface.php @@ -33,6 +33,13 @@ interface type_interface public function get_service_name(); /** + * Get the name of template file for this type + * + * @return string Returns the name of the template file + */ + public function get_template_filename(); + + /** * Get dropdown options for second step in ACP * * @param string $default_lang_id ID of the default language @@ -178,8 +185,9 @@ interface type_interface /** * Return templated value/field. Possible values for $mode are: * change == user is able to set/enter profile values; preview == just show the value - * @param string $mode - * @param array $profile_row + * + * @param string $mode Mode for displaying the field (preview|change) + * @param array $profile_row Array with data for this field * @return null */ public function process_field_row($mode, $profile_row); |