package | Default |
---|
__construct(array $config = array())
'topbarId' => The topbar ID. Will normally be used as ID for container html element of the topbar. 'leftSideView' => The name of the view to use for the left side of the topbar. 'rightSideView' => The name of the view to use for the right side of the topbar. 'hide' => Boolean indicating if the topbar should be hidden (used to hide the controller's default topbar on some actions)
array
createFromViewData(array $aData): \TopbarConfiguration
getData()
getId()
getLeftSideData()
getLeftSideView()
getRightSideData()
getRightSideView()
getSid( $config)
getSurveyData()
getViewData( $view)
getViewName()
shouldHide()
viewName :string
var | Name of the topbar view |
---|
string
id :string
var | Topbar ID |
---|
string
data :array
var | Data to be passed to the view |
---|
array
leftSideView :string
var | Name of the view used to render the left side of the topbar |
---|
string
rightSideView :string
var | Name of the view used to render the right side of the topbar |
---|
string
hide :boolean
var | Flag to hide the whole topbar |
---|
boolean
extraDataMapping :array
var | Maps views to the methods used to get their extra data |
---|
array