PHP Интерфейс AppserverIo\Appserver\Core\Api\Node\VirtualHostNodeInterface

Автор: Tim Wagner ([email protected])
Автор: Johann Zelger ([email protected])
Наследование: extends AppserverIo\Configuration\Interfaces\NodeInterface
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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

Описание методов

getAccesses() публичный метод

Will return access definitions
public getAccesses ( ) : array
Результат array

getAccessesAsArray() публичный метод

Returns the rewrites as an associative array.
public getAccessesAsArray ( ) : array
Результат array The array with the sorted rewrites

getAnalytic() публичный метод

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
Результат AnalyticNode | boolean The requested analytics node

getAnalytics() публичный метод

Will return the analytics array
public getAnalytics ( ) : array
Результат array The array with the analytic nodes

getAnalyticsAsArray() публичный метод

Returns the analytics as an associative array
public getAnalyticsAsArray ( ) : array
Результат array The array with the sorted analytics

getAuthentication() публичный метод

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
Результат AuthenticationNode | boolean The requested authentication node

getAuthentications() публичный метод

Will return the authentications array.
public getAuthentications ( ) : array
Результат array The array with the authentications

getAuthenticationsAsArray() публичный метод

Returns the authentications as an associative array.
public getAuthenticationsAsArray ( ) : array
Результат array The array with the sorted authentications

getEnvironmentVariable() публичный метод

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
Результат EnvironmentVariableNode | boolean The requested environmentVariable node

getEnvironmentVariables() публичный метод

Will return the environment variables array.
public getEnvironmentVariables ( ) : array
Результат array The array with the environment variables

getEnvironmentVariablesAsArray() публичный метод

Returns the environmentVariables as an associative array.
public getEnvironmentVariablesAsArray ( ) : array
Результат array The array with the sorted environmentVariables

getExtensionType() публичный метод

Getter for extensionType attribute
public getExtensionType ( ) : string
Результат string

getHeaders() публичный метод

Returns the file headers nodes.
public getHeaders ( ) : array
Результат array

getHeadersAsArray() публичный метод

Returns the headers as an associative array.
public getHeadersAsArray ( ) : array
Результат array The array with the headers

getInjection() публичный метод

Will return the data the defined injector creates
public getInjection ( ) : mixed
Результат mixed

getInjector() публичный метод

Getter for the injector, will lazy-init it
public getInjector ( ) : AppserverIo\Server\Configuration\Extension\InjectorInterface
Результат AppserverIo\Server\Configuration\Extension\InjectorInterface

getLocation() публичный метод

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
Результат LocationNode | boolean The requested location node

getLocations() публичный метод

Will return the locations array.
public getLocations ( ) : array
Результат array

getLocationsAsArray() публичный метод

Returns the locations as an associative array.
public getLocationsAsArray ( ) : array
Результат array The array with the sorted locations

getName() публичный метод

Returns the virtual hosts name
public getName ( ) : string
Результат string The server's type

getParam() публичный метод

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
Результат mixed The requested param casted to the specified type

getParamsAsArray() публичный метод

Returns the params casted to the defined type as associative array.
public getParamsAsArray ( ) : array
Результат array The array with the casted params

getRewrite() публичный метод

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
Результат RewriteNode | boolean The requested rewrite node

getRewriteMaps() публичный метод

Will return rewriteMaps definitions
public getRewriteMaps ( ) : array
Результат array

getRewriteMapsAsArray() публичный метод

Returns the rewriteMaps as an associative array.
public getRewriteMapsAsArray ( ) : array
Результат array The array with the rewriteMaps

getRewrites() публичный метод

Will return the rewrites array.
public getRewrites ( ) : array
Результат array

getRewritesAsArray() публичный метод

Returns the rewrites as an associative array.
public getRewritesAsArray ( ) : array
Результат array The array with the sorted rewrites

hasInjector() публичный метод

Will return true if the class has a filled extensionType attribute and therefor an injector
public hasInjector ( ) : boolean
Результат boolean