Re: [PHP-DEV] Property setter and getter in PHP5

2003-07-21 Thread Andi Gutmans
I am with Sebastian on this one (as long as it stays in the signature and not the subject ;) Andi -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Property setter and getter in PHP5

2003-07-21 Thread Marcus Börger
Hello Peter, Monday, July 21, 2003, 12:23:35 PM, you wrote: PN> Hello, PN> "Marcus Börger" <[EMAIL PROTECTED]> >> AND PLEASE don't tell us about your book here. It's like saying you all PN> must >> buy my book. But most ppl here don't speak german :-) PN> Dann müssen Sie es eben lernen, Wir De

Re: [PHP-DEV] Property setter and getter in PHP5

2003-07-21 Thread Matthias Blaser
On Monday 21 July 2003 12:23, Peter Neuman wrote: > Then you must learn it evenly, we Germans must also English learn, and > who does not want that has pitch... ... and why didn't you learn it and translate your german text with altavista?? ;-) SCNR, Matthias -- PHP Internals - PHP Runtime De

Re: [PHP-DEV] Property setter and getter in PHP5

2003-07-21 Thread Peter Neuman
Hello, "Marcus Börger" <[EMAIL PROTECTED]> > AND PLEASE don't tell us about your book here. It's like saying you all must > buy my book. But most ppl here don't speak german :-) Dann müssen Sie es eben lernen, Wir Deutschen müssen auch Englisch lernen, und wer das nicht will hat pech... Then yo

Re: [PHP-DEV] Property setter and getter in PHP5

2003-07-21 Thread Marcus Börger
Hello Sebastian, Monday, July 21, 2003, 8:11:30 AM, you wrote: SB> Marcus Börger wrote: >> Have a look a __get and __set. SB> But those only work on undefined properties. Sure i know that and i didn't state different. SB> Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.

Re: [PHP-DEV] Property setter and getter in PHP5

2003-07-20 Thread Sebastian Bergmann
Marcus Börger wrote: Have a look a __get and __set. But those only work on undefined properties. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/ -- PHP Internals - PHP Runtim

Re: [PHP-DEV] Property setter and getter in PHP5

2003-07-20 Thread Marcus Börger
Hello Masoud, Sunday, July 20, 2003, 5:52:12 PM, you wrote: M> It's just a suggestion to have a syntax like this in PHP5! M> A property is similar to a field (a member variable), with the exception M> that there is a getter and a setter M> method, as follows : M> public class Car M> { M> pr

[PHP-DEV] Property setter and getter in PHP5

2003-07-20 Thread Masoud
It's just a suggestion to have a syntax like this in PHP5! A property is similar to a field (a member variable), with the exception that there is a getter and a setter method, as follows : public class Car { private string make; public string Make { get { return make; }