Jelix 1.6.40

function.jfullurl.php

Tags
subpackage

jtpl_plugin

author

Mickael Fradin

contributor

Laurent Jouanneau

copyright

2009 Mickael Fradin

link
http://www.jelix.org
licence

GNU Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html

Table of Contents

jtpl_function_xml_jfullurl()  : mixed
function plugin : write the full url (with domain name) corresponding to the given jelix action

Functions

jtpl_function_xml_jfullurl()

function plugin : write the full url (with domain name) corresponding to the given jelix action

jtpl_function_xml_jfullurl(jTpl $tpl, string $selector[, array<string|int, mixed> $params = array() ][, string $domain = null ][, bool $escape = true ]) : mixed
Parameters
$tpl : jTpl

template engine

$selector : string

selector action

$params : array<string|int, mixed> = array()

parameters for the url

$domain : string = null

domain name, false if you want to use the config domain name or the server name

$escape : bool = true

if true, then escape the string for html

Return values
mixed

Search results