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) |
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) |
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) |
static SDRHelpers::getResourceFromSDR | ( | $ | id | ) | [static] |
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.
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.