PHP code example of jeffersonbehling / materialize-theme-cakephp
1. Go to this page and download the library: Download jeffersonbehling/materialize-theme-cakephp 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/ */
jeffersonbehling / materialize-theme-cakephp example snippets
public function beforeRender(Event $event)
{
parent::beforeRender($event);
$this->viewBuilder()->setHelpers(['Materialize.Form']);
$this->viewBuilder()->layout('Materialize.materialize');
}