public function getSeoChoices() { $choices = array(); foreach ($this->getSeo() as $key => $value) { if ($value == 'on') { $choices[] = $key; } } return $choices; }