getDevAlias() == SectionModel::DEVALIAS_COMMON; } // @TODO : à voir si pertinent public function getNewsletter(SectionInterface $section) { $newsletters = $section->getNewsletters(); foreach ($newsletters as $newsletter) { if ($newsletter->getIsMain()) { return $newsletter; } } return false; } }