//returns numbers of tables added
function DrawSetTable( $set, $array_v, $count )
{
$hasAddedTable = 0;
for( $c = 0; $c < $count; $c++ )
{
if( is_array( $array_v[ $c ] ) && count( $array_v[ $c ] ) > 0 && isset( $array_v[ $c ] ) )
{
//working
if( $array_v[ $c ][ 'funcindex' ] == $set )
{
$hasAddedTable++;
echo( '
' );
echo( '| ' );
if( strlen( $array_v[ $c ][ 'returntype' ] ) > 1 )
{
echo( highlight_cpp_code( $array_v[ $c ][ 'returntype' ].' ' ) );
}
echo( $array_v[ $c ][ 'funcname' ] );
echo( '( ' );
for( $x = 0; $x < count( $array_v[ $c ][ 'params' ] ); $x++ )
{
if( $x == ( count( $array_v[ $c ][ 'params' ] ) ) - 1 )
{
echo( highlight_cpp_code( $array_v[ $c ][ 'params' ][ $x ][ 'type' ].' '.$array_v[ $c ][ 'params' ][ $x ][ 'name' ] ) );
}
else
{
echo( highlight_cpp_code( $array_v[ $c ][ 'params' ][ $x ][ 'type' ].' '.$array_v[ $c ][ 'params' ][ $x ][ 'name' ] ).',' );
}
}
echo( ' )' );
echo( ' | '.$array_v[ $c ][ 'description' ].' | ' );
echo( '
' );
}
}
}
return $hasAddedTable;
}