
Static Public Member Functions | |
| static | getRatingImageTag ($rating) |
| Get an image tag based on the rating value (of a resource). | |
| static | getRatingText ($rating) |
| Get a string based on the rating value (of a resource). | |
| static | getResourceFromSDR ($id) |
| Get a resource by ID from the SDR service. | |
| static | parseArguments ($addArgs=null, $removeArgs=null) |
| static | urlParser ($addArgs=null, $removeArgs=null) |
Definition at line 8 of file SDRHelpers.php5.
| static SDRHelpers::getRatingImageTag | ( | $ | rating | ) | [static] |
Get an image tag based on the rating value (of a resource).
| $rating | [int]: The numerical rating value (of a resource) |
Definition at line 48 of file SDRHelpers.php5.
Referenced by TKCSERDClassicReviewSet::__construct(), TKSDRResourceResultSet::layoutResult(), and TKCSERDClassicReview::layoutReviewBox().
| static SDRHelpers::getRatingText | ( | $ | rating | ) | [static] |
Get a string based on the rating value (of a resource).
| $rating | [int]: The numerical rating value (of a resource) |
Definition at line 60 of file SDRHelpers.php5.
Referenced by TKCSERDClassicReviewSet::__construct(), and TKSDRResourceResultSet::layoutResult().
| static SDRHelpers::getResourceFromSDR | ( | $ | id | ) | [static] |
Get a resource by ID from the SDR service.
| $id | [int]: The CSERD id of the object |
Definition at line 34 of file SDRHelpers.php5.
Referenced by TKCSERDClassicReviewSet::layoutReviewSet().
| static SDRHelpers::parseArguments | ( | $ | addArgs = null, |
|
| $ | removeArgs = null | |||
| ) | [static] |
Handles arguments from the current url and creates an array, replacing them with new values that are passed in.
Definition at line 107 of file SDRHelpers.php5.
| static SDRHelpers::urlParser | ( | $ | addArgs = null, |
|
| $ | removeArgs = null | |||
| ) | [static] |
Builds a new url from the current url and replaces arguments with new values that are passed in.
Definition at line 68 of file SDRHelpers.php5.
Referenced by TKSDRResourceResultSet::layoutNextPrev(), and TKSDRResourceResultSet::layoutSearchBox().
1.5.6