/** * Populates the Category object from the request * @return bean Category */ protected function getBeanFromRequest() { global $logger; $logger->debug(get_class($this) . "::getBeanFromRequest()"); $cat = new Series($_REQUEST); $cat->setScope($_REQUEST['catscope']); $logger->debug("Auto fill of Category bean has name of: " . $cat->getName()); // TODO add events and gallery if linked return $cat; }