API docs     >     Files     >     Views

Views->unassign

Description

unassign ( $viewId, $removeFromChildren = false )
Unassigns the specified View from a File(-folder) (recursive on folders)

Parameters

$viewId
int
View-Id
$removeFromChildren
bool
Also remove the views from all children

Returns

bool
TRUE if the assignment was successful or FALSE if an error has occured