ActionIF.nameIsValid

Checks if @action_name is valid.

@action_name is valid if it consists only of alphanumeric characters, plus '-' and '.'. The empty string is not a valid action name.

It is an error to call this function with a non-utf8 @action_name. @action_name must not be %NULL.

interface ActionIF
static
bool
nameIsValid
(
string actionName
)

Parameters

actionName string

a potential action name

Return Value

Type: bool

%TRUE if @action_name is valid

Meta

Since

2.38