Class cApiShortUrlCollection
Plugin Manager API classes.
- cGenericDb
- cItemBaseAbstract
- ItemCollection
- cApiShortUrlCollection
Package: Plugin\UrlShortener
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Ingo van Peeren
Located at plugins/url_shortener/classes/class.url_shortener.shorturl.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Ingo van Peeren
Located at plugins/url_shortener/classes/class.url_shortener.shorturl.php
public
|
|
public
Ambigous
|
|
public
integer
|
#
isValidShortUrl( string $shorturl )
Checks whether the given short URL is valid with the following criteria: - given url is not a directory in the client folder - given url respects minimum length - given url contains only valid characters - given url is not an article or category alias |
_getPropertiesCollectionInstance(),
_getSecondDBInstance(),
_resetItem(),
escape()
|
_executeCallbacks(),
register(),
unregister()
|
integer |
ERR_IS_CLIENT_FOLDER
|
#
1
|
integer |
ERR_TOO_SHORT
|
#
2
|
integer |
ERR_INVALID_CHARS
|
#
3
|
integer |
ERR_IS_ARTICLE_ALIAS
|
#
4
|
integer |
ERR_IS_CATEGORY_ALIAS
|
#
5
|
integer |
ERR_ALREADY_EXISTS
|
#
6
|
CREATE_BEFORE,
CREATE_FAILURE,
CREATE_SUCCESS,
DELETE_BEFORE,
DELETE_FAILURE,
DELETE_SUCCESS,
STORE_BEFORE,
STORE_FAILURE,
STORE_SUCCESS
|
$_className,
$_oCache,
$_settings,
$db,
$lasterror,
$primaryKey,
$properties,
$secondDb,
$table,
$virgin
|