Hawk - PHP documentation
  • Namespace
  • Class
  • Tree

Namespaces

  • Hawk
    • View
      • Plugins

Classes

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

Class Button

This class is used in views to display a button

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

Methods summary

public string
# display( )

Display the button

Display the button

Returns

string
The html result describing the button

Methods inherited from Hawk\ViewPlugin

__construct(), __toString()

Methods used from Hawk\Utils

debug(), getSerializedVersion(), map()

Properties summary

public string $class

The class attribute to apply to the button

The class attribute to apply to the button

# ''
public string $icon

The icon to display in the button

The icon to display in the button

# ''
public string $label

The text to display in the button

The text to display in the button

# ''
public array $param

The other parameters to apply

The other parameters to apply

# array()

Properties inherited from Hawk\ViewPlugin

$params, $viewData, $viewFile

Hawk - PHP documentation API documentation generated by ApiGen