loadHelper('Html');` * * @return void */ public function initialize() { parent::initialize(); // (EP 20200420 : mon 1er Helper !!) $this->loadHelper('MyHelper'); // Added for bootstrap-ui (EP 28/1/20) : // with TRAIT // Render the initializeUI method from the UIViewTrait // When no layout for the view is defined the BootstrapUI\View\UIViewTrait will load its own default.ctp layout file //$this->initializeUI(); // You can override this behavior by disabling auto loading of the layout : $this->initializeUI(['layout' => false]); // charge tous les Helpers (surchargés) /* // without TRAIT //Don't forget to call the parent::initialize() parent::initialize(); */ } }