SproutCMS

This is the code documentation for the SproutCMS project

function valid()

Tests if input data is valid file type, even if no upload is present.

Usage

bool Upload::valid ( array $file );

Arguments

  1. array $file
    $_FILES item

Return value

  • bool