public function getRedirectUrl() { $entry = $this->getRedirectEntry(); if ($entry) { return $entry->url; } return null; }