프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$fields | array | Stores session data results | |
$hs | HandlerSocket object | ||
$hsIndex | integer | HandlerSocket index number | |
$options | =====> (string) cookie_domain : the domain for which the cookie is valid. =====> (int) lifetime : session lifetime in seconds =====> (array) server : an array of mysql handlersocket server : 'host' => (string) : the name of the mysql handlersocket server 'port' => (int) : the port of the mysql handlersocket server 'dbname' => (string) : the database name of the mysql handlersocket server 'dbtable' => (string) : the table name of the mysql handlersocket server |
메소드 | 설명 | |
---|---|---|
__construct ( array $options = [] ) | Class constructor. | |
__destruct ( ) : void | Destructor | |
close ( ) : boolean | ||
destroy ( string $id ) : boolean | ||
gc ( integer $maxlifetime ) : boolean | ||
open ( string $save_path, string $name ) : boolean | ||
read ( string $id ) : string | ||
start ( array $options = [] ) : void | ||
write ( string $id, string $data ) : boolean |
메소드 | 설명 | |
---|---|---|
init ( array $options ) | Initialize HandlerSocket. |
public __construct ( array $options = [] ) | ||
$options | array | associative array of options |
protected HandlerSocket,Phalcon\Session\Adapter $hs | ||
리턴 |
protected $options |