PHP 클래스 AppserverIo\Appserver\Core\Api\Node\InitialContextNode

상속: extends AppserverIo\Description\Api\Node\AbstractNode
파일 보기 프로젝트 열기: appserver-io/appserver

보호된 프로퍼티들

프로퍼티 타입 설명
$description DescriptionNode Description for the initial context configuration.
$storage StorageNode Node containing information about the storage implementation used by the inital context.
$type string The initial context's class name.

공개 메소드들

메소드 설명
__construct ( string $type = '', DescriptionNode $description = null, StorageNode $storage = null ) Initializes the initial context node with the necessary data.
getDescription ( ) : DescriptionNode Returns the initial context description.
getPrimaryKey ( ) : string Returns the nodes primary key, the name by default.
getStorage ( ) : StorageNode Returns the storage configuration information.
getType ( ) : string Returns information about the initial context's class name.

메소드 상세

__construct() 공개 메소드

Initializes the initial context node with the necessary data.
public __construct ( string $type = '', DescriptionNode $description = null, StorageNode $storage = null )
$type string The initial context type
$description DescriptionNode A short description
$storage StorageNode The default storage configuration

getDescription() 공개 메소드

Returns the initial context description.
public getDescription ( ) : DescriptionNode
리턴 DescriptionNode The initial context description

getPrimaryKey() 공개 메소드

Returns the nodes primary key, the name by default.
또한 보기: AppserverIo\Appserver\Core\Api\Node\AbstractNode::getPrimaryKey()
public getPrimaryKey ( ) : string
리턴 string The nodes primary key

getStorage() 공개 메소드

Returns the storage configuration information.
public getStorage ( ) : StorageNode
리턴 StorageNode The node with the storage information

getType() 공개 메소드

Returns information about the initial context's class name.
public getType ( ) : string
리턴 string The initial context's class name

프로퍼티 상세

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

Description for the initial context configuration.
protected DescriptionNode,AppserverIo\Appserver\Core\Api\Node $description
리턴 DescriptionNode

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

Node containing information about the storage implementation used by the inital context.
protected StorageNode,AppserverIo\Appserver\Core\Api\Node $storage
리턴 StorageNode

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

The initial context's class name.
protected string $type
리턴 string