SproutCMS

This is the code documentation for the SproutCMS project

function factory()

Creates a new Image instance and returns it.

Usage

object Image::factory ( string $image [, array $config ] );

Arguments

  1. string $image
    filename of image
  2. array $config = NULL
    non-default configurations

Return value

  • object