Hawk - PHP documentation
  • Namespace
  • Class
  • Tree

Namespaces

  • Hawk
    • View
      • Plugins

Classes

  • Accordion
  • Button
  • Form
  • Icon
  • Import
  • Panel
  • Tabs
  • Text
  • Uri
  • Widget

Class Accordion

This class is used to display an accordion in a view

Hawk\ViewPlugin uses Hawk\Utils
Extended by Hawk\View\Plugins\Accordion
Namespace: Hawk\View\Plugins
Package: View\Plugins
Located at view-plugins/Accordion.php

Methods summary

public string
# display( )

Display the accordion

Display the accordion

Returns

string
The displayed HTML

Methods inherited from Hawk\ViewPlugin

__construct(), __toString()

Methods used from Hawk\Utils

debug(), getSerializedVersion(), map()

Properties summary

public string $id

The 'id' attribute of the accordion

The 'id' attribute of the accordion

#
public string $selected

The defaultly selected panel

The defaultly selected panel

#
public array $panels

The panels set

The panels set

#

Properties inherited from Hawk\ViewPlugin

$params, $viewData, $viewFile

Hawk - PHP documentation API documentation generated by ApiGen