You are here

public static function TextimageImager::getState in Textimage 7.3

Get an Imager state variable.

Parameters

string $variable: state variable

Return value

mixed returned variable, NULL if undefined

3 calls to TextimageImager::getState()
textimage_background_effect in effects/textimage_background.inc
Implements 'textimage_background' image effect callback.
textimage_text_effect in effects/textimage_text.inc
Implements 'textimage_text' image effect callback.
_textimage_get_text_wrapper in effects/textimage_text.inc
Get the image containing the text.

File

classes/TextimageImager.inc, line 235
Textimage - Image processor class.

Class

TextimageImager
Textimage - Image processor class.

Code

public static function getState($variable = NULL) {
  if ($variable) {
    return self::setState($variable);
  }
  return NULL;
}