API docs     >     Files     >     Views

Views->setCode

Description

setCode ( $viewId, $value )
Sets the Code for a specific View

Parameters

$viewId
int
View Id
$value
string
View code

Returns

bool
TRUE on success or FALSE when an error has occured