Plexus Content Management System

form

Develop / PlexusCrud / form
Since version 0.1 - 0.4
$this->form($action = '')

Description

Will create a create/edit form using the attributes. Plexus calls this method by itself if you are on an addressed suffixed with /Edit, but you can call it manually too. If you call this method on an empty data type it will give you a create form, if there are already contents in the object you will get an edit form.

Parameters

$action = ''

Return

Returns the complete markup of an create/edit form.