PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/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
1<?php
2function smarty_function_json($params, &$smarty)
3{
4	assert(isset($params['var']));
5	return Zend_Json::encode($params['var']);
6}