\Whups_Form_Renderer_Comment

Copyright 2001-2002 Robert E. Coyle <robertecoyle@hotmail.com> Copyright 2001-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (BSD). If you did not receive this file, see http://www.horde.org/licenses/bsdl.php.

Summary

Methods
Properties
Constants
begin()
render()
end()
No public properties found
No constants found
_writeTokens()
_readTokens()
_autolink()
$_tokens
N/A
No private methods found
No private properties found
N/A

Properties

$_tokens

$_tokens : array

Intermediate storage for links during comment formatting.

Type

array

Methods

begin()

begin(  $title) 

Parameters

$title

render()

render(  $transaction,   $vars) 

Parameters

$transaction
$vars

end()

end() 

_writeTokens()

_writeTokens(array  $matches) : string

Replaces links with tokens and stores them for later _readTokens() calls.

Parameters

array $matches

Match from preg_replace_callback().

Returns

string —

NUL character.

_readTokens()

_readTokens() : string

Replaces tokens with links stored earlier during _writeTokens() calls.

Returns

string —

The first available link.

_autolink()

_autolink(  $matches) 

Parameters

$matches