- Implemented the main module class with essential properties and methods. - Added translation support for various user interface strings. - Created XML configuration file for module versioning. - Ensured compatibility with different PHP versions and PrestaShop versions.
18 lines
339 B
PHP
18 lines
339 B
PHP
<?php
|
|
|
|
class FrontController extends FrontControllerCore
|
|
{
|
|
|
|
public function smartyOutputContent($content)
|
|
{
|
|
ob_start();
|
|
parent::smartyOutputContent($content);
|
|
$html = ob_get_contents();
|
|
ob_clean();
|
|
Hook::exec('actionOutputHTMLBefore', array('html' => &$html));
|
|
echo $html;
|
|
}
|
|
|
|
}
|
|
|