You are here

public function Botcha::recipebookExists in BOTCHA Spam Prevention 7.3

Same name and namespace in other branches
  1. 6.3 controller/application/botcha.application.controller.inc \Botcha::recipebookExists()

Overrides IBotcha::recipebookExists

File

controller/application/botcha.application.controller.inc, line 348
Contains Botcha class.

Class

Botcha
Just a middleman for achieving purposes such as:

Code

public function recipebookExists($value) {
  return !$this
    ->getController(Botcha::CONTROLLER_TYPE_RECIPEBOOK)
    ->getRecipebook($value, FALSE) instanceof BotchaRecipebookNone;
}