[development] Curl-based content generation
Gerhard Killesreiter
gerhard at killesreiter.de
Thu Feb 5 21:43:11 UTC 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andrew Berry schrieb:
> On 5-Feb-09, at 1:50 PM, Earl Dunovant wrote:
>
>> Use drupal_execute().
>>
>> http://api.drupal.org/api/function/drupal_execute/6
>
> Unfortunately, there are some static caches which can cause problems
> when you call drupal_execute() multiple times in one request.
Ah, yes, I should have mentioned that. hook_forms is your friend there
(but you will have to re-attach taxonomy in hook_form_alter and other
things might be a bit strange too). Another problem is that you will
need a lot of memory if you have either a lot of forms or quite
complicated ones.
Cheers,
Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkmLXW8ACgkQfg6TFvELooS/hgCgvZTlIaXOCJyzhGuB6f3pVTN/
HmAAn1mh/XnHCOnmZ9QYFbSNTSGcD1uj
=cXIa
-----END PGP SIGNATURE-----
More information about the development
mailing list