Solar_Uri_Rewrite::getRule()

public mixed Solar_Uri_Rewrite::getRule ( string $key )

Gets a rewrite rule by its key; the key may be a pattern, or a named rule.

Parameters

  • (string) $key: The rule key.

Returns

  • (mixed) The shorthand rewrite string, or the longhand information array.

Description

Gets a rewrite rule by its key; the key may be a pattern, or a named rule.



Local