<?php
/**
* QuickSkin Extension count
* count element of an array
*
* Usage Example:
* Content: $template->assign('list', array('a','b'));
* Template: count: {count:list}
* Result: count: 2
*
* @author Andy Prevost hide@address.com - original by Philipp v. Criegern hide@address.com
*/
function qx_count ( $param ) {
$temp = count( $param );
return $temp;
}
?>