=================== Class ABG_List documemtation ====================
PURPOSE
Manage simply linked lists
- Create the list from an array
- Get, Set, Insert & Delete elements into the list
METHODS
object function __construct(array List)
o Create ABG_List object
o Set internals variables
mixed function ListGetData(int No)
o Get list element at rank No
void function ListSetData(int No, mixed Data)
o Set list element at rank No to Data value
void function ListDelete(int No)
o Remove element at rank No from the list
void function ListInsertAfter(int No, mixed Data)
o Insert element with Data value at rank No
void function ListInsertFirst(mixed Data)
o Insert element with Data value at begining of the list
void function ListTestPrint(string Header)
o Printing (testing & debugging purposes)
PACKAGE COMPOSITION
ABG_Liste.cls.php : List class
Liste.tst.php : Test script
|