public static function TextimageStyles::exists in Textimage 7.3
Check if a Textimage style exists.
Parameters
string $style_name: name of the style to check for existence
Return value
bool TRUE if style exists, otherwise FALSE
File
- classes/
TextimageStyles.inc, line 33 - Textimage - Styles handling class.
Class
- TextimageStyles
- Styles management class.
Code
public static function exists($style_name) {
return self::get($style_name) ? TRUE : FALSE;
}