Blesta
  • Package
  • Class
  • Tree
  • Deprecated

Packages

  • blesta
    • app
      • components
        • events
          • default
      • controllers
      • models
    • components
      • auth
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • exchange
        • rates
          • foxrate
          • google
            • finance
          • yahoo
            • finance
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
      • json
      • modules
      • net
        • http
        • net
          • amazon
            • s3
          • geo
            • ip
      • plugins
      • recaptcha
      • security
      • session
        • cart
      • settingscollection
      • upgrades
      • upload
      • vcard
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
  • com
    • tecnick
      • tcpdf
        • blesta
          • components
            • invoice
              • templates
                • quickbooks
                  • invoice
                • templates
                  • default
  • Crypt
    • AES
    • DES
    • Hash
    • Random
    • RC4
    • Rijndael
    • RSA
    • TerraDES
  • File
    • ANSI
    • ASN1
    • X509
  • Math
    • BigInteger
  • minPHP
    • components
      • input
      • record
    • helpers
      • color
      • data
        • structure
      • date
      • html
      • xml
    • lib
  • Net
    • SFTP
    • SSH1
    • SSH2
  • None
  • PHP
  • PHPMailer
  • Services
    • JSON
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

  • Module
  • ModuleField
  • ModuleFields
  • Modules

Class ModuleField

Module Field

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

Package: blesta\components\modules
Copyright: Copyright (c) 2010, Phillips Data, Inc.
License: The Blesta License Agreement
See: ModuleFields
Link: Blesta
Located at components/modules/module_field.php

Methods summary

public
# __construct( string $type )

Constructs a new ModuleField of the given type. Types directly correlate to Form helper method names.

Constructs a new ModuleField of the given type. Types directly correlate to Form helper method names.

Parameters

$type
string
$type The type of ModuleField
public
# setParam( string $name, mixed $value )

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

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

Parameters

$name
string
$name The name of the parameter. For tooltip types this should be 'message'
$value
mixed
$value The value of the parameter
public
# setLabel( ModuleField $label )

Sets the label associated with this specific field.

Sets the label associated with this specific field.

Parameters

$label
ModuleField
$label The ModuleField label to associated with this field
public
# attach( ModuleField $field )

Attaches a field to a label ModuleField, or a tooltip to a label ModuleField. 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 ModuleField, or a tooltip to a label ModuleField. 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
ModuleField
$field The ModuleField to attach to this label

Magic methods summary

Properties summary

public string $type
#

The type of ModuleField

The type of ModuleField

public array $params
#

All parameters set for this ModuleField

All parameters set for this ModuleField

Blesta API documentation generated by ApiGen 2.8.0