Talk

Talk:How to use user state variables

From Joomla! Documentation

Revision as of 16:21, 4 January 2013 by Fontijn (talk | contribs) (Created page with "I found that this didn't work: $mainframe->setUserState( "$option.state_variable", "state1" ); Instead, the dollarsign should not be used, since it creates a fatal error. It...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

I found that this didn't work:

$mainframe->setUserState( "$option.state_variable", "state1" );

Instead, the dollarsign should not be used, since it creates a fatal error. It should be changed to:

$mainframe->setUserState( "option.state_variable", "state1" );