Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\MediaWiki\Renderer\HtmlColumnListRenderer Class Reference

Public Member Functions

 setColumnListClass ($columnListClass)
 
 setColumnClass ($columnClass)
 
 setColumnRTLDirectionalityState ($isRTL)
 
 setNumberOfColumns ($numberOfColumns)
 
 setListType ($listType)
 
 addContentsByNoIndex (array $contentsByNoIndex)
 
 addContentsByIndex (array $contentsByIndex)
 
 getHtml ()
 

Detailed Description

Simple list formatter to transform an indexed array (e.g. array( 'F' => array( 'Foo', 'Bar' ) ) into a column divided list.

GNU GPL v2+

Since
2.1
Author
mwjames
Markus Krötzsch

Member Function Documentation

SMW\MediaWiki\Renderer\HtmlColumnListRenderer::addContentsByIndex ( array  $contentsByIndex)
Since
2.1
Parameters
string[]$contentsByIndex
Returns
HtmlColumnListRenderer
SMW\MediaWiki\Renderer\HtmlColumnListRenderer::addContentsByNoIndex ( array  $contentsByNoIndex)
Since
2.1
Parameters
string[]$contentsByNoIndex
Returns
HtmlColumnListRenderer
SMW\MediaWiki\Renderer\HtmlColumnListRenderer::getHtml ( )
Since
2.1
Returns
string
SMW\MediaWiki\Renderer\HtmlColumnListRenderer::setColumnClass (   $columnClass)
Since
2.2
Parameters
string$columnListClass
Returns
HtmlColumnListRenderer
SMW\MediaWiki\Renderer\HtmlColumnListRenderer::setColumnListClass (   $columnListClass)
Since
2.2
Parameters
string$columnListClass
Returns
HtmlColumnListRenderer
SMW\MediaWiki\Renderer\HtmlColumnListRenderer::setColumnRTLDirectionalityState (   $isRTL)
Since
2.3
Parameters
boolean$isRTL
SMW\MediaWiki\Renderer\HtmlColumnListRenderer::setListType (   $listType)
Since
2.1
Parameters
string$listType
Returns
HtmlColumnListRenderer
SMW\MediaWiki\Renderer\HtmlColumnListRenderer::setNumberOfColumns (   $numberOfColumns)
Since
2.1
Parameters
integer$numberOfColumns
Returns
HtmlColumnListRenderer

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