Jelix 1.6.40

jIUrlEngine

interface for url engines

Tags
subpackage

core_url

author

Laurent Jouanneau

copyright

2005 CopixTeam, 2005-2006 Laurent Jouanneau

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

Tags
since
1.1
Return values
jUrlAction

Search results