BlueSpice MediaWiki master
 All Classes Namespaces Files Functions Variables Groups Pages
BlueSpice\Calumma\Template Class Reference
Inheritance diagram for BlueSpice\Calumma\Template:
Collaboration diagram for BlueSpice\Calumma\Template:

Public Member Functions

 __construct (\Config $config=null)
 
 execute ()
 
 html ($key)
 
 getSkin ()
 
 getComponent (\DOMElement $description, $indent=0, $htmlClassAttribute= '')
 
 makeListItem ($key, $item, $options=array())
 
 printCustomBottomScripts ()
 
- Public Member Functions inherited from Skins\Chameleon\ChameleonTemplate
 execute ()
 
 html ($key)
 
 getSkin ()
 
 getComponent (\DOMElement $description, $indent=0, $htmlClassAttribute= '')
 
 makeListItem ($key, $item, $options=array())
 
- Public Member Functions inherited from BaseTemplate
 getMsg ($name)
 
 msg ($str)
 
 msgHtml ($str)
 
 msgWiki ($str)
 
 getToolbox ()
 
 getPersonalTools ()
 
 getSidebar ($options=[])
 
 makeLink ($key, $item, $options=[])
 
 makeListItem ($key, $item, $options=[])
 
 makeSearchInput ($attrs=[])
 
 makeSearchButton ($mode, $attrs=[])
 
 getFooterLinks ($option=null)
 
 getFooterIcons ($option=null)
 
 getIndicators ()
 
 printTrail ()
 
 getTrail ()
 
- Public Member Functions inherited from QuickTemplate
 __construct (Config $config=null)
 
 set ($name, $value)
 
 extend ($name, $value)
 
 get ($name, $default=null)
 
 setRef ($name, &$value)
 
 execute ()
 
 getSkin ()
 
 getHTML ()
 

Public Attributes

const DATA_SITE_NAV = 'bs_navigation_main'
 
const DATA_SITE_TOOLS = 'bs_sitetools_main'
 
- Public Attributes inherited from QuickTemplate
 $data
 

Protected Member Functions

 prepareData ()
 
- Protected Member Functions inherited from BaseTemplate
 renderAfterPortlet ($name)
 
 getAfterPortlet ($name)
 
 getFooter ($iconStyle= 'icononly', $linkStyle= 'flat')
 
 getClear ()
 

Additional Inherited Members

- Protected Attributes inherited from QuickTemplate
 $config
 

Detailed Description

BaseTemplate class for the Chameleon skin

Author
Stephan Gambke
Since
1.0

Member Function Documentation

BlueSpice\Calumma\Template::execute ( )

Outputs the entire contents of the page

BlueSpice\Calumma\Template::getComponent ( \DOMElement  $description,
  $indent = 0,
  $htmlClassAttribute = '' 
)
Parameters
\DOMElement$description
int$indent
string$htmlClassAttribute
Exceptions
\MWException
Returns
BlueSpice\Calumma\Template::getSkin ( )

Get the Skin object related to this object

Returns
SkinChameleon
BlueSpice\Calumma\Template::html (   $key)

Overrides method in parent class that is unprotected against non-existent indexes in $this->data

Parameters
string$key
Returns
string|void
BlueSpice\Calumma\Template::makeListItem (   $key,
  $item,
  $options = array() 
)

Generates a list item for a navigation, portlet, portal, sidebar... list

Overrides the parent function to ensure ids are unique.

Parameters
$keystring, usually a key from the list you are generating this link from.
$itemarray, of list item data containing some of a specific set of keys.

The "id" and "class" keys will be used as attributes for the list item, if "active" contains a value of true a "active" class will also be appended to class.

Parameters
$optionsarray
Returns
string

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