On Wed, Dec 22, 2010 at 6:35 AM, Alexandru Patranescu wrote:
> Is this the only way to access the magic __set from the parent class:
>
>parent::__set($columnName, $value);
>
Other than referencing the parent class by name which is worse, yes.
> I would have liked to work this way:
>
>pa
Hello,
$this only calls variables inside of a method. In your function, you are
calling a variable that was defined inside of your function called
$columnName. You should past the whole class. Not just the methods.
"The pseudo-variable $this is available when a method is called from within
an obj
2 matches
Mail list logo