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/base/media.php

awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base

Media::get_file_mime_types()

Gets the available file mime types.

Source: src/db-objects/elements/element-types/base/media.php:274
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base

Media::get_media_types()

Gets the available media types.

Source: src/db-objects/elements/element-types/base/media.php:295
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base

Media

Class representing a media element type.

Source: src/db-objects/elements/element-types/base/media.php:21
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base

Media::filter_json()

Filters the array representation of a given element of this type.

Source: src/db-objects/elements/element-types/base/media.php:33
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base

Media::format_values_for_export()

Formats values for an export.

Source: src/db-objects/elements/element-types/base/media.php:55

torro_export_attachment_url

Filter Hook: Filters the URL to use when generating the export output for an attachment.

Source: src/db-objects/elements/element-types/base/media.php:85
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base

Media::validate_field()

Validates a field value for an element.

Source: src/db-objects/elements/element-types/base/media.php:115
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base

Media::get_edit_submission_fields_args()

Gets the fields arguments for an element of this type when editing submission values in the admin.

Source: src/db-objects/elements/element-types/base/media.php:181
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base

Media::get_file_id()

Gets the ID under which to store the upload in $_FILES.

Source: src/db-objects/elements/element-types/base/media.php:210
awsmug\Torro_Forms\DB_Objects\Elements\Element_Types\Base

Media::bootstrap()

Bootstraps the element type by setting properties.

Source: src/db-objects/elements/element-types/base/media.php:219

Posts navigation

See more

This website is powered by

High-Performance WordPress-Hosting & WP Management Dashboard

© 2018 Torro Forms by Awesome UG - Germany