PHP Class AppserverIo\Appserver\Core\Api\Node\InitialContextNode

Inheritance: extends AppserverIo\Description\Api\Node\AbstractNode
Afficher le fichier Open project: appserver-io/appserver

Protected Properties

Свойство Type Description
$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.

Méthodes publiques

Méthode Description
__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.

Method Details

__construct() public méthode

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() public méthode

Returns the initial context description.
public getDescription ( ) : DescriptionNode
Résultat DescriptionNode The initial context description

getPrimaryKey() public méthode

Returns the nodes primary key, the name by default.
See also: AppserverIo\Appserver\Core\Api\Node\AbstractNode::getPrimaryKey()
public getPrimaryKey ( ) : string
Résultat string The nodes primary key

getStorage() public méthode

Returns the storage configuration information.
public getStorage ( ) : StorageNode
Résultat StorageNode The node with the storage information

getType() public méthode

Returns information about the initial context's class name.
public getType ( ) : string
Résultat string The initial context's class name

Property Details

$description protected_oe property

Description for the initial context configuration.
protected DescriptionNode,AppserverIo\Appserver\Core\Api\Node $description
Résultat DescriptionNode

$storage protected_oe property

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

$type protected_oe property

The initial context's class name.
protected string $type
Résultat string