SproutCMS

This is the code documentation for the SproutCMS project

function validateExtension()

Validates that an output file extension is of a valid format

Usage

void FileConvert::validateExtension ( string $ext );

Arguments

  1. string $ext
    The output extension

Exceptions thrown

  • InvalidArgumentException
    IF the extension is invalid

Return value

  • void