Before, extensions were missing the definition of mandatory methods. At the moment, it's not a problem because the coding guidelines are not enforced by the code. But in the future, it will break. Now, extensions have all mandatory method definitions.
19 lines
365 B
PHP
19 lines
365 B
PHP
<?php
|
|
|
|
class StickyFeedsExtension extends Minz_Extension {
|
|
public function install() {
|
|
return true;
|
|
}
|
|
|
|
public function uninstall() {
|
|
return true;
|
|
}
|
|
|
|
public function handleConfigureAction() {
|
|
}
|
|
|
|
public function init() {
|
|
Minz_View::appendStyle($this->getFileUrl('style.css', 'css'));
|
|
Minz_View::appendScript($this->getFileUrl('script.js', 'js'));
|
|
}
|
|
}
|