Re: Re: ClassHints and NULL
| From: | Hans Lellelid | Date: | Fri, 18 Jun 2004 19:52:56 +0000 |
| Subject: | Re: Re: ClassHints and NULL | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-10608@lists.php.net to get a copy of this message | ||
Andrei Zmievski wrote:
Just about the same time that Apache Torque got ported to PHP5 ;) Hansabstract class BasePeer { // ... public static function doDelete(Criteria $criteria, Connection $con) { // ... } } class AuthorPeer extends BasePeer { public static function doDelete(Criteria $criteria, $con = null) {Wow. When did Java get $ for variables?if ($con === null) { $con = Transaction::begin(); } // ... parent::doDelete($criteria, $con);} }