PHP Classes

File: ABG_List.doc.txt

Recommend this page to a friend!
  Classes of Gilbert BENABOU   ABG List   ABG_List.doc.txt   Download  
File: ABG_List.doc.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: ABG List
Manage linked lists of values
Author: By
Last change:
Date: 14 years ago
Size: 1,081 bytes


Class file image Download
=================== 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