You are here

function classified_notify_kind_load in Classified Ads 6.3

Same name and namespace in other branches
  1. 7.3 classified.module \classified_notify_kind_load()

Menu loader for check notify kind

Parameters

int $kind: One of the check kinds enumerated in _classified_get_notify_kinds().

Return value

string|FALSE Is the kind of check allowed ?

File

./classified.module, line 1351
A pure D6 classified ads module inspired by the ed_classified module.

Code

function classified_notify_kind_load($kind) {
  if (in_array($kind, _classified_get_notify_kinds())) {
    return $kind;
  }
  else {
    return FALSE;
  }
}