diff options
Diffstat (limited to 'classes/plugin.php')
-rw-r--r-- | classes/plugin.php | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/classes/plugin.php b/classes/plugin.php index 39af6a9a1..d941a1616 100644 --- a/classes/plugin.php +++ b/classes/plugin.php @@ -50,6 +50,11 @@ abstract class Plugin { } /** @return string */ + function get_login_js() { + return ""; + } + + /** @return string */ function get_css() { return ""; } @@ -477,7 +482,7 @@ abstract class Plugin { /** Invoked for every enclosure entry as article is being rendered * @param array<string,string> $entry - * @param int $id + * @param int $id article id * @param array{'formatted': string, 'entries': array<int, array<string, mixed>>} $rv * @return array<string,string> ($entry) * @see PluginHost::HOOK_ENCLOSURE_ENTRY @@ -690,6 +695,15 @@ abstract class Plugin { * @return array<mixed> - [0] - if set, url to redirect to */ function hook_post_logout($login, $user_id) { + user_error("Dummy method invoked.", E_USER_ERROR); + return [""]; } + + /** Adds buttons to the right of default Login button + * @return void + */ + function hook_loginform_additional_buttons() { + user_error("Dummy method invoked.", E_USER_ERROR); + } } |