CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Get a Session Variable
Pages: [1]

Author Topic: Get a Session Variable  (Read 544 times)

zesgar

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5
Get a Session Variable
March 22, 2011, 10:07:21 am
On the event confirm page I want to get the transaction.userID how do I do this?  is this correct: $form->getVar( 'transaction.userID' )
the what do I need to have in order for getVar to work?
« Last Edit: March 22, 2011, 11:41:08 am by zesgar »

zesgar

  • I post occasionally
  • **
  • Posts: 107
  • Karma: 2
  • CiviCRM version: 4.3.4
  • CMS version: Joomla 2.5
Re: Get a Session Variable
March 22, 2011, 12:28:39 pm
I had to use this to get the array fields 
$params = $form->controller->exportValues( $form->getName( ) );

so in order to get variables do I have to do something similar?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Get a Session Variable

This forum was archived on 2017-11-26.