Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33968 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71657 invoked by uid 1010); 12 Dec 2007 12:39:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71642 invoked from network); 12 Dec 2007 12:39:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Dec 2007 12:39:58 -0000 X-Host-Fingerprint: 82.41.129.160 82-41-129-160.cable.ubr02.glen.blueyonder.co.uk Received: from [82.41.129.160] ([82.41.129.160:26765] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/2E-38526-E96DF574 for ; Wed, 12 Dec 2007 07:39:58 -0500 Message-ID: <32.2E.38526.E96DF574@pb1.pair.com> To: internals@lists.php.net Date: Wed, 12 Dec 2007 12:39:30 +0000 Reply-To: nrixham@gmail.com User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 82.41.129.160 Subject: Namespaces Extends? From: nrixham@gmail.com (Nathan Rixham) Hate to bring this one up; I'll be brief! for instance smarty get's upgraded and has it's own namespace, I have a class which extends it, soon to be in my applications namespace which implements an interface in my interfaces namespace.. how does one extend a class in another namespace and indeed implement? namespace application::handlers; { class class_name extends ::b::class_in_other_namespace implements ::c::iTemplate{ public func... } } or would we.. namespace application::handlers; { use b::class_in_other_namespace as other_class; use c::interface_in_other_namespace as other_interface; class class_name extends other_class implements other_interface { public func... } } or..? Thanks!