Login   Register  
PHP Classes
elePHPant
Icontem

File: README

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andi TrÓnculescu  >  Navigation  >  README  >  Download  
File: README
Role: Documentation
Content type: text/plain
Description: README
Class: Navigation
Site navigation bar generation
Author: By
Last change: added how to use text
Date: 11 years ago
Size: 1,360 bytes
 

Contents

Class file image Download
---------------------------------------------------------------------
Site Navigation class
    - A PHP class which lets you build a dynamic site navigation bar
---------------------------------------------------------------------

HOW TO USE:
-----------

1. instantiate the class
2. register the object within the session
3. use the push() method to add a new page to the end of the navigation bar
4. use the html() method to generate the HTML code for displaying the navigation bar

Other methods:
* pop() removes the last page from the navigation bar
* setLevel() sets the depth of the navigation bar

PACKAGE CONTENTS:
-----------------

* navigation.php: class definition and implementation;
* config.php, index.php: example files;
* README: this file.


CONTACTING THE AUTHOR:
----------------------

Please send your suggestions, bug reports and general feedback to andi@lizard.ro.


LICENSE:
----------

This source file is released under LGPL license, available through the 
world wide web at, http://www.gnu.org/copyleft/lesser.html. This 
library is distributed WITHOUT ANY WARRANTY. Please see the LGPL for 
more details.


---------------------------------------------------------------------
Author: Andi Trinculescu <andi@lizard.ro>
---------------------------------------------------------------------