CommentsForRelatedModelView Class Reference

Inheritance diagram for CommentsForRelatedModelView:
View

Public Member Functions

 __construct ($controllerId, $moduleId, $commentsData, Item $relatedModel, $pageSize, $getParams, $uniquePageId=null)
 isUniqueToAPage ()

Protected Member Functions

 getId ()
 renderContent ()
 renderHiddenRefreshLinkContent ()
 renderShowAllLinkContent ()
 renderCommentsContent ()
 renderDeleteLinkContent (Comment $comment)
 renderEditLinkContent (Comment $comment)

Protected Attributes

 $controllerId
 $moduleId
 $commentsData
 $relatedModel
 $pageSize
 $getParams
 $uniquePageId

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

Reimplemented from View.

Definition at line 87 of file CommentsForRelatedModelView.php.

renderContent (  )  [protected]
Returns:
string

Reimplemented from View.

Definition at line 95 of file CommentsForRelatedModelView.php.

renderHiddenRefreshLinkContent (  )  [protected]
Returns:
string

Definition at line 112 of file CommentsForRelatedModelView.php.

renderShowAllLinkContent (  )  [protected]
Returns:
string

Definition at line 128 of file CommentsForRelatedModelView.php.

renderCommentsContent (  )  [protected]
Returns:
string

Definition at line 143 of file CommentsForRelatedModelView.php.

renderDeleteLinkContent ( Comment comment  )  [protected]
Returns:
string

Definition at line 194 of file CommentsForRelatedModelView.php.

renderEditLinkContent ( Comment comment  )  [protected]
Returns:
string

Definition at line 212 of file CommentsForRelatedModelView.php.

isUniqueToAPage (  ) 
Returns:
bool

Reimplemented from View.

Definition at line 221 of file CommentsForRelatedModelView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Mar 25 07:10:23 2017