[ Index ]

PHP Cross Reference of phpBB-3.1.12-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: 70 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

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.

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

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.

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

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.

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



Generated: Thu Jan 11 00:25:41 2018 Cross-referenced by PHPXref 0.7.1