Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Url shortener plugin shows overview and information of all configured short url's and alows you to edit or remove short url's.

Example

$myShortUri = "http://www.veryshorturi.domain";
// create new short URI collection
$shortUriCol = new cApiShortUrlCollection();
// create short URI
// first param string short uri you want
// second param optional idart, if no idart set, function use cRegistry::getArticleId()
// third param optional idlang, if no idlang set, function use cRegistry::getLanguageId()
// fourth param optional idclient, if no idclient set, function use cRegistry::getClientId()
$shortUrlItem = $shortUriCol ->create($myShortUri, $idart, $idlang, $idclient);

// validate short uri
$shortUrlItem->isValidShortUrl($myShortUri);

 

Settings

Area/TypeNameDescriptionDefault

Scope

url_shortenerdomain n/aSCGU
  • No labels