[nycphp-talk] Object Methods and Properties
Joe Crawford
jcrawford at codebowl.com
Tue Jul 27 16:07:12 EDT 2004
Hello,
can anyone tell me why this code will not work>
function setPart($part, $val, $append) {
if(($part) && ($val)) {
if($append) $this->_$part .= $val;
else $this->_$part = $val;
}
}
i am also wanting to check that $part is a valid class property yet i am
not sure how ;(
Joe Crawford Jr.
More information about the talk
mailing list
Automatic Email Organization without missing anything!