You are here

public function Textimage::extension in Textimage 7.3

Set the image file extension.

Parameters

string $extension: The file extension to be used (jpg/png/gif).

Return value

self this object

File

classes/Textimage.inc, line 213
Textimage - Textimage class.

Class

Textimage
@file Textimage - Textimage class.

Code

public function extension($extension) {
  return $this
    ->set('extension', $extension);
}