public function getChoices() { $slugs = sfPlopPagePeer::getPageSlugsWithLevel(); if (isset($this->options['add_empty'])) { $slugs = array('' => '') + $slugs; } return $slugs; }