[phplib] object diagrams From: Dennis Gearon (gearond <email protected>)
Date: 09/14/00

I am making myself a list of all the objects, and all the global
functions in phplib-7.2c.

Each object diagram, using text chars only, will have all the properties
and all the methods labeled. It will also show what methods derive from
a parent, and which ones are overwritten by the child object. An example
is below (and attached because it will probably wrap in mail programs.
It comes out perfect on a page with size 8 fixed font, it might even do
so with size 9 fixed font.)

|*********************************************************|
|ObjectName:Auth |
|In FileName :auth.inc |
|Directory:~/phplib-7.2c/php/ |
|*********************************************************************************************************|
|Source of Method Or|(P) and name for Object Property |Return Type
if Method |Aruments if Method |
|Property (Self or |(M) and name for Object Method |Type if
Property |comments if Property |
|Parent's Name) |
| | |
|*******************|*************************************|***********************|***********************|
|Self |(P) $classname
|string | |
|Self |(P) $persistent_slots
|array | |
|Self |(P) $lifetime
|int | |
|Self |(P) $refresh
|int | |
|Self |(P) $mode
|string | |
| - - - - - | - - - - - - - - - | - - -
- - - | - - - - - - |
|Self |(P) $magic
|string | |
|Self |(P) $nobody
|bool("true"/"false") | |
|Self |(P) $cancel_login
|string | |
|Self |(P) $in
|bool("true"/"false") | |
|Self |(P) $db
|object(DB_Sql) | |
|===================|=====================================|=======================|=======================|
|Self |(M) start()
|bool("true"/"false") |void |
|Self |(M) login_if()
|void |void |
|Self |(M) unauth()
|void |void |
|Self |(M) logout()
|void |void |
|Self |(M) url()
|string |void |
| - - - - - | - - - - - - - - - | - - -
- - - | - - - - - - |
|Self |(M) purl()
|string |void |
|Self |(M) auth_preauth()
|bool("true"/"false") |void |
|Self |(M) auth_loginform()
|void |void |
|Self |(M) auth_validatelogin
|void |void |
|Self |(M) auth_refreshlogin()
|void |void |
| - - - - - | - - - - - - - - - | - - -
- - - | - - - - - - |
|Self |(M) auth_registerform()
|void |void |
|*******************|*************************************|***********************|***********************|

Is this something that anybody wants on the PHPLib site? Or maybe would
like to put up on their site and put
a link to it on the PHPLib site? I will be finishiing about 1-2 objects
a day, maybe more. I will be able to use the library much more
effectivley if I have a quick reference to the organization of all its
elements. If anyone else wants it, I'd be happy to supply it. Someday, I
might write a program that builds at least the names, but a great
project for my compiler class would be one that built the whole thing.
Probably difficult though.

-- 
________________________________________________________________
Dennis K. Gearon (Kegley)                           Loyal Member
Scientific Instrument Technician, School of ETM       of The 
Oregon Institute of Technology                       Order of
- One of USA's Best College Buys                       TUX
3201 Campus Drive                             ~
Klamath Falls, OR 97601                      'v'    standards
Voice   1-541-885-1563                      // \\   corrupters:
FAX     1-541-885-1689                     /(   )\   ^phear^
email   gearond <email protected>                     ^`~'^   the penguin 
________________________________________________________________
Happiness is when you want to go to your job in the morning and 
when you want to go home in the evening.
________________________________________________________________

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>