API docs     >     Pages and Sites     >     Page

Page->setActive

Description

setActive ( $value )
Sets the "active" state of this Page

Parameters

$value
int
Active status (0 or 1)

Returns

bool
TRUE on success or FALSE in case of an error