public function validateFileSizeMin($value, array $validValues)
    {
        if (isset($validValues[0]) && is_array($validValues[0])) {
            $validValues = $validValues[0];
        }

        $validLimit = $validValues[0];

        $size = $value['size'];

        return $size >= $validLimit;
    }
public function validateFileSizeMin($value, array $validValues)
    {
        if (isset($validValues[0]) && is_array($validValues[0])) {
            $validValues = $validValues[0];
        }

        $validLimit = $validValues[0];

        $size = $value['size'];

        return $size >= $validLimit;
    }
public function validateFileSizeMin ( $ value , array $ validValues ) { if ( isset ( $ validValues [ 0 ] ) && is_array ( $ validValues [ 0 ] ) ) { $ validValues = $ validValues [ 0 ] ; } $ validLimit = $ validValues [ 0 ] ; $ size = $ value [ 'size' ] ; return $ size >= $ validLimit ; }
Validates that the passed file-upload's size is at minimum the passed
value in bytes.

@param array $value       A file upload array structure (object) like $_SESSION
@param array $validValues The valid values to validation against

@author Benjamin Carl <opensource@clickalicious.de>

@return bool TRUE if could be validatet, otherwise FALSE
Validates that the passed file - upload s size is at minimum the passed value in bytes .