You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
706 B
29 lines
706 B
<?php
|
|
/* For licensing terms, see /license.txt */
|
|
/**
|
|
* This file contains all Hook interfaces and their relation.
|
|
* They are used for Hook classes.
|
|
*
|
|
* @package chamilo.library.hook
|
|
*/
|
|
|
|
/**
|
|
* Interface HookPluginInterface
|
|
* This interface should be implemented by plugins to implements Hook Observer.
|
|
*/
|
|
interface HookPluginInterface
|
|
{
|
|
/**
|
|
* This method will call the Hook management insertHook to add Hook observer from this plugin.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function installHook();
|
|
|
|
/**
|
|
* This method will call the Hook management deleteHook to disable Hook observer from this plugin.
|
|
*
|
|
* @return int
|
|
*/
|
|
public function uninstallHook();
|
|
}
|
|
|