PHP 인터페이스 AppserverIo\Appserver\Core\Api\Node\VirtualHostNodeInterface

저자: Tim Wagner ([email protected])
저자: Johann Zelger ([email protected])
상속: extends AppserverIo\Configuration\Interfaces\NodeInterface
파일 보기 프로젝트 열기: appserver-io/appserver 0 사용 예제들

공개 메소드들

메소드 설명
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