API docs     >     Content Blocks     >     Cblock

Cblock->approveVersion

Description

approveVersion ( $version = 0 )

Reimplemented from

Versionable
Approves the specified version of this Cblock

Parameters

$version
int
(optional) Cblock version

Returns

int|false
New version or FALSE in case of an error