Location: PHPKode > projects > Content*Builder > contentbuilder/lib/patPollsCommon.php
<?php
/**
*	sorts the answers
*	@access	private
*	@param	array	$a	array containing all answer data for answer a
*	@param	array	$b	array containing all answer data for answer b
*/
	function	patPollsSortAnswers( $a, $b )
	{
		if( $a[count] == $b[count] )
			return 0;
	    return ( $a[count] > $b[count] ) ? -1 : 1;
	}

?>
Return current item: Content*Builder