Hay, when should variables be set within a PHP class? <?php class MyClass { var $my_var;// here? like var $my_var = null;
I have a User Control that has one child - an Image. I\'m trying to set a default image using code in the User Control\'s default constructor to display an image resource, but so far with no success i
I need to have a class constructor in PHP call its parent\'s parent\'s (grandparent?) constructor without calling the parent constructor.
Consider a class of which copies need to be made.The vast majority of the data elements in the copy must strictly reflect the original, however there are select few elements whose state is not to be p
I\'m refactoring some code and found this (simplified of course, but general idea): class Variable: def __init__(self):