Actions

API15

JTableSession/update

From Joomla! Documentation

< API15:JTableSession
Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Contents

Syntax

update($updateNulls=false)
Parameter Name Default Value Description
$updateNulls false

Defined in

libraries/joomla/database/table/session.php

Importing

jimport( 'joomla.database.table.session' );

Source Body

function update( $updateNulls = false )
{
        $this->time = time();
        $ret = $this->_db->updateObject( $this->_tbl, $this, 'session_id', $updateNulls );
 
        if( !$ret ) {
                $this->setError(strtolower(get_class( $this ))."::". JText::_( 'store failed' ) ." <br />" . $this->_db->stderr());
                return false;
        } else {
                return true;
        }
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />