Functions

Function is called after the plugins have been loaded.

piUsAfterLoadPlugins() 

If the string placeholder in the example URL http://www.domain.de/placeholder is a defined short URL, the user is redirected to the correct URL.

Function is called after an article has been saved.

piUsConSaveArtAfter(array $values) 

Checks whether a short URL has been given via $_POST and saves/deletes it.

Parameters

$values

array

the values which are saved

Constructs the HTML code containing table rows which are added to the end of the article edit form

piUsEditFormAdditionalRows($idart, $idlang, $idclient) : string

Parameters

$idart

$idlang

$idclient

Returns

stringrendered HTML code

Computes an error message which describes the given error code.

piUsGetErrorMessage(int $errorCode, $shortUrlItem) : string

Parameters

$errorCode

int

the error code

$shortUrlItem

Returns

stringthe error message describing the given error code