Method |
Description |
|
__construct ( array $paramarray = [] ) |
Constructor for the rewrite_rule class. |
|
__get ( string $name ) : mixed |
Magic property getter for this class |
|
arg_match ( array $args ) : integer |
Returns a distance from 0 indicating the appropriateness of the rule
based on the passed-in arguments. |
|
build ( array $args, boolean $useall = true, boolean $noamp = false ) : string |
Builds a URL using this rule based on the passed in data |
|
create_url_rule ( string $build_str, string $handler, string $action ) : RewriteRule |
Create an old-style rewrite rule |
|
default_fields ( ) : array |
Returns the defined database columns for a rewrite rule. |
|
delete ( ) |
Deletes an existing rule |
|
insert ( ) |
Saves a new rewrite rule to the rewrite_rules table |
|
match ( string $stub ) : boolean |
Match the stub against this rule
Also sets internal structures based on a successful match |
|
update ( ) |
Updates an existing rule in the rewrite_rules table |
|