Public Member Functions | |
__construct ($review, $params=array()) | |
Constructor. | |
render () | |
Converts this component (and any children) to HTML. | |
setAppearance ($app) | |
Set the appearance for this view. | |
setParams ($params) | |
Store a new set of params (other than defaults or those passed in with constructor). | |
Protected Member Functions | |
buildButtonBox () | |
Build a box containing the action buttons. This box floats right and is intended to be added to the header/title section of a review view. | |
layoutReviewBox () | |
Layout the different components making up a review. Choose whether to add the different components to this object based on the appearance variable. |
TKCSERDClassicReview::__construct | ( | $ | review, | |
$ | params = array() | |||
) |
Constructor.
$review | [CSERDClassicReview]: The review to be viewed | |
$params | [array]: Additional parameters for how this object should appear
|
TKCSERDClassicReview::buildButtonBox | ( | ) | [protected] |
Build a box containing the action buttons. This box floats right and is intended to be added to the header/title section of a review view.
TKCSERDClassicReview::render | ( | ) |
Converts this component (and any children) to HTML.
This will only actually generate the HTML once. If render() has been called before, this will only return the results of the previous render operation.
Reimplemented from TKComponent.
TKCSERDClassicReview::setAppearance | ( | $ | app | ) |
Set the appearance for this view.
$app | [string]: full/compact/minimal |