JFormFieldForeignKey - JoomlaPubDB/PubDB GitHub Wiki

Class: \JFormFieldForeignKey

Namespace: [](../namespaces/default)


Summary:

Supports a value from an external table


Constants

  • No constants found

Properties


Methods


Details


Tags

Tag Version Description
since 1.6

Properties

protected $type : string


Summary

The form field type.

Type: string

Details:

Tags
Tag Version Description
since 1.6

private $input_type :


Type:

Details:

private $table :


Type:

Details:

private $key_field :


Type:

Details:

private $value_field :


Type:

Details:


Methods

public getAttribute() : mixed

public getAttribute(string  $attr_name, mixed  $default = null) : mixed

Summary

Wrapper method for getting attributes from the form element

Details:

Parameters:
Type Name Description
string $attr_name Attribute name
mixed $default Optional value to return if attribute not found

Returns: mixed - The value of the attribute if it exists, null otherwise

protected getInput() : string

protected getInput() : string

Summary

Method to get the field input markup.

Details:

Returns: string - The field input markup.

Tags
Tag Version Description
since 1.6

Top Namespaces


Reports


This document was automatically generated from source code comments on 2020-07-13 using phpDocumentor and fr3nch13/phpdoc-markdown

⚠️ **GitHub.com Fallback** ⚠️