You are here

public static function BotchaModel::getFormsRecipebooks in BOTCHA Spam Prevention 6.2

Same name and namespace in other branches
  1. 6.3 model/application/botcha.application.model.inc \BotchaModel::getFormsRecipebooks()
  2. 7.2 model/botcha.model.inc \BotchaModel::getFormsRecipebooks()
  3. 7.3 model/application/botcha.application.model.inc \BotchaModel::getFormsRecipebooks()

Just an alias for getRecipebooksForms.

Parameters

array $parameters:

Return value

array

1 call to BotchaModel::getFormsRecipebooks()
Botcha::getForm in controller/botcha.controller.inc
Gets a form from cache. If it does not exists in cache - gets from database. If it does not exists there also - returns new form or BotchaFormNone depending on input parameter.

File

model/botcha.model.inc, line 27

Class

BotchaModel

Code

public static function getFormsRecipebooks($parameters = array()) {
  $parameters['mode'] = !empty($parameters['mode']) ? $parameters['mode'] : 'recipebook';
  return self::getRecipebooksForms($parameters);
}