Properties

$delete

$delete : 

Type

$fr_error

$fr_error : 

Type

$renderControl

$renderControl : array

Type

array

$linkClassSelector

$linkClassSelector : 

Type

$cssLinkClassInternal

$cssLinkClassInternal : 

Type

$cssLinkClassExternal

$cssLinkClassExternal : 

Type

$callTable

$callTable : 

Type

$tableVarName

$tableVarName : 

Type

$varsDefault

$varsDefault : 

Type

Methods

__construct()

__construct(  $fr_error, \qfq\Sip  $sip, boolean  $phpUnit = false) 

__construct

Parameters

$fr_error
\qfq\Sip $sip
boolean $phpUnit

renderLink()

renderLink(string  $str) : string

Build the whole link

Parameters

string $str

Qualifier with params. 'report'-syntax. F.e.: A:u:www.example.com|G:P:home.gif|t:Home"

Throws

\qfq\UserReportException

Returns

string —

The complete HTML encoded Link like Description

initVars()

initVars() : array

Cleans the standard vars used every time to render a link.

Returns

array

parseItem()

parseItem(array  $vars,   $item) 

Parse Item of link string, fill class global variables.

Parameters

array $vars
$item

Throws

\qfq\CodeException
\qfq\UserReportException

doCssClass()

doCssClass(array  $vars) : void

Parse CSS Class Settings

Parameters

array $vars

doHtmlUrl()

doHtmlUrl(array  $vars) : string

Builds complete HTML anchor.

Parameters

array $vars

Throws

\qfq\UserReportException

Returns

string

doHtmlImageGlyph()

doHtmlImageGlyph(array  $vars) : string

Create Image HTML Tag

Parameters

array $vars

Returns

string

encryptMailtoJS()

encryptMailtoJS(array  $vars, boolean|TRUE  $href = TRUE) : string

Encrypt the mailto address via JS.

Email address protected against email crawler (as long as they don't interpret JS).

';

Parameters

array $vars
boolean|TRUE $href

TRUE: create a '', false: just encrypt or show the email, no link.

Returns

string

splitAndAddDelimter()

splitAndAddDelimter(  $mailto,   $delimiter) : array

Split a string around the $delimiter.

Append the delimiter to each part except the last one.

Parameters

$mailto
$delimiter

Returns

array

buildUrl()

buildUrl(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

buildMail()

buildMail(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

buildPage()

buildPage(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

Throws

\qfq\UserReportException

buildPicture()

buildPicture(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

buildBullet()

buildBullet(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

buildCheck()

buildCheck(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

buildDelete()

buildDelete(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

buildEdit()

buildEdit(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

buildHelp()

buildHelp(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

buildInfo()

buildInfo(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

buildNew()

buildNew(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value

buildShow()

buildShow(  $vars,   $key,   $value) 

Called by $this->callTable

Parameters

$vars
$key
$value