basic_significantUrlEngine

Extends \simpleUrlEngine

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

.)

package

jelix

subpackage

urls_engine

see

Methods

__construct

__construct() 

Create a jurl object with the given action data

create(\jUrlAction $urlact) : \jUrl
inherited

Arguments

$urlact

\jUrlAction

information about the action

Response

\jUrl

the url correspondant to the action

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

getBasePath(string $requestType, string $module = null, string $action = null) : string
inherited

Arguments

$requestType

string

$module

string

$action

string

Response

string

the url base path

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

getScript(string $requestType, string $module = null, string $action = null) : string
inherited

Arguments

$requestType

string

$module

string

$action

string

Response

string

the script path

Parse some url components

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

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
inherited
since 1.1

Arguments

$request

\jRequest

$params

array

url parameters

Response

\jUrlAction

Properties

urlspe

urlspe : 
inherited

Type(s)

urlhttps

urlhttps : 
inherited

Type(s)