Functions | |
createWebAppPath ($path=wc_path) | |
create path to web application | |
decodeArguments ($urlArg) | |
urlArg a list of argument separated by '/' | |
decodePathInfoUrl () | |
try to decode url as a pathinfo url | |
decodeQueryStringUrl () | |
try to decode url as a querystring url | |
decodeUrl () | |
decode url depending on global configuration | |
createURLRaw ($title, &$options, $amp) | |
creates a "raw" url | |
createURL ($title, $options=array()) | |
creates an url suitable for an html link | |
createHeaderURL ($title, $options=array()) | |
creates an url suitable for header() | |
createIconURL ($icon, $width=-1, $height=-1) | |
creates an url to an icon depending of global configuration | |
createIconPath ($icon) | |
creates a path to an icon depending of global configuration | |
createImageURL ($image, $width=-1, $height=-1) | |
creates an url to an image depending of global configuration | |
createImagePath ($image) | |
creates a path to an image depending of global configuration |
mode is defined in wiki global configuration. It can be get, query_string or path_info urls get decoded so that the _GET global array is populated just as only 'get' url were used. This way all remaining code don't see urls.
createHeaderURL | ( | $ | title, | |
$ | options = array() | |||
) |
creates an url suitable for header()
title | title of node | |
options | map<key, value> options to encode in url depending on format |
createIconPath | ( | $ | icon | ) |
creates a path to an icon depending of global configuration
icon | filename of icon |
createIconURL | ( | $ | icon, | |
$ | width = -1 , |
|||
$ | height = -1 | |||
) |
creates an url to an icon depending of global configuration
icon | filename of icon | |
width | optional desired width of icon | |
height | optional desired height of icon |
createImagePath | ( | $ | image | ) |
creates a path to an image depending of global configuration
image | filename of image |
createImageURL | ( | $ | image, | |
$ | width = -1 , |
|||
$ | height = -1 | |||
) |
creates an url to an image depending of global configuration
image | filename of image | |
width | optional desired width of image | |
height | optional desired height of image |
createURL | ( | $ | title, | |
$ | options = array() | |||
) |
creates an url suitable for an html link
title | title of node | |
options | map<key, value> options to encode in url depending on format |
createURLRaw | ( | $ | title, | |
&$ | options, | |||
$ | amp | |||
) |
creates a "raw" url
depending if the url will be used in a header() or in a html link the amp separator will be called with '&' or just '&'
title | title of node | |
options | map<key, value> options to encode in url depending on format | |
amp | the separator to use |
createWebAppPath | ( | $ | path = wc_path |
) |
create path to web application
path | path to application from web's root |
decodeArguments | ( | $ | urlArg | ) |
urlArg a list of argument separated by '/'
all arguments will be stored in global array _GET
decodePathInfoUrl | ( | ) |
try to decode url as a pathinfo url
decodeQueryStringUrl | ( | ) |
try to decode url as a querystring url
decodeUrl | ( | ) |
decode url depending on global configuration