Re: problem with my class

From: Date: Thu, 16 Apr 2009 15:39:41 +0000
Subject: Re: problem with my class
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-291566@lists.php.net to get a copy of this message
Excuse my bad spelling. I should have read the message again before hitting send. :-) 2009/4/16 Jan G.B. <ro0ot.w00t@googlemail.com>: >> I think the problem was with the $title. As above, you defined the private >> variable $rtitle but you were trying to call the variable later as $title. >> > > > The problem was already solved. But I feel like mentioning, that the > Exeption is just "naming" the variables with their content... > the class reads the vars as $t, $p and $s and it dowsn't matter at all > if you call ist with new foo($BAR, $whatever, > $somethingveryverydifferent), as once in the class only the VALUES > count. and yey're being assigned to the function vars $p, $t, $s, > which are being set to PRIVATE vars $rtitle, $problem etc. > Conclusion: The variable handling has no errors! > > byebye

« previous php.general (#291566) next »