GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MOJOMOJO::SCHEMA::RESULT::PAGEVERSION (3)

.ds Aq ’

NAME

MojoMojo::Schema::Result::PageVersion - Versioned page metadata

CONTENTS

DESCRIPTION

This table implements versioning of page metadata (not content, see MojoMojo::Schema::Result::Content for that). It has a composite primary key (page, version).

When renaming a page, a new version is created in this table, with version set to 1 + the maximum version for that page. The status of the new page_version is set to released, its release_date is set to DateTime->now, while the old page_version’s status is set to ’removed’ and its remove_date is set to DateTime->now.

    TODO

o document the relationships
o in order to support proper rollback, meaning creating a new version for the rollback operation itself, a content_version field needs to be added.
o created is apparently unused: set to 0 for pages populated when creating the database, and NULL for all normal pages.

METHODS

    latest_version

Return the PageVersion object having the latest version of this page.

AUTHOR

Marcus Ramberg <mramberg@cpan.org>

LICENSE

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MOJOMOJO::SCHEMA::RESULT::PAGEVERSION (3) 2010-04-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.