fusionpbx/resources/templates/engine/smarty/plugins/modifier.md5.php

24 lines
361 B
PHP
Raw Normal View History

2023-07-01 01:34:10 +02:00
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty md5 modifier plugin
* Type: modifier
* Name: md5
* Purpose: Checks if a value exists in an array
*
* @param string $needle
* @param array $haystack
*
* @return boolean
*/
function smarty_modifier_md5($string)
{
return md5($string);
}