Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if( !defined( '_PS_VERSION_' ) )
- exit;
- class Chrw extends Module{
- public function __construct(){
- $this->name = 'chrw';
- $this->tab = 'front_office_features';
- $this->version = '1.0.0';
- $this->author = 'Nome Cognome';
- $this->need_instance = 1;
- $this->ps_versions_compliancy = array( 'min' => '1.6' );
- $this->bootstrap = true;
- parent::__construct();
- $this->displayName = $this->l( 'CHRW Module' );
- $this->description = $this->l( 'Modulo di prova' );
- if( !Configuration::get( 'CHRW') )
- $this->warning = $this->l( 'No name provid' );
- }//__construct
- public function install() {
- return ( parent::install()
- AND $this->registerHook('displayFooter')
- );
- }//install
- public function hookDisplayFooter( $params ) {
- var_dump( 'debug' );
- }//hookDisplayFooter
- }//Chrw
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement