note 16810 added to keyword.extends
| From: | php-general at lists dot php dot net | Date: | Wed, 14 Nov 2001 16:52:08 +0000 |
| Subject: | note 16810 added to keyword.extends | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-20835@lists.php.net to get a copy of this message | ||
class extending - method overriding - php4 / mysql : correction 2
> scary field shadowing up there
<?
...
class Contact
{
var $contact_id, ...;
function Contact( $id )
{
$this->contact_id = $id;
...
}
...
}
?>
--
http://www.php.net/manual/en/keyword.extends.php
http://master.php.net/manage/user-notes.php?action=edit+16810
http://master.php.net/manage/user-notes.php?action=delete+16810
http://master.php.net/manage/user-notes.php?action=reject+16810