You are here

function classified_notify_kind_load in Classified Ads 7.3

Same name and namespace in other branches
  1. 6.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 1447
A pure D7 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;
  }
}