All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Protected Attributes
CommentsForRelatedModelView Class Reference
Inheritance diagram for CommentsForRelatedModelView:
View CommentsForRelatedTaskModelView

Public Member Functions

 __construct ($controllerId, $moduleId, $commentsData, Item $relatedModel, $pageSize, $getParams, $uniquePageId=null)
 
 isUniqueToAPage ()
 
- Public Member Functions inherited from View
 isUniqueToAPage ()
 
 render ()
 
 setCssClasses (array $classes)
 
 getCssClasses ()
 
 getTitle ()
 
 getPostTruncatedTitleContent ()
 

Protected Member Functions

 getId ()
 
 renderContent ()
 
 renderMarkdownGuideContent ()
 
 renderHiddenRefreshLinkContent ()
 
 renderShowAllLinkContent ()
 
 renderCommentsContent ()
 
 renderDeleteLinkContent (Comment $comment)
 
 renderEditLinkContent (Comment $comment)
 
- Protected Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Protected Attributes

 $controllerId
 
 $moduleId
 
 $commentsData
 
 $relatedModel
 
 $pageSize
 
 $getParams
 
 $uniquePageId
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

Detailed Description

A view that displays comments for a related model

Definition at line 41 of file CommentsForRelatedModelView.php.

Constructor & Destructor Documentation

__construct (   $controllerId,
  $moduleId,
  $commentsData,
Item  $relatedModel,
  $pageSize,
  $getParams,
  $uniquePageId = null 
)
Parameters
string$controllerId
string$moduleId
array$commentsData
Item$relatedModel
int$pageSize
array$getParams
null | string$uniquePageId

Definition at line 66 of file CommentsForRelatedModelView.php.

Member Function Documentation

getId ( )
protected
Returns
string

Definition at line 87 of file CommentsForRelatedModelView.php.

renderContent ( )
protected
Returns
string

Definition at line 103 of file CommentsForRelatedModelView.php.

renderHiddenRefreshLinkContent ( )
protected
Returns
string

Definition at line 133 of file CommentsForRelatedModelView.php.

renderShowAllLinkContent ( )
protected
Returns
string

Definition at line 149 of file CommentsForRelatedModelView.php.

renderCommentsContent ( )
protected
Returns
string

Definition at line 164 of file CommentsForRelatedModelView.php.

renderDeleteLinkContent ( Comment  $comment)
protected

Render comment delete link

Returns
string

Definition at line 215 of file CommentsForRelatedModelView.php.

renderEditLinkContent ( Comment  $comment)
protected

Render comment edit link

Returns
string

Definition at line 239 of file CommentsForRelatedModelView.php.

isUniqueToAPage ( )
Returns
bool

Definition at line 260 of file CommentsForRelatedModelView.php.


The documentation for this class was generated from the following file:
Generated on Tue Feb 18 2020 07:10:39