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

  • AbstractField
  • AuthorField
  • BasicField
  • DateField
  • FileField
  • FlexibleContentField
  • GoogleMapField
  • ImageField
  • NullField
  • NumberField
  • PostField
  • RepeaterField
  • SelectField
  • TaxonomyField

Class AbstractField

Base custom field entity.

Tev\Field\Model\AbstractField implements Tev\Contracts\WordpressWrapperInterface

Direct known subclasses

Tev\Field\Model\AuthorField, Tev\Field\Model\BasicField, Tev\Field\Model\TaxonomyField, Tev\Field\Model\DateField, Tev\Field\Model\FileField, Tev\Field\Model\GoogleMapField, Tev\Field\Model\NullField, Tev\Field\Model\NumberField, Tev\Field\Model\PostField, Tev\Field\Model\RepeaterField, Tev\Field\Model\SelectField

Indirect known subclasses

Tev\Field\Model\FlexibleContentField, Tev\Field\Model\ImageField

Abstract
Namespace: Tev\Field\Model
Located at Tev/Field/Model/AbstractField.php

Methods summary

public
# __construct( array $base )

Constructor.

Constructor.

Parameters

$base
Underlying customer field array
public string
# getKey( )

Get the key for this field.

Get the key for this field.

Returns

string
public string
# getName( )

Get the name of this field.

Get the name of this field.

Returns

string
public mixed
# val( )

Get the field value.

Get the field value.

Alias for getValue().

Returns

mixed
Field value
public array
# getBaseObject( )

Get the underlying field array

Get the underlying field array

Returns

array

Implementation of

Tev\Contracts\WordpressWrapperInterface::getBaseObject()
public string
# __toString( )

When attempting to echo this field print its value as a string.

When attempting to echo this field print its value as a string.

Returns

string
Field value
abstract public mixed
# getValue( )

Get the value of this field.

Get the value of this field.

Returns

mixed
Field value

Properties summary

protected array $base

Underlying custom field array.

Underlying custom field array.

#
3ev Core Wordpress library API API documentation generated by ApiGen