mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-20 07:42:09 +02:00
[ticket/12115] Add methods to interface
PHPBB3-12115
This commit is contained in:
parent
f97d268a79
commit
8dab016a7b
@ -32,6 +32,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
|
||||
*
|
||||
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user