3ev Core Wordpress library API
  • Namespace
  • Class

Namespaces

  • Tev
    • Application
      • Bootstrap
    • Author
      • Model
    • Contracts
    • Database
      • CustomTables
    • Field
      • Model
      • Util
    • Plugin
      • Action
      • Shortcode
    • Post
      • Model
      • Repository
    • Taxonomy
      • Model
      • Repository
    • Term
      • Model
      • Repository
    • Util
    • View
      • Exception
  • None

Classes

  • FieldGroup
  • LayoutFieldGroup

Class FieldGroup

Utility object that provides access to a group of fields.

Used internally by RepeaterField and similar to access each individual set of fields.

Direct known subclasses

Tev\Field\Util\LayoutFieldGroup

Namespace: Tev\Field\Util
Located at Tev/Field/Util/FieldGroup.php

Methods summary

public
# __construct( array $fields, array $values, Tev\Field\Model\AbstractField $parent, Tev\Field\Factory $fieldFactory )

Constructor.

Constructor.

Parameters

$fields
Set of field data
$values
Set of field values
$parent
Parent field
$fieldFactory
Field factory
public Tev\Field\Model\AbstractField
# field( string $field )

Get a field from the group.

Get a field from the group.

Parameters

$field
Field name or key

Returns

Tev\Field\Model\AbstractField
Field object

Throws

Exception
If field does not exist
public Tev\Field\Model\AbstractField
# parent( )

Get the parent of this field.

Get the parent of this field.

Returns

Tev\Field\Model\AbstractField
3ev Core Wordpress library API API documentation generated by ApiGen