Hi Alex,
Alex wrote:
> How to access class members?
>
> I have the following class definition:
>
as Richard pointed out, you were not pointing at the class member's name but to
the visibility of the variable instead; to give you a start, this is how your
class should look like (but I would reall
On Tue, May 4, 2010 at 3:02 PM, Alexander Schunk wrote:
> Hello,
>
> i have a question:
>
> How to access class members?
>
> I have the following class definition:
>
> class Mitarbeiter{
>
> public $name = 'meier';
> public $alter = '50';
> public $gehalt = '2000';
>
On 4 May 2010 14:02, Alexander Schunk wrote:
> Hello,
>
> i have a question:
>
> How to access class members?
>
> I have the following class definition:
>
> class Mitarbeiter{
>
> public $name = 'meier';
> public $alter = '50';
> public $gehalt = '2000';
> p
Hello,
i have a question:
How to access class members?
I have the following class definition:
class Mitarbeiter{
public $name = 'meier';
public $alter = '50';
public $gehalt = '2000';
public $abteilung = 'programmierung';
function printMe