phpDocumentor jqGrid
[ class tree: jqGrid ] [ index: jqGrid ] [ all elements ]

Class: Session

Source Location: /jqUtils.php

Class Session

Method Summary
static object   getInstance()   Returns THE instance of 'Session'.
bool   destroy()   Destroys the current session.
bool   startSession()   (Re)starts the session.
mixed   __get()   Gets datas from the session.
void   __isset()  
void   __set()   Stores datas in the session.
void   __unset()  

[ Top ]
Methods
static method getInstance  [line 527]

  static object getInstance( )

Returns THE instance of 'Session'.

The session is automatically initialized if it wasn't.


API Tags:
Access:  public


[ Top ]
destroy  [line 604]

  bool destroy( )

Destroys the current session.


API Tags:
Return:  TRUE is session has been deleted, else FALSE.
Access:  public


[ Top ]
startSession  [line 544]

  bool startSession( )

(Re)starts the session.


API Tags:
Return:  TRUE if the session has been initialized, else FALSE.
Access:  public


[ Top ]
__get  [line 577]

  mixed __get( name $name  )

Gets datas from the session.

Example: echo $instance->foo;

Parameters:
name   $name:  Name of the datas to get.

API Tags:
Return:  Datas stored in session.
Access:  public


[ Top ]
__isset  [line 586]

  void __isset( $name  )

Parameters:
   $name: 

API Tags:
Access:  public


[ Top ]
__set  [line 563]

  void __set( name $name, value $value  )

Stores datas in the session.

Example: $instance->foo = 'bar';

Parameters:
name   $name:  Name of the datas.
value   $value:  Your datas.

API Tags:
Access:  public


[ Top ]
__unset  [line 592]

  void __unset( $name  )

Parameters:
   $name: 

API Tags:
Access:  public


[ Top ]
Constants
SESSION_NOT_STARTED = FALSE [line 508]

[ Top ]
SESSION_STARTED = TRUE [line 507]

[ Top ]

Documentation generated on Wed, 22 Jun 2011 14:57:51 +0300 by phpDocumentor 1.4.3