Hawk - PHP documentation
  • Namespace
  • Class
  • Tree

Namespaces

  • Hawk
    • View
      • Plugins

Classes

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

Class Text

This class is used in view to display a language key

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

Methods summary

public string
# display( )

Display the language key

Display the language key

Returns

string
The HTML result to display

Methods inherited from Hawk\ViewPlugin

__construct(), __toString()

Methods used from Hawk\Utils

debug(), getSerializedVersion(), map()

Properties summary

public string $key

The language key

The language key

#
public $number

The key index, used if the key is an array of keys, defined for singular and plural

The key index, used if the key is an array of keys, defined for singular and plural

#

Properties inherited from Hawk\ViewPlugin

$params, $viewData, $viewFile

Hawk - PHP documentation API documentation generated by ApiGen