hi,

i was wondering if there is any best practise known how one should access the attributes of an object from the object itself. i mean, it is a good practise to write getters and setters for the attributes of an object to its interface. but is it common to modify the attributes from the object itself directly or also through the interface methods? i use the interface methods in my own classes at most times but recently i dived into zend framework and there it seems not to be usual. as zend framework is more or less a showpiece-software in php programming i'm not sure if my practises are good. are there any discussions by really focused php programmers about that?


Simon

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to