xplo.re Medusa Core Framework 3.1
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Event
  • Todo
  • Download

Namespaces

  • Core
    • Authentication
      • Auto
        • Driver
      • Driver
    • Cache
      • Driver
    • Charset
      • Driver
    • Configuration
    • Controller
    • Converter
      • Driver
    • Decoder
      • Driver
    • Encoder
      • Driver
    • Env
      • Authentication
      • Locale
      • Proxy
      • Server
        • HTTP
        • Redirect
        • X
    • Exception
    • Exchange
      • Driver
    • Field
    • Filter
      • Driver
    • Formatter
      • Driver
        • coreuimarkup
          • Token
    • Hash
    • Loader
    • Locale
    • Log
      • Driver
    • Module
      • Dependency
        • Requirement
          • Core
          • PHP
      • Linkage
        • Driver
    • PDF
    • Plugin
    • Query
      • Driver
    • Server
      • Driver
    • Session
      • Driver
    • Set
    • Storage
      • Driver
      • Field
        • Element
    • Stream
      • Driver
    • String
    • Translation
      • Driver
      • Language
        • Driver
    • URI
      • Driver
    • Version
    • View
      • Driver
        • coreui
          • Control
            • Button
            • Table
          • Element
        • htmlbuilder
          • Tags
        • yui
          • Modules
  • None
  • PHP

Classes

  • web

Class web

Represents the server in a web context with respect to the request.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\Server
Extended by Core\Server\Driver\web
Namespace: Core\Server\Driver
Package: Core\Server\Driver
Since: 3.2
Requires: PHP 5.3
Version: 1.0
Located at Server/Driver/web.inc.php

Methods summary

protected
# __construct( Core\URI $uri )

Initialises a new server instance.

Initialises a new server instance.

Parameters

$uri
Server driver description Core\URI.

Overrides

Core\Server::__construct
protected
# __clone( )

The web server driver is a singleton instance and cannot be cloned.

The web server driver is a singleton instance and cannot be cloned.

public string|null
# hostname( )

Returns the server hostname as seen by the client.

Returns the server hostname as seen by the client.

Returns

string|null
Server hostname or null, if the server does not have a hostname.

Since

3.2
public integer|null
# port( )

Returns the server port number as seen by the client.

Returns the server port number as seen by the client.

Returns

integer|null
Server port number or null, if the server does not use any port.

Since

3.2

Methods inherited from Core\Server

autocreate(), webInstance()

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

__autocreateFactory(), __call(), __processParameters(), __toString(), attachMethod(), chain(), getValueForKey(), getValueForKeyPath(), getValueForUndefinedKey(), hash(), issetValueForKey(), setValueForKey(), setValueForKeyPath(), setValueForUndefinedKey(), uuid()

Constants summary

Constants inherited from Core\Object

AnyParameterType, AutochainParameterType, AutocreateParameterType, BooleanParameterType, CharParameterType, EnumParameterType, IntegerParameterType, RealParameterType, StringParameterType, UserParameterType

Properties summary

Properties inherited from Core\Server

$_v_uri

Magic properties inherited from Core\Server

$hostname, $port, $uri

Magic properties inherited from Core\Object

$hash, $uuid

xplo.re Medusa Core Framework 3.1 API documentation generated by ApiGen