[PHP-DEV] Question about Classes

2002-10-30 Thread Juerg Zgraggen
hi i made a class in PHP. id like to define public and private function for that class like in C++. is this possible? the public and private inside the class does not work... why? thanx, jürg zgraggen /* My Class*/ class bz_ClassX { var $nNumber; var $strDescription; var $strModul; // p

[PHP-DEV] question about classes

2001-02-12 Thread David Guerizec
Hi, I implemented my own classes in an extension, but when I instanciate them, they don't have any properties. I called the macro INIT_OVERLOADED_CLASS_ENTRY (well, an equivalent that uses strlen() instead of sizeof()) cause I want to have write control over some properties: MGD_I