Hawk - PHP documentation
  • Namespace
  • Class
  • Tree

Namespaces

  • Hawk
    • View
      • Plugins

Classes

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

Class Panel

This class is used to display a panel in a view

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

Methods summary

public string
# display( )

Display the panel

Display the panel

Returns

string
the displayed HTML

Methods inherited from Hawk\ViewPlugin

__construct(), __toString()

Methods used from Hawk\Utils

debug(), getSerializedVersion(), map()

Properties summary

public $id

The 'id' attribute of the panel

The 'id' attribute of the panel

#
public string $title

The panel title

The panel title

#
public string $icon

The panel title icon

The panel title icon

#
public string $content

The panel content

The panel content

#
public string $type

The panel type : 'default', 'info', 'primary', 'success', 'warning', or 'danger'

The panel type : 'default', 'info', 'primary', 'success', 'warning', or 'danger'

#

Properties inherited from Hawk\ViewPlugin

$params, $viewData, $viewFile

Hawk - PHP documentation API documentation generated by ApiGen