Overview

Namespaces

  • Coast
    • App
      • Access
      • Executable
    • Controller
    • Csrf
    • Dir
    • Feed
    • File
    • Filter
      • Rule
    • Http
    • Image
    • Model
      • Exception
    • Resolver
    • Router
    • Sitemap
    • Transformer
      • Rule
    • Validator
      • Rule
    • View

Classes

  • Acl
  • App
  • Coast
  • Collection
  • Config
  • Controller
  • Csp
  • Csrf
  • Dir
  • Feed
  • File
  • Filter
  • Http
  • Image
  • Lazy
  • Model
  • Path
  • Request
  • Resolver
  • Response
  • Router
  • Session
  • Sitemap
  • Transformer
  • Url
  • Validator
  • View
  • Xml

Exceptions

  • Exception
  • Overview
  • Namespace
  • Class
  • Deprecated
  • Todo

Class Url

Namespace: Coast
Located at Url.php
Methods summary
public
# __construct( $value = null )
public
# fromString( $value )
public
# toString( )
public
# fromArray( array $parts )
public
# toArray( )
public
# toPart( $part, $reverse = false )
public
# __toString( )
public
# scheme( $scheme = null )
public
# isHttp( )
public
# isHttps( )
public
# user( $user = null )
public
# pass( $pass = null )
public
# host( $host = null )
public
# port( $port = null )
public
# path( $path = null )
public
# queryParam( $name, $value = null )
public
# queryParams( array $querys = null )
public
# query( $query = null )
public
# fragment( $fragment = null )
public boolean
# isAbsolute( )

Is URL absolute.

Is URL absolute.

Returns

boolean
public boolean
# isRelative( )

Is URL relative.

Is URL relative.

Returns

boolean
public
# toAbsolute( Coast\Url $base )
public
# toRelative( Coast\Url $base )
public
# toCanonical( )
Constants summary
integer PART_SCHEME
# 0
integer PART_USER
# 1
integer PART_PASS
# 2
integer PART_HOST
# 3
integer PART_PORT
# 4
integer PART_PATH
# 5
integer PART_QUERY
# 6
integer PART_FRAGMENT
# 7
Properties summary
protected $_scheme
#
protected $_user
#
protected $_pass
#
protected $_host
#
protected $_port
#
protected $_path
#
protected array $_queryParams
# []
protected $_fragment
#
Coast API Documentation API documentation generated by ApiGen