Skip to content
Torro Forms Developer Resources

Torro Forms Developer Resources

  • Tutorials
  • Reference
    • Classes
    • Traits
    • Interfaces
    • Functions
    • Methods
    • Hooks

File: src/db-objects/elements/element-types/element-type.php

awsmug\Torro_Forms\DB_Objects\Elements\Element_Types

Element_Type::add_required_settings_field()

Adds a settings field for specifying whether the element is required to be filled in.

Source: src/db-objects/elements/element-types/element-type.php:716
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types

Element_Type::add_css_classes_settings_field()

Adds a settings field for specifying additional CSS classes for the input.

Source: src/db-objects/elements/element-types/element-type.php:737
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types

Element_Type::sanitize_settings_sections()

Sanitizes the settings sections.

Source: src/db-objects/elements/element-types/element-type.php:752
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types

Element_Type::sanitize_settings_fields()

Sanitizes the settings fields.

Source: src/db-objects/elements/element-types/element-type.php:767
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types

Element_Type::get_export_column_choices_yes_no()

Gets the two strings indicating ‘Yes’ and ‘No’ in an export column.

Source: src/db-objects/elements/element-types/element-type.php:545

torro_export_column_choices_yes_no

Filter Hook: Filters the two strings to use for choice export columns indicating whether the choice was included in the submission or not.

Source: src/db-objects/elements/element-types/element-type.php:563
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types

Element_Type::use_single_export_column_for_choices()

Checks whether a single export column should be used for all choices.

Source: src/db-objects/elements/element-types/element-type.php:576

torro_use_single_export_column_for_choices

Filter Hook: Filters whether to only render a single column for all choices when exporting submissions.

Source: src/db-objects/elements/element-types/element-type.php:591
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types

Element_Type::escape_single_value_for_export()

Escapes a single value for a specific export format.

Source: src/db-objects/elements/element-types/element-type.php:603
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types

Element_Type::create_error()

Creates a new error object.

Source: src/db-objects/elements/element-types/element-type.php:651

Posts navigation

See more

This website is powered by

High-Performance WordPress-Hosting & WP Management Dashboard

© 2018 Torro Forms by Awesome UG - Germany