Properties

Properties existing in the Solar_Uri_Rewrite class.

Public

None.

Protected

$_Solar_Uri_Rewrite

(array) Default configuration values.

$_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',
);

$_default

(array) The default rewrite rule array.

The pattern key is the incoming URI regex pattern to match against.

The rewrite key is the canonical "controller/action/param" format the incoming URI should be rewritten to.

The replace key is an array of custom replacement regex tokens for this particular rewrite rule.

The default key is an array of default values for tokens when data for interpolation is missing.

$_explain

(string) An explanation of the last match() attempt.

$_replace

(array) The collection of replacement regex tokens.

$_rewrite

(array) The collection of rewrite rules.

Private

None.



Local