url_shortener
[ class tree: url_shortener ] [ index: url_shortener ] [ all elements ]

Element index for package url_shortener

[ c ] [ d ] [ g ] [ k ] [ l ] [ n ] [ r ] [ u ] [ _ ]

_

_convert_id
in file class.url_shortener.php, method url_shortener::_convert_id()
    Converts a numeric id from decimal to alphanumeric.
_forbidden_url
in file class.url_shortener.php, method url_shortener::_forbidden_url()
    Checks if a URL contains forbidden parts
_get_ip
in file class.url_shortener.php, method url_shortener::_get_ip()
    Returns the ip of current client
_get_redirect_by_key
in file class.url_shortener.php, method url_shortener::_get_redirect_by_key()
    Searches a Key in the database and returns the whole dataset
_get_redirect_by_url
in file class.url_shortener.php, method url_shortener::_get_redirect_by_url()
    Searches a URL in the database and returns the whole dataset
_insert_url
in file class.url_shortener.php, method url_shortener::_insert_url()
    Inserts a URL to the database and returns the whole dataset
_valid_url
in file class.url_shortener.php, method url_shortener::_valid_url()
    Validates a URL with global regex
top

c

count_urls
in file class.url_shortener.php, method url_shortener::count_urls()
    Simply returns the number of current urls
class.url_shortener.php
procedural page class.url_shortener.php
top

d

$db_table_hits
in file class.url_shortener.php, variable url_shortener::$db_table_hits
    Name of Database table for storing redirect hits
$db_table_redirect
in file class.url_shortener.php, variable url_shortener::$db_table_redirect
    Name of Database table for storing urls and keys
top

g

get_redirect
in file class.url_shortener.php, method url_shortener::get_redirect()
    Method for selecting a redirect from database
get_redirect_count
in file class.url_shortener.php, method url_shortener::get_redirect_count()
    Simply returns the number of current hits for this key
top

k

$key_base
in file class.url_shortener.php, variable url_shortener::$key_base
    Convertion basis for the key convert method.
top

l

log_redirect
in file class.url_shortener.php, method url_shortener::log_redirect()
    Logs a redirect hit by key
top

n

new_redirect
in file class.url_shortener.php, method url_shortener::new_redirect()
    Method for creating a new redirect
top

r

$regex_valid_url
in file class.url_shortener.php, variable url_shortener::$regex_valid_url
    Regex for URL validation
top

u

$url_parts_forbidden
in file class.url_shortener.php, variable url_shortener::$url_parts_forbidden
    List of forbidden URL parts
url_shortener
in file class.url_shortener.php, class url_shortener
    Class for shortening urls The urls will be stored in a MySQL database, read doku for table Format.
top

Documentation generated on Fri, 29 Jan 2010 08:49:10 +0100 by phpDocumentor 1.4.3