PHP Interface AppserverIo\Appserver\Core\Api\Node\VirtualHostNodeInterface

Author: Tim Wagner ([email protected])
Author: Johann Zelger ([email protected])
Inheritance: extends AppserverIo\Configuration\Interfaces\NodeInterface
Afficher le fichier Open project: appserver-io/appserver Interface Usage Examples

Méthodes publiques

Méthode Description
getAccesses ( ) : array Will return access definitions
getAccessesAsArray ( ) : array Returns the rewrites as an associative array.
getAnalytic ( string $uri ) : AnalyticNode | boolean Will return the analytic node with the specified definition and if nothing could be found we will return false
getAnalytics ( ) : array Will return the analytics array
getAnalyticsAsArray ( ) : array Returns the analytics as an associative array
getAuthentication ( string $uri ) : AuthenticationNode | boolean Will return the authentication node with the specified definition and if nothing could be found we will return false.
getAuthentications ( ) : array Will return the authentications array.
getAuthenticationsAsArray ( ) : array Returns the authentications as an associative array.
getEnvironmentVariable ( string $definition ) : EnvironmentVariableNode | boolean Will return the environmentVariable node with the specified definition and if nothing could be found we will return false.
getEnvironmentVariables ( ) : array Will return the environment variables array.
getEnvironmentVariablesAsArray ( ) : array Returns the environmentVariables as an associative array.
getExtensionType ( ) : string Getter for extensionType attribute
getHeaders ( ) : array Returns the file headers nodes.
getHeadersAsArray ( ) : array Returns the headers as an associative array.
getInjection ( ) : mixed Will return the data the defined injector creates
getInjector ( ) : AppserverIo\Server\Configuration\Extension\InjectorInterface Getter for the injector, will lazy-init it
getLocation ( string $condition ) : LocationNode | boolean Will return the location node with the specified condition and if nothing could be found we will return false.
getLocations ( ) : array Will return the locations array.
getLocationsAsArray ( ) : array Returns the locations as an associative array.
getName ( ) : string Returns the virtual hosts name
getParam ( string $name ) : mixed Returns the param with the passed name casted to the specified type.
getParamsAsArray ( ) : array Returns the params casted to the defined type as associative array.
getRewrite ( string $condition ) : RewriteNode | boolean Will return the rewrite node with the specified condition and if nothing could be found we will return false.
getRewriteMaps ( ) : array Will return rewriteMaps definitions
getRewriteMapsAsArray ( ) : array Returns the rewriteMaps as an associative array.
getRewrites ( ) : array Will return the rewrites array.
getRewritesAsArray ( ) : array Returns the rewrites as an associative array.
hasInjector ( ) : boolean Will return true if the class has a filled extensionType attribute and therefor an injector

Method Details

getAccesses() public méthode

Will return access definitions
public getAccesses ( ) : array
Résultat array

getAccessesAsArray() public méthode

Returns the rewrites as an associative array.
public getAccessesAsArray ( ) : array
Résultat array The array with the sorted rewrites

getAnalytic() public méthode

Will return the analytic node with the specified definition and if nothing could be found we will return false
public getAnalytic ( string $uri ) : AnalyticNode | boolean
$uri string The URI of the analytic in question
Résultat AnalyticNode | boolean The requested analytics node

getAnalytics() public méthode

Will return the analytics array
public getAnalytics ( ) : array
Résultat array The array with the analytic nodes

getAnalyticsAsArray() public méthode

Returns the analytics as an associative array
public getAnalyticsAsArray ( ) : array
Résultat array The array with the sorted analytics

getAuthentication() public méthode

Will return the authentication node with the specified definition and if nothing could be found we will return false.
public getAuthentication ( string $uri ) : AuthenticationNode | boolean
$uri string The URI of the authentication in question
Résultat AuthenticationNode | boolean The requested authentication node

getAuthentications() public méthode

Will return the authentications array.
public getAuthentications ( ) : array
Résultat array The array with the authentications

getAuthenticationsAsArray() public méthode

Returns the authentications as an associative array.
public getAuthenticationsAsArray ( ) : array
Résultat array The array with the sorted authentications

getEnvironmentVariable() public méthode

Will return the environmentVariable node with the specified definition and if nothing could be found we will return false.
public getEnvironmentVariable ( string $definition ) : EnvironmentVariableNode | boolean
$definition string The definition of the environmentVariable in question
Résultat EnvironmentVariableNode | boolean The requested environmentVariable node

getEnvironmentVariables() public méthode

Will return the environment variables array.
public getEnvironmentVariables ( ) : array
Résultat array The array with the environment variables

getEnvironmentVariablesAsArray() public méthode

Returns the environmentVariables as an associative array.
public getEnvironmentVariablesAsArray ( ) : array
Résultat array The array with the sorted environmentVariables

getExtensionType() public méthode

Getter for extensionType attribute
public getExtensionType ( ) : string
Résultat string

getHeaders() public méthode

Returns the file headers nodes.
public getHeaders ( ) : array
Résultat array

getHeadersAsArray() public méthode

Returns the headers as an associative array.
public getHeadersAsArray ( ) : array
Résultat array The array with the headers

getInjection() public méthode

Will return the data the defined injector creates
public getInjection ( ) : mixed
Résultat mixed

getInjector() public méthode

Getter for the injector, will lazy-init it
public getInjector ( ) : AppserverIo\Server\Configuration\Extension\InjectorInterface
Résultat AppserverIo\Server\Configuration\Extension\InjectorInterface

getLocation() public méthode

Will return the location node with the specified condition and if nothing could be found we will return false.
public getLocation ( string $condition ) : LocationNode | boolean
$condition string The condition of the location in question
Résultat LocationNode | boolean The requested location node

getLocations() public méthode

Will return the locations array.
public getLocations ( ) : array
Résultat array

getLocationsAsArray() public méthode

Returns the locations as an associative array.
public getLocationsAsArray ( ) : array
Résultat array The array with the sorted locations

getName() public méthode

Returns the virtual hosts name
public getName ( ) : string
Résultat string The server's type

getParam() public méthode

Returns the param with the passed name casted to the specified type.
public getParam ( string $name ) : mixed
$name string The name of the param to be returned
Résultat mixed The requested param casted to the specified type

getParamsAsArray() public méthode

Returns the params casted to the defined type as associative array.
public getParamsAsArray ( ) : array
Résultat array The array with the casted params

getRewrite() public méthode

Will return the rewrite node with the specified condition and if nothing could be found we will return false.
public getRewrite ( string $condition ) : RewriteNode | boolean
$condition string The condition of the rewrite in question
Résultat RewriteNode | boolean The requested rewrite node

getRewriteMaps() public méthode

Will return rewriteMaps definitions
public getRewriteMaps ( ) : array
Résultat array

getRewriteMapsAsArray() public méthode

Returns the rewriteMaps as an associative array.
public getRewriteMapsAsArray ( ) : array
Résultat array The array with the rewriteMaps

getRewrites() public méthode

Will return the rewrites array.
public getRewrites ( ) : array
Résultat array

getRewritesAsArray() public méthode

Returns the rewrites as an associative array.
public getRewritesAsArray ( ) : array
Résultat array The array with the sorted rewrites

hasInjector() public méthode

Will return true if the class has a filled extensionType attribute and therefor an injector
public hasInjector ( ) : boolean
Résultat boolean