IP.Board  3.3.0
ccs_database_revisions Class Reference

Public Member Functions

 __construct (ipsRegistry $registry)
 deleteAllRevisions ($databaseId=0, $recordId=0)
 deleteRevision ($recordId=0)
 restoreRevision ($database=array(), $recordId=0)
 storeRevision ($database=array(), $record=array())

Protected Attributes

 $cache
 $caches
 $DB
 $error = ''
 $lang
 $member
 $memberData
 $registry
 $request
 $settings

Constructor & Destructor Documentation

__construct ( ipsRegistry registry)

Constructor

public

Parameters:
objectRegistry
Returns:
void

Member Function Documentation

deleteAllRevisions ( databaseId = 0,
recordId = 0 
)

Delete all revisions

public

Parameters:
intDatabase ID
intRecord id to clear revisions for
Returns:
bool Deleted successfuly
deleteRevision ( recordId = 0)

Delete a revision

public

Parameters:
intRevision ID to remove
Returns:
bool Deleted successfuly
restoreRevision ( database = array(),
recordId = 0 
)

Restore a revision

public

Parameters:
arrayDatabase data
intRevision ID to restore
Returns:
bool Restored successfuly
storeRevision ( database = array(),
record = array() 
)

Store a new revision

public

Parameters:
arrayDatabase data
arrayData to store
Returns:
bool Stored successfuly

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables