Public Member Functions | Protected Attributes

tyLinkTypePlugin Class Reference

Public Member Functions

 __construct ($options=null)
 getLinkType ()
 getCaption ()
 getClassStr ()
 getJavascripts ()
 getStylesheets ()
 getHeadContent ()
 getOnload ()
 requiresTyQuery ()
 linkCheckCall ()
 getLinkBuildCall ()
 getHref (&$request)
 __toString ()

Protected Attributes

 $options = null
 $type = 'default'
 $caption = '[keine Bezeichnung]'
 $classStr = 'myty-default-link'

Detailed Description

default class for linktype plugins


Member Function Documentation

tyLinkTypePlugin::__toString ( )

output the code

Returns:
string
tyLinkTypePlugin::getCaption ( )

returns the caption of link type

Returns:
string
tyLinkTypePlugin::getClassStr ( )

returns the class string for link tag

Returns:
string
tyLinkTypePlugin::getHeadContent ( )

returns additional contents for head tag like javascript tags or meta informations

Returns:
string
tyLinkTypePlugin::getHref ( &$  request)

returns the value for the href attribute

Parameters:
array$requestvalues sent by form
Returns:
string
tyLinkTypePlugin::getJavascripts ( )

returns an array of additional required javascript includes

Returns:
array
tyLinkTypePlugin::getLinkBuildCall ( )

returns the name of a previously declared javascript function to modify the properties of the anchor node this function must be callable in global context

Returns:
string javascript function
tyLinkTypePlugin::getLinkType ( )

returns the type of link

Returns:
string
tyLinkTypePlugin::getOnload ( )

returns additional onload calls

Returns:
string
tyLinkTypePlugin::getStylesheets ( )

returns an array of additional required stylesheet includes

Returns:
array
tyLinkTypePlugin::linkCheckCall ( )

returns the name of a function that will be called to scan the link node for current link type this function must be callable in global context

Returns:
string
tyLinkTypePlugin::requiresTyQuery ( )

returns true if tyQuery is required

Returns:
boolean

The documentation for this class was generated from the following file: