Location: PHPKode > projects > QuickSkin > QuickSkin_v5.0/_lib/qx/qx_count.php
<?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;
  }

?>
Return current item: QuickSkin