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

INI

The 'INI' Class Provides capabilities to read/modify INI files

See the class at: http://scripts.ringsworld.com/polls-and-voting/poll4all11/includes/configmagik.php.html

Example:

  //This is a controller function
  function INI()
  {
    //Path to the INI class file
    require_once '/libs/standalone/INI.php';

    //Path to the INI file to load
    $pathToINIFile = 'temp/test.ini';

    //This creates an instance of the INI class and loads the INI file
    $iniHelper = new INI($pathToINIFile);
    
    //This will print an associative array of all the
    //key values in the INI file
    print_r($iniHelper);
  }


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