Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37868 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30876 invoked from network); 25 May 2008 18:59:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 May 2008 18:59:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=hannes.magnusson@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=hannes.magnusson@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.166.176 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: hannes.magnusson@gmail.com X-Host-Fingerprint: 64.233.166.176 py-out-1112.google.com Received: from [64.233.166.176] ([64.233.166.176:16864] helo=py-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/0F-21001-CF6B9384 for ; Sun, 25 May 2008 14:59:08 -0400 Received: by py-out-1112.google.com with SMTP id a25so844479pyi.16 for ; Sun, 25 May 2008 11:59:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=5h7g2ssF/uO/nBIG6/diL9cvwRnahkOHmZcNfFdUThA=; b=h+LXFTf05GM2hcC7rA064+5ZYlyOwQxwI21riArJ0T4+YB2GDO47KdXbLwkNTff7vEhMuCvC3ykC2tR807SMQQkm032IU8Oy/CPTYqXMGjBNMpy3jUkHftPyadXBiK6/2ET/rZo6RTJV+wI6SrhX6nzLOBsKbH2YX5kx+EIXykM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=bsU0GWF79UOBD9Guaev/HzHrabJqCLVXsjO1Wi1R1MgPwDlLMJE2h+4VfU6t8Gqud3S5ChuDqP9XMrN9ab+oum9o1av7F2sVvH8IaXlnDx3iYCFdsUdJ3jt88xoRAVCmmkEvkrkbOu8kQdawJ6pinf56UKZIa1tnD06AS+DoBFY= Received: by 10.143.45.21 with SMTP id x21mr1634480wfj.221.1211741945857; Sun, 25 May 2008 11:59:05 -0700 (PDT) Received: by 10.142.170.21 with HTTP; Sun, 25 May 2008 11:59:05 -0700 (PDT) Message-ID: <7f3ed2c30805251159r29c8211frbe5cb21852e3498d@mail.gmail.com> Date: Sun, 25 May 2008 20:59:05 +0200 To: "Michael B Allen" Cc: internals@lists.php.net In-Reply-To: <78c6bd860805251128s372c6b94h9bcd2e8e50934815@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <78c6bd860805251128s372c6b94h9bcd2e8e50934815@mail.gmail.com> Subject: Re: [PHP-DEV] Interface for __get, __set, __isset, __unset? From: hannes.magnusson@gmail.com ("Hannes Magnusson") On Sun, May 25, 2008 at 8:28 PM, Michael B Allen wrote: > Is there an interface for: > > interface ??? > { > public function __get($name); > public function __set($name, $value); > public function __isset($name); > public function __unset($name); > } > > I have a bunch of classes that use this and I'm trying to normalize > things. I'm been trying to think of a good name for it but I'm > stumped. > > What would you call this interface? magic. And since this is not an internals question it should have been posted to the general user list.. -Hannes