Re: [phplib-users] $class->classname
Brought to you by:
nhruby,
richardarcher
From: Marko K. <mk...@mc...> - 2008-04-15 09:24:20
|
Hi Lindsay, > What's the purpose and function of PHPlib's classname property which > occurs throughout local4.inc where classes are extended with > user-supplied names? PHP4 and PHP5 provide the get_class() and > get_parent_class() functions which return the names of classes. Would > it not be possible to drop the classname property altogether and rely on > these functions if class name information is needed? The PHPlib I guess that should be fine! > I'm trying to iron out and understand the dependencies and relationships > between session names (PHP's session_name() func), cookie names, the > $name property of session objects and the $classname property. These > are rather tangled up in the PHPlib code, and if anyone can give me some > insight on how they relate and what they're used for I'd appreciate it. > It looks a bit like a case of legacy code getting overlaid but not > replaced by newer data structures. Sorry, can't say anything helpful on this. Regards, Marko |