bool
PEAR_Validate::validState
(
string
$state
)
This utility method can be used to determine whether a string is a valid state.
Currently, states must be one of snapshot
, devel
,
alpha
, beta
, and stable
.
$state
State string to validate.
throws no exceptions thrown
final - this method should not be overridden.
This function should be called statically.