trait SiteAliasTrait (View source)

Common implementation of some SiteAlias methods.

Methods

hasRoot()

No description

root()

No description

uri()

No description

setUri($uri)

No description

remoteHostWithUser()

No description

remoteUser()

No description

hasRemoteUser()

No description

remoteHost()

No description

isRemote()

No description

isLocal()

No description

isContainer()

No description

isNone()

No description

localRoot()

No description

string
os()

os returns the OS that this alias record points to. For local alias records, PHP_OS will be returned. For remote alias records, the value from the os element will be returned. If there is no os element, then the default assumption is that the remote system is Linux.

Details

hasRoot()

No description

root()

No description

Exceptions

Exception

uri()

No description

setUri($uri)

No description

Parameters

$uri

remoteHostWithUser()

No description

remoteUser()

No description

hasRemoteUser()

No description

remoteHost()

No description

isRemote()

No description

isLocal()

No description

isContainer()

No description

isNone()

No description

localRoot()

No description

string os()

os returns the OS that this alias record points to. For local alias records, PHP_OS will be returned. For remote alias records, the value from the os element will be returned. If there is no os element, then the default assumption is that the remote system is Linux.

Return Value

string

Linux WIN (e.g. WINNT) CYGWIN MINGW (e.g. MINGW32)