Previous Page
Constants

Solar_Uri
Properties

Next Page
Methods

Properties

Public

$format

(string) The dot-format extension of the last path element (for example, the "rss" in "feed.rss").

$fragment

(string) The fragment portion (for example, the "foo" in "#foo").

$host

(string) The host specification (for example, 'example.com').

$pass

(string) The password, if any.

$path

(array) The path portion (for example, 'path/to/index.php').

$port

(string) The port number (for example, '80').

$query

(array) Query string elements split apart into an array.

$scheme

(string) The scheme (for example 'http' or 'https').

$user

(string) The username, if any.

Protected

$_Solar_Uri

(array) User-provided configuration values.

Keys are ...

path
(string) A path prefix. Generally needed only for specific URI subclasses, for example Solar_Uri_Action.
uri
(string) Call set() with this URI string at construct-time, instead of loading from the current URI.

$_config

(array) Collection point for configuration values.

Inherited from Solar_Base.

Note that you do not define config defaults in $_config directly.

<?php
// DO NOT DO THIS
protected $_config = array(
    'foo' => 'bar',
    'baz' => 'dib',
);
?>

Instead, define config defaults in a protected property named for the class, withan underscore prefix.

For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.

<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
    'foo' => 'bar',
    'baz' => 'dib',
);
?>

$_encode_path

(array) Url-encode only these characters in path elements.

Characters are ' ' (space), '/', '?', '&', and '#'.

$_request

(Solar_Request) Details about the request environment.

Private

None.