GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Interchange6::Schema::Result::Message(3) User Contributed Perl Documentation Interchange6::Schema::Result::Message(3)

Interchange6::Schema::Result::Message

Shared messages table for blog, order comments, reviews, bb, etc.

A 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;

Primary key.

The title of the message.

Foreign key constraint on "message_types_id" in Interchange6::Schema::Result::MessageType via "message_type" relationship.

The uri of the message data.

Unique constraint.

The format of the text held in "content", e.g. plain, html or markdown. Defaults to 'plain'.

Content for the message.

Summary/teaser for "content".

Defaults to empty string.

Foreign key constraint on "users_id" in Interchange6::Schema::Result::User via "author" relationship. Is nullable.

Numeric rating of the message by a user.

Do you recommend the message? Default is no. Is nullable.

Is this public viewable? Default is no.

Has this been approved by someone with proper rights?

Foreign key constraint on "users_id" in Interchange6::Schema::Result::User via "approved_by" relationship. Is nullable

For use by DBIx::Class::Tree::AdjacencyList this defines the "messages_id" of the parent of this message (if any).

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.

Type: belongs_to

Related object: Interchange6::Schema::Result::User

Type: belongs_to

Related object: Interchange6::Schema::Result::User

Type: belongs_to

Related object: Interchange6::Schema::Result::MessageType

Type: might_have

Related object: Interchange6::Schema::Result::OrderComment

Type: many_to_many

Accessor to related Order results.

Type: has_many

Related object: Interchange6::Schema::Result::ProductMessage

Type: many_to_many

Accessor to related Product results.

Type: has_many

Related object: Interchange6::Schema::Result::NavigationMessage

Type: many_to_many

Accessor to related Navigation results.

Type: has_many

Related object: Interchange6::Schema::Result::MediaMessage

Type: many_to_many with media

  • parent
  • ancestors
  • has_descendant
  • parents
  • children
  • attach_child
  • siblings
  • attach_sibling
  • is_leaf
  • is_root
  • is_branch

Remove "type" attribute from call to parent class.

Overload insert to set message_types_id if required. Throw exception if requested message type is not active. See "active" in Interchange6::Schema::Result::MessageType.
2016-07-31 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.