public function saveObjVar($objName, $varName, &$value, $stateful = false)
    {
        if (preg_match('/\./si', $objName)) {
            $objName = $this->getNamespace() . '#' . $objName;
        }
        if (!$stateful) {
            $this->_sessObjArr[$objName][$varName] = $value;
        } else {
            $this->_statefulSessObjArr[$objName][$varName] = $value;
        }
    }
public function saveObjVar($objName, $varName, &$value, $stateful = false)
    {
        if (preg_match('/\./si', $objName)) {
            $objName = $this->getNamespace() . '#' . $objName;
        }
        if (!$stateful) {
            $this->_sessObjArr[$objName][$varName] = $value;
        } else {
            $this->_statefulSessObjArr[$objName][$varName] = $value;
        }
    }
public function saveObjVar ( $ objName , $ varName , & $ value , $ stateful = false ) { if ( preg_match ( '/\./si' , $ objName ) ) { $ objName = $ this -> getNamespace ( ) . '#' . $ objName ; } if ( ! $ stateful ) { $ this -> _sessObjArr [ $ objName ] [ $ varName ] = $ value ; } else { $ this -> _statefulSessObjArr [ $ objName ] [ $ varName ] = $ value ; } }
Set single session variable of a stateful object

@param string $objName - object name
@param string $varName - vaiable name
@param mixed $value - reference of the value (in/out)
@param boolean $stateful - is stateful?
@return void
Set single session variable of a stateful object