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

  • file
  • ftp
  • http
  • mailto
  • ssl
  • tcp

Class file

File scheme URL. Features an additional KVC field for the file path.

Core\Object implements Core\Chainable
Extended by Core\Set implements Core\Accessor
Extended by Core\URI
Extended by Core\URI\URL
Extended by Core\URI\Driver\file
Namespace: Core\URI\Driver
Package: Core\URI
Since: 3.0
Requires: PHP 5.3
Version: 1.1
Located at URI/Driver/file.inc.php

Methods summary

public
# __construct( string|array|URI $uri, array $mods = null )

Initialises a URI instance. Also parses authority part for extended URL attributes. Additionally extracts file path from URL.

Initialises a URI instance. Also parses authority part for extended URL attributes. Additionally extracts file path from URL.

Parameters

$uri

$resource Properties to initialise URI with. Supports the following types of initialisation data:

  • URI string to parse and read properties from.

  • Reference to an existing URI instance to clone properties from.

  • Hash of URI properties to initialise new instance with.

$mods

Hash of URI properties that overwrite properties derived from the resource parameter. This is mainly used to create modified URI instances based on an existing URI and a delta set.

Since

3.0

Overrides

Core\URI\URL::__construct

Methods inherited from Core\URI

__toString(), _parseArray(), _parseURI(), autocreate(), cloneWithAppendedParameters(), decode(), encode(), isAbsolute(), parameters(), remoteURIForPath(), validate()

Methods inherited from Core\Set

__get(), __isset()

Methods inherited from Core\Object

__autocreateFactory(), __call(), __processParameters(), 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

protected string $_v_file

Since

3.0
#

Properties inherited from Core\URI\URL

$_v_host, $_v_password, $_v_port, $_v_user

Properties inherited from Core\URI

$_parameterCache, $_v_authority, $_v_fragment, $_v_path, $_v_query, $_v_scheme, $_v_schemeNS

Magic properties

public read-only string $file

File path extracted from URL. This is equivalent to the concatenation of the authority and path parts.

Magic properties inherited from Core\URI\URL

$host, $password, $port, $user

Magic properties inherited from Core\URI

$authority, $fragment, $isAbsolute, $parameters, $path, $query, $scheme, $schemeNS

Magic properties inherited from Core\Object

$hash, $uuid

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