Example #1
0
	function get($key, $param = null) {
		Msg::init();
		$msgList = Msg::getMsgList();
		$message = $msgList[$key];
		if (empty($message)) {
			$message = $key;
		}
		return Msg::format($message, $param);
	}