Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

CommentForSocialItemInlineEditView Class Reference

Inheritance diagram for CommentForSocialItemInlineEditView:
CommentInlineEditView InlineEditView EditView DetailsView ModelView ConfigurableMetadataView MetadataView View

Public Member Functions

 __construct ($model, $controllerId, $moduleId, $saveActionId, $urlParameters, $uniquePageId, $uniqueId)
 getFormName ()

Static Public Member Functions

static getDefaultMetadata ()

Protected Member Functions

 renderConfigSaveAjax ($formName)
 resolveElementInformationDuringFormLayoutRender (&$elementInformation)

Protected Attributes

 $viewContainsFileUploadElement = false
 $uniqueId

Detailed Description

An inline edit view for a comment.

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

Definition at line 60 of file CommentForSocialItemInlineEditView.php.

renderConfigSaveAjax ( formName  )  [protected]

Override to allow the comment thread, if it exists to be refreshed. (non-PHPdoc)

See also:
InlineEditView::renderConfigSaveAjax()

Reimplemented from CommentInlineEditView.

Definition at line 103 of file CommentForSocialItemInlineEditView.php.

resolveElementInformationDuringFormLayoutRender ( &$  elementInformation  )  [protected]

Override to set the inputIdPrefix so when there are multiple instances of this form on a single page it will be valid xhtml (non-PHPdoc)

See also:
ContactInlineCreateForArchivedEmailCreateView::resolveElementInformationDuringFormLayoutRender()

Reimplemented from DetailsView.

Definition at line 125 of file CommentForSocialItemInlineEditView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Mar 25 07:10:47 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8