[No Subject]

Objet:   [No Subject] (trouver plus)
De:    
Date:   Nov 15, 2005 20:17

Return-Path: <caché>
Received: from [82.41.38.204] (helo=[192.168.1.105])
 by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis),
 id 0MKwtQ-1Ec6Im3A3B-0006kC; Tue, 15 Nov 2005 20:17:11 +0100
Message-Id: <caché>
Date: Tue, 15 Nov 2005 19:17:02 +0000
From: Peter Cruickshank <caché>
Reply-To: "CiviCRM: General discussion around development" <caché>
Sender: caché
To: "CiviCRM: General discussion around development" <caché>
Subject: [Crm-dev] (no subject)
Errors-To: caché
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Delivery-Date: Tue, 15 Nov 2005 14:17:32 -0500
X-Forwarded-To: caché
X-Forwarded-For: caché caché
X-Gmail-Received: 2a0b71abb2aa9cefd1f69574351382dc04d83167
Delivered-To: caché
Received-SPF: neutral (gmail.com: 80.72.33.166 is neither permitted nor denied by best guess record for domain of caché)
Old-Return-Path: <caché>
X-Mailer: Apple Mail (2.746.2)
X-Provags-ID: kundenserver.de caché
 login:99482ec526d7263c599b322de61bf3c2
X-BeenThere: caché
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "CiviCRM: General discussion around development"
 <crm-dev.lists.objectledge.net>
List-Unsubscribe: <http://lists.objectledge.net/mailman/listinfo/crm-dev&gt;,
 <mailto:caché?subject=unsubscribe>
List-Archive: <http://lists.caltha.pl/pipermail/crm-dev>
List-Post: <mailto:caché>
List-Help: <mailto:caché?subject=help>
List-Subscribe: <http://lists.objectledge.net/mailman/listinfo/crm-dev&gt;,
 <mailto:caché?subject=subscribe>
Envelope-To: caché

Hi

This time the question's on crm_create_group()...

Are there any examples of what the SQL in the 'saved_search'  
parameter should look like? It looks like it could be a way of  
linking contacts to non-CivicRM tables, which will be handy.

I had a look, but couldnt see any use of crm_create_group or  
CRM_Contact_BAO_Group::createGroup() in the CivicRM code

Thanks! (again)

Peter


PS While I'm at it, a minor question on coding style:

In CRM_CORE_PseudoConstant::populate() (and other places too),  
there's a line:
 eval(' $object =& new ' . $name . '( );' );
I was just wondering what advantage that approach has over:
 $object =& new $name;
which on the face of does the same work while avoiding an eval() call?
_______________________________________________
Crm-dev mailing list
caché
http://lists.objectledge.net/mailman/listinfo/crm-dev

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.