PHP Classes

File: src/start.php

Recommend this page to a friend!
  Classes of Thierry Feuzeu   Modals, alerts and confirmation dialogs for Jaxon   src/start.php   Download  
File: src/start.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Modals, alerts and confirmation dialogs for Jaxon
Display Ajax modal, alert and confirmation dialogs
Author: By
Last change: Upgraded the js code to the 2.0 release of the js library.
Also moved the js and HTML code to separated template files.
Date: 6 years ago
Size: 231 bytes
 

Contents

Class file image Download
<?php
// Register the template dir into the template renderer
jaxon()->addViewNamespace('jaxon::dialogs', dirname(__DIR__) . '/templates');
// Register an instance of this plugin
jaxon_register_plugin(new \Jaxon\Dialogs\Dialog());