|
NAMEInterchange6::Schema::Result::MessageDESCRIPTIONShared messages table for blog, order comments, reviews, bb, etc.ACCESSORStypeA short-cut accessor which takes a message type name ("name" in Interchange6::Schema::Result::MessageType) as argument and sets "message_types_id" to the appropriate value;messages_idPrimary key.titleThe title of the message.message_types_idForeign key constraint on "message_types_id" in Interchange6::Schema::Result::MessageType via "message_type" relationship.uriThe uri of the message data.Unique constraint. formatThe format of the text held in "content", e.g. plain, html or markdown. Defaults to 'plain'.contentContent for the message.summarySummary/teaser for "content".Defaults to empty string. author_users_idForeign key constraint on "users_id" in Interchange6::Schema::Result::User via "author" relationship. Is nullable.ratingNumeric rating of the message by a user.recommendDo you recommend the message? Default is no. Is nullable.publicIs this public viewable? Default is no.approvedHas this been approved by someone with proper rights?approved_by_users_idForeign key constraint on "users_id" in Interchange6::Schema::Result::User via "approved_by" relationship. Is nullableparent_idFor use by DBIx::Class::Tree::AdjacencyList this defines the "messages_id" of the parent of this message (if any).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.RELATIONSauthorType: belongs_toRelated object: Interchange6::Schema::Result::User approved_byType: belongs_toRelated object: Interchange6::Schema::Result::User message_typeType: belongs_toRelated object: Interchange6::Schema::Result::MessageType order_commentType: might_haveRelated object: Interchange6::Schema::Result::OrderComment ordersType: many_to_manyAccessor to related Order results. product_messagesType: has_manyRelated object: Interchange6::Schema::Result::ProductMessage productsType: many_to_manyAccessor to related Product results. navigation_messagesType: has_manyRelated object: Interchange6::Schema::Result::NavigationMessage navigationsType: many_to_manyAccessor to related Navigation results. media_messagesType: has_manyRelated object: Interchange6::Schema::Result::MediaMessage mediaType: many_to_many with mediaINHERITED METHODSDBIx::Class::Tree::AdjacencyList
METHODSFOREIGNBUILDARGSRemove "type" attribute from call to parent class.insertOverload insert to set message_types_id if required. Throw exception if requested message type is not active. See "active" in Interchange6::Schema::Result::MessageType.
Visit the GSP FreeBSD Man Page Interface. |