Home > PHP > Function > Newt > newt_form_destroy()

newt_form_destroy()

newt_form_destroy - Destroys a form

Syntax

newt_form_destroy (resource $form)

Arguments

  • form - Form component, which is going to be destroyed

Description

This function frees the memory resources used by the form and all of the components which have been added to the form (including those components which are on subforms). Once a form has been destroyed, none of the form's components can be used.

Version

PHP PECL newt >= 0.1

Return value

No value is returned.