Abstract class for quickly creating a tabbed bar, or rather a div that contains a number of links, adding specific classes for display.

package Gems
subpackage Snippets
copyright Copyright (c) 2011 Erasmus MC
license New BSD License
since Class available since version 1.6

 Methods

Create the snippets content

getHtmlOutput(\Zend_View_Abstract $view) : \MUtil_Html_HtmlInterface

This is a stub function either override getHtmlOutput() or override render()

Parameters

$view

\Zend_View_Abstract

Just in case it is needed here

Returns

\MUtil_Html_HtmlInterfaceSomething that can be rendered

 Properties

 

$basepath

$basepath : \Gems_Util_BasePath

Default

 

Shortfix to add class attribute

$class : string

Default

'horizontal_scroll_menu'
 

Label of the next button

$nextLabel : string

Default

'>'
 

Label of the previous button

$prevLabel : string

Default

'<'
 

Show scroll controls from this number of tabs

$scrollFromSize : integer

Default

4
 

String that is added to a cut off label

$tabLabelCutOffString : string

Default

'...'
 

Length of a label before it is cut off

$tabLabelLength : integer

Default

20
 

$view

$view : \Zend_View

Default