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: Simon Sprankel
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: Simon Sprankel
Located at plugins/url_shortener/classes/class.url_shortener.shorturl.php
public
|
|
public
|
|
public
integer
|
#
isValidShortUrl( string $shorturl )
Checks whether the given short URL is valid with the following criteria:
|
_getPropertiesCollectionInstance(),
_getSecondDBInstance(),
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
|