API16

JSession/getState: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: ===Description=== Get current state of session <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> ...
 
m clean up
Line 2: Line 2:
Get current state of session
Get current state of session


<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JSession/getState|Edit Descripton]]<nowiki>]</nowiki>
</span>


{{Description:JSession/getState}}
 
{{subst:Description:JSession/getState}}


===Syntax===
===Syntax===
Line 28: Line 26:
</source>
</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSession/getState|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JSession/getState}}
</span>
{{SeeAlso:JSession/getState}}


===Examples===
===Examples===

Revision as of 14:23, 24 March 2017

Description

Get current state of session


{{subst:Description:JSession/getState}}

Syntax

getState()


Returns

string The session state

Defined in

libraries/joomla/session/session.php

Importing

jimport( 'joomla.session.session' );

Source Body

public function getState()
{
        return $this->_state;
}


{{subst:SeeAlso:JSession/getState}}

Examples

<CodeExamplesForm />