BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
BsBaseTemplate Class Reference
Inheritance diagram for BsBaseTemplate:
Collaboration diagram for BsBaseTemplate:

Public Member Functions

 sortDataArrayByPosition (&$data)
 
 getToolbox ()
 
 getToolBoxWidget ()
 
 onBSWidgetListHelperInitKeyWords (&$aKeywords, $oTitle)
 
 printTitleActions ()
 
 printExportMenu ()
 
 execute ()
 
 getPersonalTools ()
 
 printFooter ()
 
- 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 ()
 
- Public Member Functions inherited from QuickTemplate
 __construct (Config $config=null)
 
 set ($name, $value)
 
 extend ($name, $value)
 
 get ($name, $default=null)
 
 setRef ($name, &$value)
 
 setTranslator (&$t)
 
 execute ()
 
 getSkin ()
 
 getHTML ()
 

Protected Member Functions

 processDataArray ($data, $return=false)
 
 processData ($data, $return=false)
 
 sortDataArrayByPositionCallback ($itemA, $itemB)
 
 prepareData ()
 
 prepareDataAfterContent ()
 
 printLogo ()
 
 printNavigationMain ()
 
 printDataBeforeContent ()
 
 printDataAfterContent ()
 
 printContentActions ()
 
 printSiteNotice ()
 
 printFirstHeading ()
 
 getToolboxMarkUp ($bRenderHeading=true)
 
 printToolBox ()
 
 getNavigationSidebar ()
 
 printPersonalTools ()
 
 printPersonalInfo (&$aOut)
 
 printSkyScraper ()
 
 printNavigationSites ()
 
 printSearchBox ()
 
 tooltipAndAccesskeyAttribs ($sName)
 
- Protected Member Functions inherited from BaseTemplate
 renderAfterPortlet ($name)
 

Additional Inherited Members

- Protected Attributes inherited from QuickTemplate
 $config
 

Member Function Documentation

BsBaseTemplate::getPersonalTools ( )

Overrides base class method to make sure "login/logout" is always the last item

Returns
array
BsBaseTemplate::prepareDataAfterContent ( )
protected

Transfers $this->data['bs_dataAfterContent'] to $this->data['dataAfterContent']. Very skin dependent. Usually is is rendered as jquery.ui-tabbable markup

Returns
boolean Wether or not the data was could be processed
BsBaseTemplate::printPersonalTools ( )
protected

Title $wgTitle User $wgUser WebRequest $wgRequest

BsBaseTemplate::processData (   $data,
  $return = false 
)
protected

Returns or echoes HTML generated from an ambigous data array. Performs a ksort on the array first

Parameters
array$dataCan contain "ViewBaseElement"s, "BaseTemplate::makeListItem"-arrays or strings
bool$returnWether to return the gernerated HTML or output it directly to stdout
Returns
string Empty string if $return == false, otherwise the HTML produced from the $data array
BsBaseTemplate::processDataArray (   $data,
  $return = false 
)
protected

Returns or echoes HTML generated from an ambigous data array

Parameters
mixed$dataCan contain "ViewBaseElement"s, "BaseTemplate::makeListItem"-arrays or strings. Or it can be a string
bool$returnWether to return the gernerated HTML or output it directly to stdout
Returns
string Empty string if $return == false, otherwise the HTML produced from the $data array
BsBaseTemplate::sortDataArrayByPositionCallback (   $itemA,
  $itemB 
)
protected

Expects arrays with index 'position' of type integer

Parameters
array$itemA
array$itemB
Returns
int The result of comparison

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