[ Index ]

PHP Cross Reference of phpBB-3.3.0-deutsch

title

Body

[close]

/phpbb/extension/ -> extension_interface.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 71 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

extension_interface:: (4 methods):
  is_enableable()
  enable_step()
  disable_step()
  purge_step()


Interface: extension_interface  - X-Ref

The interface extension meta classes have to implement to run custom code
on enable/disable/purge.

is_enableable()   X-Ref
Indicate whether or not the extension can be enabled.

return: bool|array    True if extension is enableable, array of reasons

enable_step($old_state)   X-Ref
enable_step is executed on enabling an extension until it returns false.

Calls to this function can be made in subsequent requests, when the
function is invoked through a webserver with a too low max_execution_time.

return: mixed                Returns false after last step, otherwise
param: mixed    $old_state    The return value of the previous call

disable_step($old_state)   X-Ref
Disables the extension.

Calls to this function can be made in subsequent requests, when the
function is invoked through a webserver with a too low max_execution_time.

return: mixed                Returns false after last step, otherwise
param: mixed    $old_state    The return value of the previous call

purge_step($old_state)   X-Ref
purge_step is executed on purging an extension until it returns false.

Calls to this function can be made in subsequent requests, when the
function is invoked through a webserver with a too low max_execution_time.

return: mixed                Returns false after last step, otherwise
param: mixed    $old_state    The return value of the previous call



Generated: Tue Apr 7 19:44:41 2020 Cross-referenced by PHPXref 0.7.1