# \cge_setup

A factory class to return objects setup with some internal defaults or some preferences.

## Summary

Methods
Properties
Constants
get_watermarker()
get_uploader()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A
final

File
  lib/class.cge_setup.php
Package
  \CGExtensions
Class hierarchy
  \cge_setup

## Tags

todo |

## Methods

### get_watermarker()

    get_watermarker() : \cge_watermark

Get a new watermarker object filled with module preferences.

#### Returns

\cge_watermark

#

static

## Tags

todo |

### get_uploader()

    get_uploader(string $prefix, string $destdir)

Get a new object for handling uploads filled with settings defined in the module admin panel.

#### Parameters

string | $prefix | An optional prefix for all upload file keys
string | $destdir | The optional destination directory. If specified this overrides the default destination directory.

#

static

## Tags

todo |

### class.cge_setup.php