PHP 클래스 Nette\Http\SessionSection

상속: extends Nette\Object, implements IteratorAggregate, implements ArrayAccess
파일 보기 프로젝트 열기: nette/http 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$warnOnUndefined boolean

공개 메소드들

메소드 설명
__construct ( Session $session, $name ) Do not call directly. Use Session::getSection().
__get ( $name ) : mixed Gets a variable from this session section.
__isset ( $name ) : boolean Determines whether a variable in this session section is set.
__set ( $name, $value ) : void Sets a variable in this session section.
__unset ( $name ) : void Unsets a variable in this session section.
getIterator ( ) : ArrayIterator Returns an iterator over all section variables.
offsetExists ( $name ) : boolean Determines whether a variable in this session section is set.
offsetGet ( $name ) : mixed Gets a variable from this session section.
offsetSet ( $name, $value ) : void Sets a variable in this session section.
offsetUnset ( $name ) : void Unsets a variable in this session section.
remove ( ) : void Cancels the current session section.
removeExpiration ( $variables = NULL ) : void Removes the expiration from the section or specific variables.
setExpiration ( $time, $variables = NULL ) : self Sets the expiration of the section or specific variables.

비공개 메소드들

메소드 설명
start ( ) Do not call directly. Use Session::getNamespace().

메소드 상세

__construct() 공개 메소드

Do not call directly. Use Session::getSection().
public __construct ( Session $session, $name )
$session Session

__get() 공개 메소드

Gets a variable from this session section.
public __get ( $name ) : mixed
리턴 mixed

__isset() 공개 메소드

Determines whether a variable in this session section is set.
public __isset ( $name ) : boolean
리턴 boolean

__set() 공개 메소드

Sets a variable in this session section.
public __set ( $name, $value ) : void
리턴 void

__unset() 공개 메소드

Unsets a variable in this session section.
public __unset ( $name ) : void
리턴 void

getIterator() 공개 메소드

Returns an iterator over all section variables.

offsetExists() 공개 메소드

Determines whether a variable in this session section is set.
public offsetExists ( $name ) : boolean
리턴 boolean

offsetGet() 공개 메소드

Gets a variable from this session section.
public offsetGet ( $name ) : mixed
리턴 mixed

offsetSet() 공개 메소드

Sets a variable in this session section.
public offsetSet ( $name, $value ) : void
리턴 void

offsetUnset() 공개 메소드

Unsets a variable in this session section.
public offsetUnset ( $name ) : void
리턴 void

remove() 공개 메소드

Cancels the current session section.
public remove ( ) : void
리턴 void

removeExpiration() 공개 메소드

Removes the expiration from the section or specific variables.
public removeExpiration ( $variables = NULL ) : void
리턴 void

setExpiration() 공개 메소드

Sets the expiration of the section or specific variables.
public setExpiration ( $time, $variables = NULL ) : self
리턴 self

프로퍼티 상세

$warnOnUndefined 공개적으로 프로퍼티

public bool $warnOnUndefined
리턴 boolean