PHP code example of nattreid / modal
1. Go to this page and download the library: Download nattreid/modal 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/ */
nattreid / modal example snippets
class MyModal extends NAttreid\Modal\Modal {
public function render() {
$template = $this->template;
$template->setFile(__DIR__ . '/default.latte');
parent::render();
}
}