PHP 클래스 Registry

파일 보기 프로젝트 열기: bcosca/fatfree 1 사용 예제들

공개 메소드들

메소드 설명
clear ( $key ) : null Delete object from catalog
exists ( $key ) : boolean Return TRUE if object exists in catalog
get ( $key ) : object Retrieve object from catalog
set ( $key, $obj ) : object Add object to catalog

비공개 메소드들

메소드 설명
__clone ( ) ! Prohibit cloning
__construct ( ) ! Prohibit instantiation

메소드 상세

clear() 정적인 공개 메소드

Delete object from catalog
static public clear ( $key ) : null
$key string
리턴 null

exists() 정적인 공개 메소드

Return TRUE if object exists in catalog
static public exists ( $key ) : boolean
$key string
리턴 boolean

get() 정적인 공개 메소드

Retrieve object from catalog
static public get ( $key ) : object
$key string
리턴 object

set() 정적인 공개 메소드

Add object to catalog
static public set ( $key, $obj ) : object
$key string
$obj object
리턴 object