You are here

protected function BotchaRecipebookAbstract::getCsss in BOTCHA Spam Prevention 7.2

Same name and namespace in other branches
  1. 6.2 controller/botcha_recipebook.controller.inc \BotchaRecipebookAbstract::getCsss()
1 call to BotchaRecipebookAbstract::getCsss()
BotchaRecipebookAbstract::apply in controller/botcha_recipebook.controller.inc

File

controller/botcha_recipebook.controller.inc, line 352
Controller layer of the BotchaRecipebook objects.

Class

BotchaRecipebookAbstract
@file Controller layer of the BotchaRecipebook objects.

Code

protected function getCsss() {
  $csss = array();
  foreach ($this
    ->getRecipes() as $recipe) {
    if ($css = $recipe
      ->getCss()) {
      $csss[] = $css;
    }
  }
  return $csss;
}