PHP Класс AppserverIo\Appserver\Core\Api\Node\InitialContextNode

Автор: Tim Wagner ([email protected])
Наследование: extends AppserverIo\Description\Api\Node\AbstractNode
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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