public function getRedirectEntry() { if ($this->redirectEntryId) { return craft()->entries->getEntryById($this->redirectEntryId); } return null; }