ThemingEngine.hasClass

Returns %TRUE if the currently rendered contents have defined the given class name.

class ThemingEngine
bool
hasClass
(
string styleClass
)

Parameters

styleClass string

class name to look up

Return Value

Type: bool

%TRUE if @engine has @class_name defined

Meta