Hawk - PHP documentation
  • Namespace
  • Class
  • Tree

Namespaces

  • Hawk
    • View
      • Plugins

Classes

  • App
  • ButtonInput
  • Cache
  • CheckboxInput
  • ColorInput
  • Conf
  • Controller
  • Crypto
  • DatabaseSessionHandler
  • DatetimeInput
  • DB
  • DBExample
  • DeleteInput
  • Dialogbox
  • EmailInput
  • ErrorHandler
  • Event
  • FileInput
  • FileSystem
  • FloatInput
  • Form
  • FormFieldset
  • FormInput
  • GenericModel
  • GifImage
  • HawkApi
  • HawkUpdater
  • HiddenInput
  • HtmlInput
  • HTTPRequest
  • Icon
  • Image
  • IntegerInput
  • ItemList
  • ItemListField
  • JpegImage
  • Lang
  • Language
  • LeftSidebarTab
  • Less
  • Logger
  • Mail
  • MenuItem
  • Model
  • NoSidebarTab
  • NumberInput
  • ObjectInput
  • Option
  • Panel
  • PasswordInput
  • Permission
  • Plugin
  • PluginInstaller
  • PngImage
  • ProfileQuestion
  • ProfileQuestionValue
  • RadioInput
  • Request
  • Response
  • RightSidebarTab
  • Role
  • RolePermission
  • Route
  • Router
  • SelectInput
  • Session
  • Singleton
  • SubmitInput
  • Tabs
  • TextareaInput
  • TextInput
  • Theme
  • TimeInput
  • Upload
  • User
  • View
  • ViewPlugin
  • Widget
  • WysiwygInput

Traits

  • Utils

Exceptions

  • AppStopException
  • DBExampleException
  • DBException
  • FileSystemException
  • HawkApiException
  • ImageException
  • MailException
  • UploadException
  • ViewException

Class HtmlInput

This class describes html inputs. These objects are not really inputs, but can be used in forms to display HTML content betweeen other inputs, for instance short description of a set of inputs.

Hawk\FormInput uses Hawk\Utils
Extended by Hawk\HtmlInput
Namespace: Hawk
Package: Form\Input
Located at Form/HtmlInput.php

Methods summary

public string
# display( )

Display the value of the input

Display the value of the input

Returns

string
The displayed HTML or text

Overrides

Hawk\FormInput::display
public boolean
# check( Hawk\Form & $form = null )

Check the submitted value format. For this class, this method always return true, because no data can be submitted

Check the submitted value format. For this class, this method always return true, because no data can be submitted

Parameters

$form
The form this "input" is associated with

Returns

boolean
True

Overrides

Hawk\FormInput::check
public string
# dbvalue( )

Get the value, formatted for MySQL database

Get the value, formatted for MySQL database

Returns

string
The value itself

Overrides

Hawk\FormInput::dbvalue

Methods inherited from Hawk\FormInput

__construct(), __toString(), create(), getInstance(), setParam(), setValue()

Methods used from Hawk\Utils

debug(), getSerializedVersion(), map()

Constants summary

string TYPE
# 'html'

Constants inherited from Hawk\FormInput

INDEPENDANT

Properties summary

public boolean $plainText

Defines if the content must be displayed as plain text

Defines if the content must be displayed as plain text

# false

Properties inherited from Hawk\FormInput

$after, $attr, $attributes, $before, $beforeLabel, $class, $dataType, $disabled, $emptyValue, $errorAt, $field, $hidden, $id, $independant, $insert, $label, $labelClass, $labelStyle, $mask, $maxlength, $name, $nl, $notDisplayed, $pattern, $placeholder, $readonly, $required, $style, $title, $tpl, $unique, $validators, $value

Hawk - PHP documentation API documentation generated by ApiGen