<?php
/* Please see the README and LICENSE files. */
/**
* This class parses variable tokens
*/
class Template_TokenParser_Server implements Template_TokenParser {
/**
* @see Template_TokenParser
*/
public function parse($type, $params, $vars = NULL, $model = NULL) {
$a1 = array_key_exists(1,$type) ? $type[1] : NULL;
switch ($a1) {
case "path":
return Template_TokenParser_Server_Path::parse_path($type);
case "system":
return Template_TokenParser_Server_System::variable($type);
default:
return "BlackwolfCMF";
}
}
}
?>