Interchange6::Schema::Result::Media
Primary key.
The image/video file.
Defaults to empty string.
The image/video uri.
Mime type.
Label.
FK on "users_id" in Interchange6::Schema::Result::User.
Date and time when this record was created returned as DateTime object. Value is auto-set on insert.
Date and time when this record was last modified returned as DateTime object. Value is auto-set on insert and update.
Boolean whether media is active. Defaults to true (1).
FK on "media_types_id" in Interchange6::Schema::Result::MediaType.
media_id_media_types_id_unique
"media_id"
"media_types_id"
Type: belongs_to
Related object: Interchange6::Schema::Result::User
Related object: Interchange6::Schema::Result::MediaType
Type: has_many
Related object: Interchange6::Schema::Result::MediaProduct
Type: many_to_many with product.
Type: many_to_many with media_displays
Return the media type looking into MediaDisplay and MediaType.
Return an hashref with the media display type and the final uri.
Return the uri for the display type (or undef if not found).
To install Interchange6::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Interchange6::Schema
CPAN shell
perl -MCPAN -e shell install Interchange6::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.