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.
31 lines
665 B
31 lines
665 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 HookObserverInterface
|
|
{
|
|
/**
|
|
* Return the singleton instance of Hook observer.
|
|
*
|
|
* @return static
|
|
*/
|
|
public static function create();
|
|
|
|
/**
|
|
* Return the path from the class, needed to store location or autoload later.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getPath();
|
|
|
|
/**
|
|
* Return the plugin name where is the Hook Observer.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getPluginName();
|
|
}
|
|
|