Objects in PHP

From: Date: Fri, 21 Jul 2000 18:40:37 +0000
Subject: Objects in PHP
Groups: php.general 
Request: Send a blank email to php-general+get-7613@lists.php.net to get a copy of this message
In standard programming languages, there are two choices to use previous code inside of a new object, with differing design implications; A/ Objects CONTAIN other objects B/ Objects INHERIT other objects. Are both used in PHP? other questions in PHP- 1/ How is an object instantiated inside another object definition? 2/ Is object inheritance 'flat' in php? i.e. object 'A' has function AF1, Object 'B' has function BF2 now, B extends A{} B object calls $this->AF1 with no scope resolution operator? '::' -- ________________________________________________________________ Dennis K. Gearon (Kegley) Scientific Instrument Technician, School of EIT Oregon Institute of Technology - One of USA's 100 Best College Buys 3201 Campus Drive Klamath Falls, OR 97601 Voice 1-541-885-1563 FAX 1-541-885-1689 email gearond@oit.edu ________________________________________________________________ Happiness is when you want to go to your job in the morning and when you want to go home in the evening. ________________________________________________________________

« previous php.general (#7613) next »