\Renamed
Handle renamed topics.
When a post is being renamed, it's URLSegment is updated.
To prevent bookmarks and Spiders to get completely lost, we store the old link and redirect according to the news which it belongs to.
This functionality is chosen in favor of fully keeping a history of all the news.
This class is not available for Renaming uses, therefor it's unavailable in the backend.
It is enough to handle it, that should do the trick just fine.
- Author: Simon `Sphere` StartGeneratedWithDataObjectAnnotator
Synopsis
class Renamed
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $indexes = ;
Hierarchy
Extends
- DataObject
Members
private
- $db
- $has_one
- $indexes