PHP code example of contaoblackforest / contao-easy-extend
1. Go to this page and download the library: Download contaoblackforest/contao-easy-extend library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
contaoblackforest / contao-easy-extend example snippets
$GLOBALS['TL_EXTEND']['ExtendModule'][] = array(
'namespace' => 'YourNamespace',
'path' => 'system/modules/your-module/module/ExtendModule.php'
);
namespace YourNamespaceYourModuleBridge
class ExtendModule extends \LastExtend\ExtendModule
{
}
namespace YourNamespaceYourModule
class ExtendModule extends \YourNamespaceYourModuleBridge\ExtendModule
{
}