protected function BotchaRecipebookAbstract::getJss in BOTCHA Spam Prevention 7.2
Same name and namespace in other branches
- 6.2 controller/botcha_recipebook.controller.inc \BotchaRecipebookAbstract::getJss()
1 call to BotchaRecipebookAbstract::getJss()
File
- controller/
botcha_recipebook.controller.inc, line 362 - Controller layer of the BotchaRecipebook objects.
Class
- BotchaRecipebookAbstract
- @file Controller layer of the BotchaRecipebook objects.
Code
protected function getJss() {
$jss = array();
foreach ($this
->getRecipes() as $recipe) {
if ($recipe instanceof BotchaRecipeUsingJsAbstract) {
$jss[] = $recipe
->getJsValue();
}
}
return $jss;
}