API docs     >     General     >     Versionable

Versionable->approveVersion

Reimplemented by

Mailing, Page, Cblock

Description

approveVersion ( $version = 0 )
Approves the current/specified version of the Object instance

Parameters

$version
int
Version (optional)

Returns

int|false
Version or FALSE if permission-check for RREAD fails