ContactInlineCreateForArchivedEmailCreateView Class Reference

Inheritance diagram for ContactInlineCreateForArchivedEmailCreateView:
InlineEditView EditView DetailsView ModelView ConfigurableMetadataView MetadataView View LeadInlineCreateForArchivedEmailCreateView

Public Member Functions

 __construct ($controllerId, $moduleId, $emailMessageId, $model, $uniqueId, $saveActionId, $urlParameters)
 renderAfterFormLayout ($form)
 getFormName ()
 isUniqueToAPage ()

Static Public Member Functions

static getDefaultMetadata ()
static getDisplayDescription ()

Protected Member Functions

 renderConfigSaveAjax ($formName)
 renderScriptsContent ()
 doesLabelHaveOwnCell ()
 getViewStyle ()
 resolveElementInformationDuringFormLayoutRender (&$elementInformation)

Static Protected Member Functions

static getNotificationBarId ()

Protected Attributes

 $uniqueId

Detailed Description

An inline edit view for a creating a contact to match an archived email to.

Definition at line 41 of file ContactInlineCreateForArchivedEmailCreateView.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.

Reimplemented in LeadInlineCreateForArchivedEmailCreateView.

Definition at line 53 of file ContactInlineCreateForArchivedEmailCreateView.php.

renderConfigSaveAjax ( formName  )  [protected]

Override to allow the latest activities portlet, if it exists to be refreshed. (non-PHPdoc)

See also:
InlineEditView::renderConfigSaveAjax()

Reimplemented from InlineEditView.

Reimplemented in LeadInlineCreateForArchivedEmailCreateView.

Definition at line 141 of file ContactInlineCreateForArchivedEmailCreateView.php.

doesLabelHaveOwnCell (  )  [protected]
Returns:
true if the label has its own TD next to the TD of the input. Override if the label is on top of the input, in which case it does not need its own cell.

Reimplemented from DetailsView.

Definition at line 186 of file ContactInlineCreateForArchivedEmailCreateView.php.

isUniqueToAPage (  ) 

Tells View that it can render the extending class' divs with and id matching their name. Must be overridden to return false in extending classes that can be rendered multiple times within a page to avoid generating a page with non-unique ids which will fail XHtml validation. For those it will render a class attribute with their name.

Reimplemented from InlineEditView.

Definition at line 196 of file ContactInlineCreateForArchivedEmailCreateView.php.

getViewStyle (  )  [protected]

By default, this is hidden. (non-PHPdoc)

See also:
View::getViewStyle()

Reimplemented from View.

Definition at line 206 of file ContactInlineCreateForArchivedEmailCreateView.php.

resolveElementInformationDuringFormLayoutRender ( &$  elementInformation  )  [protected]

Override to support prefixing with the uniqueId since this view is typicall used in a listview where there are more than one form with the same inputs. (non-PHPdoc)

See also:
DetailsView::resolveElementInformationDuringFormLayoutRender()

Reimplemented from DetailsView.

Reimplemented in LeadInlineCreateForArchivedEmailCreateView.

Definition at line 217 of file ContactInlineCreateForArchivedEmailCreateView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jun 24 07:10:22 2017