jIUrlEngine
in
interface for url engines
Tags
Table of Contents
- create() : jUrl
- Create a jurl object with the given action data
- parse() : jUrlAction
- Parse some url components
- parseFromRequest() : jUrlAction
- Parse a url from the request
Methods
create()
Create a jurl object with the given action data
public
create(mixed $urlact) : jUrl
Parameters
- $urlact : mixed
Return values
jUrl —the url correspondant to the action
parse()
Parse some url components
public
parse(string $scriptNamePath, string $pathinfo, array<string|int, mixed> $params) : jUrlAction
Parameters
- $scriptNamePath : string
-
/path/index.php
- $pathinfo : string
-
the path info part of the url (part between script name and query)
- $params : array<string|int, mixed>
-
url parameters (query part e.g. $_REQUEST)
Return values
jUrlAction —parseFromRequest()
Parse a url from the request
public
parseFromRequest(jRequest $request, array<string|int, mixed> $params) : jUrlAction
Parameters
- $request : jRequest
- $params : array<string|int, mixed>
-
url parameters