1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/11626] Create get_acp_template method for auth providers

PHPBB3-11626
This commit is contained in:
Joseph Warner
2013-07-05 13:31:05 -04:00
parent 9c0495664d
commit b0e6b1dd98
4 changed files with 41 additions and 1 deletions

View File

@@ -71,6 +71,19 @@ interface phpbb_auth_provider_interface
*/
public function acp($new);
/**
* This function updates the template with variables related to the acp
* options with whatever configuraton values are passed to it as an array.
* It then returns the name of the acp file related to this authentication
* provider.
* @param array $new_config Contains the new configuration values that
* have been set in acp_board.
* @return string|null Returns null if not implemented or a string
* containing the name of the acp tempalte file for
* the authentication provider.
*/
public function get_acp_template($new_config);
/**
* Performs additional actions during logout.
*