Returns a string with any core tokens replaced.
string $string: The string to preform the token replacement on.
array $options: An array of options, as passed to token_replace.
string The tokenized string.
public function globalTokenReplace($string = '', array $options = array()) {
return token_replace($string, array(
'view' => $this->view,
), $options);
}