Jelix 1.6.40

basic_significantUrlEngine extends simpleUrlEngine
in package

basic significant url engine generated url are like module/controller/action and others parameters are in the query

Tags
subpackage

urls_engine

see
jIUrlEngine

Table of Contents

$urlhttps  : mixed
$urlspe  : mixed
__construct()  : mixed
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
getBasePath()  : string
Read the configuration and return an url part according of the of the https configuration
getScript()  : string
Read the configuration and gets the script path corresponding to the given parameters

Properties

Methods

create()

Create a jurl object with the given action data

public create(mixed $urlact) : jUrl
Parameters
$urlact : mixed

information about the action

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

getBasePath()

Read the configuration and return an url part according of the of the https configuration

protected getBasePath(string $requestType[, string $module = null ][, string $action = null ]) : string
Parameters
$requestType : string
$module : string = null
$action : string = null
Return values
string

the url base path

getScript()

Read the configuration and gets the script path corresponding to the given parameters

protected getScript(string $requestType[, string $module = null ][, string $action = null ]) : string
Parameters
$requestType : string
$module : string = null
$action : string = null
Return values
string

the script path

Search results