Rename H5PFramework to H5PFrameworkInterface (Adopting drupals naming convention for interfaces)

namespaces
Svein-Tore Griff With 2013-02-17 15:39:26 +01:00
parent a5cb1db6d4
commit c656710889
1 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
/** /**
* Interface defining functions the h5p library needs the framework to implement * Interface defining functions the h5p library needs the framework to implement
*/ */
interface H5PFramework { // TODO: I suspect this is a "skeleton" or more commonly known as a interface for classes to implement, not a framework as the name might suggest. interface H5PFrameworkInterface {
/** /**
* Show the user an error message * Show the user an error message
* *
@ -243,7 +243,7 @@ class H5PValidator {
* Constructor for the H5PValidator * Constructor for the H5PValidator
* *
* @param object $H5PFramework * @param object $H5PFramework
* The frameworks implementation of the H5PFramework interface * The frameworks implementation of the H5PFrameworkInterface
*/ */
public function __construct($H5PFramework, $H5PCore) { public function __construct($H5PFramework, $H5PCore) {
$this->h5pF = $H5PFramework; $this->h5pF = $H5PFramework;
@ -648,7 +648,7 @@ class H5PStorage {
* Constructor for the H5PStorage * Constructor for the H5PStorage
* *
* @param object $H5PFramework * @param object $H5PFramework
* The frameworks implementation of the H5PFramework interface * The frameworks implementation of the H5PFrameworkInterface
*/ */
public function __construct($H5PFramework, $H5PCore) { public function __construct($H5PFramework, $H5PCore) {
$this->h5pF = $H5PFramework; $this->h5pF = $H5PFramework;
@ -743,7 +743,7 @@ class H5PCore {
* Constructor for the H5PCore * Constructor for the H5PCore
* *
* @param object $H5PFramework * @param object $H5PFramework
* The frameworks implementation of the H5PFramework interface * The frameworks implementation of the H5PFrameworkInterface
*/ */
public function __construct($H5PFramework) { public function __construct($H5PFramework) {
$this->h5pF = $H5PFramework; $this->h5pF = $H5PFramework;