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

  • AbstractField

Interfaces

  • FieldInterface
  • FieldsInterface
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Interface FieldInterface

Field Interface

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

Direct known implementers

Blesta\Core\Util\Input\Fields\Common\AbstractField

Indirect known implementers

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

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

Sets all parameters for this FieldInterface, 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\Common\FieldInterface
public Blesta\Core\Util\Input\Fields\Common\FieldInterface
# 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\Common\FieldInterface
public Blesta\Core\Util\Input\Fields\Common\FieldInterface
# 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\Common\FieldInterface
Blesta API documentation generated by ApiGen