Re: FormBuilder DataObject configuration issue

From: Date: Thu, 28 Sep 2006 15:54:02 +0000
Subject: Re: FormBuilder DataObject configuration issue
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25282@lists.php.net to get a copy of this message
Il 17:05, giovedì 28 settembre 2006, Justin Patrin ha scritto: > function prepareLinkedDataObject(&$do, $field) { >   if ($field == 'fieldName' && $this->freeze) { >     $do->id = $this->field_id; >   } > } > > Then set $do->freeze = true on your DO when you want it frozen. Great suggestion, thanks. -- Alessandro Pasotti itOpen - "Open Solutions for the Net Age" w3: www.itopen.it Linux User# 167502

« previous php.pear.general (#25282) next »