ConversationDetailsView Class Reference

Inheritance diagram for ConversationDetailsView:
SecuredDetailsView DetailsView ModelView ConfigurableMetadataView MetadataView View

Public Member Functions

 getTitle ()

Static Public Member Functions

static getDefaultMetadata ()

Protected Member Functions

 renderContent ()
 renderTitleContent ()
 renderFormLayout ($form=null)
 renderRightSideContent ($form=null)
 renderConversationOpenCloseElement ()
 renderConversationParticipantsContent ()
 renderConversationRelatedToAndAttachmentsContent ()
 renderConversationContent ()
 renderConversationCommentsContent ()
 renderConversationCreateCommentContent ()
 getPortletDetailsUrl ()
 renderAfterFormLayoutForDetailsContent ()
 getCommentsWrappingCssClass ()

Detailed Description

Definition at line 37 of file ConversationDetailsView.php.


Member Function Documentation

static getDefaultMetadata (  )  [static]

Returns meta data for use in automatically generating the view. The meta data is comprised of panels, rows, and then cells. Each cell can have 1 or more elements.

The element takes 3 parameters. The first parameter is 'attributeName'. The second parameter is 'type' and refers to the element type. Using a type of 'Text' would utilize the TextElement class. The third parameter is 'wide' and refers to how many cells the field should span. An example of the 'wide' => true usage would be for a text description field. Here is an example meta data that defines a 2 row x 2 cell layout.

            <?php
                $metadata = array(
                    'panels' => array(
                        array(
                            'rows' => array(
                                array('cells' =>
                                    array(
                                        array(
                                            'elements' => array(
                                                array('field' => 'name', 'type' => 'Text'),
                                            ),
                                        ),
                                        array(
                                            'elements' => array(
                                                array('field' => 'officePhone', 'type' => 'Text'),
                                            ),
                                        ),
                                    )
                                ),
                                array('cells' =>
                                    array(
                                        array(
                                            'elements' => array(
                                                array('field' => 'industry', 'type' => 'DropDown'),
                                            ),
                                        ),
                                        array(
                                            'elements' => array(
                                                array('field' => 'officeFax', 'type' => 'Text'),
                                            ),
                                        ),
                                    )
                                ),
                            ),
                        ),
                    ),
                );
            ?>

Reimplemented from DetailsView.

Definition at line 39 of file ConversationDetailsView.php.

renderContent (  )  [protected]

Renders content for a view including a layout title, form toolbar, and form layout.

Returns:
A string containing the element's content.

Reimplemented from DetailsView.

Definition at line 54 of file ConversationDetailsView.php.

renderFormLayout ( form = null  )  [protected]

Render a form layout.

Parameters:
$form If the layout is editable, then pass a $form otherwise it can be null.
Returns:
A string containing the element's content.

Reimplemented from DetailsView.

Definition at line 76 of file ConversationDetailsView.php.

getTitle (  ) 

TODO

Reimplemented from DetailsView.

Definition at line 85 of file ConversationDetailsView.php.

renderAfterFormLayoutForDetailsContent (  )  [protected]

Override to not display anything since conversations detail does not need this.

Returns:
string|void

Reimplemented from SecuredDetailsView.

Definition at line 219 of file ConversationDetailsView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Jul 21 07:10:55 2019