Re: Re: ClassHints and NULL
| From: | Andrei Zmievski | Date: | Fri, 18 Jun 2004 19:43:29 +0000 |
| Subject: | Re: Re: ClassHints and NULL | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10606@lists.php.net to get a copy of this message | ||
On Fri, 18 Jun 2004, Hans Lellelid wrote:
> abstract class BasePeer {
>
> // ...
> public static function doDelete(Criteria $criteria, Connection $con) {
> // ...
> }
>
> }
>
> class AuthorPeer extends BasePeer {
>
> public static function doDelete(Criteria $criteria, $con = null) {
> if ($con === null) {
> $con = Transaction::begin();
> }
> // ...
> parent::doDelete($criteria, $con);
> }
> }
Wow. When did Java get $ for variables?
- Andrei