Fork me on GitHub

The CodeIgniter plugin

This example shows the usage of the Jaxon plugin for the CodeIgniter framework.

The configuration file, the classes and the views are found here.

How it works

Install and configure the Jaxon plugin for CodeIgniter, as described in the plugin documentation.

In the application controller, insert the code generated by Jaxon in the page.

class Demo extends Jaxon_Controller
    public function index()
        // Load the Jaxon library

        // Register the Jaxon classes
        $this->load->view('index', array(
            'JaxonCss' => $this->jaxon->css(),
            'JaxonJs' => $this->jaxon->js(),
            'JaxonScript' => $this->jaxon->script()