QVCI Library 3.2
 All Classes Namespaces Functions
Public Member Functions | List of all members
qvci\forms\Edit_document_form Class Reference
Inheritance diagram for qvci\forms\Edit_document_form:

Public Member Functions

 display ()
 
 init ($param=[])
 
 process_delete (&$state=[])
 
 process_submit (&$state=[])
 

Detailed Description

Implements the edit-document form.

Member Function Documentation

qvci\forms\Edit_document_form::display ( )

Display the form.

qvci\forms\Edit_document_form::init (   $param = [])

Create the form structure and initial values. There are basically two modes: Either we are editing an exiting document (document_id), or we are creating a new document with a possible master (master_id)

Parameters
array$param: document_id | master_id
Returns
boolean true for success
qvci\forms\Edit_document_form::process_delete ( $state = [])

Process the delete action

Parameters
array$state
Returns
bool true for success, false otherwise
qvci\forms\Edit_document_form::process_submit ( $state = [])

Process the submit action

Parameters
array$state
Returns
bool true for success, false otherwise

The documentation for this class was generated from the following file: