PHP 클래스 Phalcon\Session\Adapter\Mongo

상속: extends Phalcon\Session\Adapter, implements Phalcon\Session\AdapterInterface
파일 보기 프로젝트 열기: phalcon/incubator

보호된 프로퍼티들

프로퍼티 타입 설명
$data string Current session data

공개 메소드들

메소드 설명
__construct ( array $options = null ) Class constructor.
close ( )
destroy ( $sessionId = null )
gc ( string $maxLifetime )
open ( ) : boolean
read ( string $sessionId ) : string
write ( string $sessionId, string $sessionData ) : boolean

보호된 메소드들

메소드 설명
getCollection ( ) : MongoCollection

메소드 상세

__construct() 공개 메소드

Class constructor.
public __construct ( array $options = null )
$options array

close() 공개 메소드

public close ( )

destroy() 공개 메소드

public destroy ( $sessionId = null )

gc() 공개 메소드

public gc ( string $maxLifetime )
$maxLifetime string

getCollection() 보호된 메소드

protected getCollection ( ) : MongoCollection
리턴 MongoCollection

open() 공개 메소드

public open ( ) : boolean
리턴 boolean

read() 공개 메소드

public read ( string $sessionId ) : string
$sessionId string
리턴 string

write() 공개 메소드

public write ( string $sessionId, string $sessionData ) : boolean
$sessionId string
$sessionData string
리턴 boolean

프로퍼티 상세

$data 보호되어 있는 프로퍼티

Current session data
protected string $data
리턴 string