[development] update hooks/APIs documentation

Darrel O'Pry dopry at thing.net
Sat Jan 7 06:12:53 UTC 2006


On Fri, 2006-01-06 at 17:58 -0500, Earl Dunovant wrote:
> It definitely needs reworking. But my problem is, on preview it goes:
> 
> 1 - execute amazon_form(&$node)
> 2 - execute amazon_node_form_validate($form_id, &$form_values) with NO
> access to $node
> 3 - execute amazon_view($node) with NO access to $form_values 
> 4 - execute amazon_node_form_validate($form_id, &$form_values) AGAIN,
> with NO access to $node
> 
> I suppose I could toss a copy of $form_values into a global variable
> but that's something I actively try to avoid, to make debugging
> easier. 

I think form_values is already in the global scope. I've used global
$form_values when I needed it... 




More information about the development mailing list