dmBridge PHP API
DMObjectView Class Reference

Encapsulates "object view" within the HTML templates. More...

Inheritance diagram for DMObjectView:

Public Member Functions


Detailed Description

Encapsulates "object view" within the HTML templates.

Author:
Alex Dolski <alex.dolski@unlv.edu> http://www.opensource.org/licenses/mit-license.php

Definition at line 15 of file DMObjectView.php.


Constructor & Destructor Documentation

DMObjectView::__construct ( DMTemplate tpl,
DMSession session,
DMObject obj,
DMObjectQuery query = null 
)
Parameters:
DMTemplatetpl
DMSessionsession
DMObjectobj
DMObjectQueryquery

Definition at line 43 of file DMObjectView.php.


Member Function Documentation

DMObjectView::getCommentForm ( )
Returns:
DMObjectCommentForm

Definition at line 58 of file DMObjectView.php.

DMObjectView::getObject ( )
Returns:
DMObject

Definition at line 72 of file DMObjectView.php.

Referenced by getURI().

DMObjectView::getQuery ( )
Returns:
DMObjectQuery

Definition at line 86 of file DMObjectView.php.

Referenced by getViewForNextObject(), and getViewForPreviousObject().

DMObjectView::getResultsView ( )
Returns:
string
Since:
2.0
See also:
getViewForNextObject()
getViewForPreviousObject()

Definition at line 103 of file DMObjectView.php.

DMObjectView::getTagForm ( )
Returns:
DMTagForm

Definition at line 110 of file DMObjectView.php.

DMObjectView::getURI ( )
Returns:
DMInternalURI The URI of the view (which will be the same as the URI of the object represented by the view).

Implements DMURIAddressable.

Definition at line 125 of file DMObjectView.php.

DMObjectView::getViewerDefinitionForMediaType ( type)
Parameters:
DMMediaTypetype
Returns:
DMObjectViewerDefinition
Since:
2.0

Definition at line 186 of file DMObjectView.php.

DMObjectView::getViewForNextObject ( )

Returns the DMObjectView instance corresponding to the next object in the results, or null if there is no next object.

Returns:
DMObjectView
See also:
getViewForPreviousObject()
Since:
2.0

Definition at line 137 of file DMObjectView.php.

DMObjectView::getViewForPreviousObject ( )

Returns the DMObjectView instance corresponding to the next object in the results, or null if there is no next object.

Returns:
DMObjectView
See also:
getViewForNextObject()
Since:
2.0

Definition at line 163 of file DMObjectView.php.

DMObjectView::setCommentForm ( DMObjectCommentForm form)
Parameters:
DMObjectCommentFormform

Definition at line 65 of file DMObjectView.php.

Referenced by __construct().

DMObjectView::setObject ( DMObject obj)
Parameters:
DMObjectobj

Definition at line 79 of file DMObjectView.php.

DMObjectView::setQuery ( DMObjectQuery query)
Parameters:
DMObjectQueryquery

Definition at line 93 of file DMObjectView.php.

DMObjectView::setTagForm ( DMTagForm form)
Parameters:
DMTagFormform

Definition at line 117 of file DMObjectView.php.

Referenced by __construct().


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables