![]() |
![]()
| ![]() |
![]()
NAMEInterchange6::Schema::Result::Media ACCESSORSmedia_idPrimary key. fileThe image/video file. Is nullable. uriThe image/video uri. Defaults to empty string. mime_typeMime type. Defaults to empty string. labelLabel. Defaults to empty string. author_users_idFK on "users_id" in Interchange6::Schema::Result::User. createdDate and time when this record was created returned as DateTime object. Value is auto-set on insert. last_modifiedDate and time when this record was last modified returned as DateTime object. Value is auto-set on insert and update. activeBoolean whether media is active. Defaults to true (1). media_types_idFK on "media_types_id" in Interchange6::Schema::Result::MediaType. priorityPriority for display. Defaults to 0. UNIQUE CONSTRAINTS"media_id_media_types_id_unique"
RELATIONSauthorType: belongs_to Related object: Interchange6::Schema::Result::User media_typeType: belongs_to Related object: Interchange6::Schema::Result::MediaType media_productsType: has_many Related object: Interchange6::Schema::Result::MediaProduct media_navigationsType: has_many Related object: Interchange6::Schema::Result::MediaNavigation media_messagesType: has_many Related object: Interchange6::Schema::Result::MediaMessage productsType: many_to_many with product. displaysType: many_to_many with media_displays METHODStypeReturn the media type looking into MediaDisplay and MediaType. display_urisReturn an hashref with the media display type and the final uri. display_uri('display_type')Return the uri for the display type (or undef if not found).
|