significantUrlEngine

Implements \jIUrlEngine

an url engine to parse,analyse and create significant url it needs an urls.xml file in the config directory (see documentation)

package

jelix

subpackage

urls_engine

author

Laurent Jouanneau

copyright

2005-2011 Laurent Jouanneau

Methods

_parse

_parse(string $scriptNamePath, string $pathinfo, array $params, boolean $isHttps) : \jUrlAction

Arguments

$scriptNamePath

string

/path/index.php

$pathinfo

string

the path info part of the url (part between script name and query)

$params

array

url parameters (query part e.g. $_REQUEST)

$isHttps

boolean

says if the given url is asked with https or not

Response

\jUrlAction

Parse some url components

parse(string $scriptNamePath, string $pathinfo, array $params) : \jUrlAction

Arguments

$scriptNamePath

string

/path/index.php

$pathinfo

string

the path info part of the url (part between script name and query)

$params

array

url parameters (query part e.g. $_REQUEST)

Response

\jUrlAction

Parse a url from the request

parseFromRequest(\jRequest $request, array $params) : \jUrlAction
since 1.1

Arguments

$request

\jRequest

$params

array

url parameters

Response

\jUrlAction

Properties

data to create significant url

dataCreateUrl : array
var

Type(s)

array

data to parse and anaylise significant url, and to determine action, module etc.

dataParseUrl : array

.

var

Type(s)

array