Recommended Links

Common For all pages

This section shows you how you can have editable content which is the same throughout the site ( NOTE: It is language specific ) .All the navs below are generated using snippets that are included with the framework, edit this content to see how it was generated

Sub Nav:

Main Nav:

Footer Nav:

Unique Per Page

Pdf

The 'PDF' class is a wrapper around the dompdf Library You can access the dompdf library directly by using $pdf->dompdf

See the API documentation at: http://www.digitaljunkies.ca/dompdf/

Example:

  //This is a function within a controller
  public function PDF()
  {
    require_once '/libs/standalone/standalone/PDF.php';
    $pdf = new PDF('test.pdf');
    $pdf->generateFromFile(Config::$siteURL.'temp/pdftest.php');
  }


Site Powered by Mac's PHP MVC Framework Framework of the future
Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.