Overview

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • auth
        • ldap
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
      • exchange
        • rates
          • currency
            • layer
          • fixer
          • open
            • exchange
              • rates
          • x
            • rates
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • perforated
            • invoice
          • quickbooks
            • invoice
          • templates
            • default
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • reports
        • aging
          • invoices
        • client
          • data
            • portability
        • custom
          • report
        • invoice
          • creation
        • package
          • revenue
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • core
      • Automation
        • Tasks
          • Common
          • Task
        • Type
          • Common
          • Cron
      • Pricing
        • ItemComparator
        • MetaItem
        • Modifier
          • Type
            • Description
              • Type
                • Discount
                • Option
                • Service
                • Tax
            • Discount
            • Price
            • Proration
        • Presenter
          • Build
            • Invoice
            • InvoiceData
            • Options
            • Service
            • ServiceChange
            • ServiceData
          • Collection
          • Format
            • Fields
            • Type
              • Discount
              • Item
              • Option
              • Options
              • Package
              • Pricing
              • Service
              • Tax
          • Items
            • Invoice
            • Service
          • Type
      • ServiceProviders
      • Util
        • Captcha
          • Captchas
          • Common
        • Common
          • Traits
        • Events
          • Common
          • Handlers
          • Observers
        • Filters
          • Common
        • GeoIp
        • Input
          • Fields
            • Common
        • Tax
        • Widgets
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • helpers
      • color
      • data
        • structure
  • None
  • PHP

Classes

  • InputField
  • InputFields
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Class InputField

Input Field

Stores information regarding a particular Input Field, which may consist of a label, tooltip, input field, or some combination thereof.

Blesta\Core\Util\Input\Fields\Common\AbstractField implements Blesta\Core\Util\Input\Fields\Common\FieldInterface
Extended by Blesta\Core\Util\Input\Fields\InputField

Direct known subclasses

ModuleField
Namespace: Blesta\Core\Util\Input\Fields
Package: blesta\core\Util\Input\Fields
Copyright: Copyright (c) 2020, Phillips Data, Inc.
License: The Blesta License Agreement
See: Blesta\Core\Util\Input\Fields\InputFields
Link: Blesta
Located at core/Util/Input/Fields/InputField.php
Methods summary
public Blesta\Core\Util\Input\Fields\InputField
# setParam( string $name, mixed $value )

Sets all parameters for this InputField, which will be dispatched to the appropriate Form helper method when needed, or to the tooltip.

Sets all parameters for this InputField, which will be dispatched to the appropriate Form helper method when needed, or to the tooltip.

Parameters

$name
The name of the parameter. For tooltip types this should be 'message'
$value
The value of the parameter

Returns

Blesta\Core\Util\Input\Fields\InputField
public Blesta\Core\Util\Input\Fields\InputField
# setLabel( Blesta\Core\Util\Input\Fields\Common\FieldInterface $label )

Sets the label associated with this specific field.

Sets the label associated with this specific field.

Parameters

$label
The FieldInterface label to associated with this field

Returns

Blesta\Core\Util\Input\Fields\InputField
public Blesta\Core\Util\Input\Fields\InputField
# attach( Blesta\Core\Util\Input\Fields\Common\FieldInterface $field )

Attaches a field to a label FieldInterface, or a tooltip to a label FieldInterface. Only field and tooltip types can be attached to a label. So the current object must be of type "label". And $field must be of some other type.

Attaches a field to a label FieldInterface, or a tooltip to a label FieldInterface. Only field and tooltip types can be attached to a label. So the current object must be of type "label". And $field must be of some other type.

Parameters

$field
The FieldInterface to attach to this label

Returns

Blesta\Core\Util\Input\Fields\InputField
Methods inherited from Blesta\Core\Util\Input\Fields\Common\AbstractField
__construct()
Properties summary
public array $params

All parameters set for this InputField

All parameters set for this InputField

# []
public array $fields

All fields or tooltips attached to this label

All fields or tooltips attached to this label

# []
Properties inherited from Blesta\Core\Util\Input\Fields\Common\AbstractField
$type
Blesta API documentation generated by ApiGen