You are here

public static function TextimageFonts::getList in Textimage 7.3

Get a list of font names.

Parameters

string $module: optional - the name of the module to be set for handling font requests.

array $options: optional - an array of options.

Return value

array a simple array with the list of font names.

2 calls to TextimageFonts::getList()
textimage_form_settings in ./textimage.admin.inc
Textimage settings form.
textimage_text_effect_form in effects/textimage_text.inc
Settings for 'textimage_text' image effect.

File

classes/TextimageFonts.inc, line 59
Textimage - Font management classes.

Class

TextimageFonts
Font management class.

Code

public static function getList($module = NULL, $options = array()) {
  if (self::setHandler($module) and $list = self::$handler
    ->getList($options)) {
    return $list;
  }
  return array();
}