package net.nemein.redirector

 Methods

_handler_create (mixed $handler_id, array $args, array $data)

Create a new TinyURL

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_handler_edit (mixed $handler_id, array $args, array $data)

Edit an existing TinyURL

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_handler_list (mixed $handler_id, array $args, array $data)

List TinyURLs

Parameters

$handler_id

mixedThe ID of the handler.

$args

arrayThe argument list.

$data

array&$data The local request data.

_show_create (mixed $handler_id, array $data)

Show the creation form

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_edit (mixed $handler_id, array $data)

Show the creation form

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

_show_list (mixed $handler_id, array $data)

Show the list of TinyURL's

Parameters

$handler_id

mixedThe ID of the handler.

$data

array&$data The local request data.

dm2_create_callback ($controller)

DM2 creation callback, binds to the current content topic.

Parameters

$controller

load_schemadb ()

_get_item (mixed $rule)

Get the item according to the given rule

Parameters

$rule

mixed

Returns

falseon failure or net_nemein_redirector_tinyurl_dba on success

_populate_request_data (String $handler_id)

Populate request data

Parameters

$handler_id

String

 Properties

 

\midcom_helper_datamanager2_datamanager $_datamanager

Datamanager2 instance
 

\net_nemein_redirector_tinyurl $_tinyurl

TinyURL object
 

array $_tinyurls

TinyURL object array