PageRenderTime 14ms CodeModel.GetById 12ms app.highlight 0ms RepoModel.GetById 0ms app.codeStats 0ms

/framework/vendor/smarty2/plugins/function.json.php

http://zoop.googlecode.com/
PHP | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 6125b27016991b8f7c066934e6a26667 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.1
1<?php
2function smarty_function_json($params, &$smarty)
3{
4	assert(isset($params['var']));
5	return Zend_Json::encode($params['var']);
6}