MTabbedForm Class Reference

Inheritance diagram for MTabbedForm:

Inheritance graph
[legend]
Collaboration diagram for MTabbedForm:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __construct ($title= '', $action= '')
 AddField ()
 AddPage ($form)
 SetPages ($forms)
 GetCurrentPage ()
 SetCurrentPage ($index)
 GetFieldList ()
 EventHandler ()
 SetPainterMethod ($method)
 GenerateHeader ()
 GenerateFooter ()
 GenerateTabs ()
 GenerateBody ()
 GenerateHtml ()
 GenerateJavascript ()
 Generate ()

Public Attributes

 $nOrder
 $pages
 $activepage
 $currentpage
 $pagecount
 $pagewidth = 80
 $pageheight = 250
 $header
 $footer
 $painterMethod

Static Public Attributes

static $order = 0

Detailed Description

Definition at line 19 of file mtabbedform.class.


Constructor & Destructor Documentation

MTabbedForm::__construct ( title = '',
action = '' 
)

Definition at line 33 of file mtabbedform.class.

References MForm::$action, $order, MForm::$title, and SetCurrentPage().

Here is the call graph for this function:


Member Function Documentation

MTabbedForm::AddField (  ) 

Definition at line 50 of file mtabbedform.class.

MTabbedForm::AddPage ( form  ) 

Definition at line 55 of file mtabbedform.class.

References MComponent::$page.

Referenced by SetPages().

Here is the caller graph for this function:

MTabbedForm::SetPages ( forms  ) 

Definition at line 84 of file mtabbedform.class.

References AddPage().

Here is the call graph for this function:

MTabbedForm::GetCurrentPage (  ) 

Definition at line 98 of file mtabbedform.class.

Referenced by EventHandler(), GenerateBody(), GenerateJavascript(), and GenerateTabs().

Here is the caller graph for this function:

MTabbedForm::SetCurrentPage ( index  ) 

Definition at line 103 of file mtabbedform.class.

Referenced by __construct().

Here is the caller graph for this function:

MTabbedForm::GetFieldList (  ) 

Returns form fields list. This is a placeholder function to bu the form's field list. It is excpected, that the form returns a scalar list of all defined fields which carry a form field value. Thus, form elements of decorative purpose only should be omitted.

Derived classes such as TabbedForm override this function to provide the list of fields independently of the form's layout.

Returns:
(array) a scalar array of form fields

Reimplemented from MForm.

Definition at line 112 of file mtabbedform.class.

References MForm::$fields, and MComponent::$page.

MTabbedForm::EventHandler (  ) 

Definition at line 128 of file mtabbedform.class.

References GetCurrentPage().

Here is the call graph for this function:

MTabbedForm::SetPainterMethod ( method  ) 

Definition at line 135 of file mtabbedform.class.

References MForm::$method.

MTabbedForm::GenerateHeader (  ) 

Definition at line 142 of file mtabbedform.class.

Referenced by GenerateBody(), and GenerateJavascript().

Here is the caller graph for this function:

MTabbedForm::GenerateFooter (  ) 

Brief Description. Complete Description.

Returns:
(tipo) desc

Reimplemented from MForm.

Definition at line 147 of file mtabbedform.class.

Referenced by GenerateBody().

Here is the caller graph for this function:

MTabbedForm::GenerateTabs (  ) 

Definition at line 152 of file mtabbedform.class.

References MComponent::$page, and GetCurrentPage().

Referenced by GenerateBody().

Here is the call graph for this function:

Here is the caller graph for this function:

MTabbedForm::GenerateBody (  ) 

Brief Description. Complete Description.

Returns:
(tipo) desc

Reimplemented from MForm.

Definition at line 205 of file mtabbedform.class.

References MForm::$buttons, MForm::$fields, MForm::$layout, MComponent::$page, MForm::$width, MForm::GenerateButtons(), MForm::GenerateErrors(), GenerateFooter(), GenerateHeader(), MForm::GenerateHiddenFields(), GenerateTabs(), GetCurrentPage(), and MForm::HasErrors().

Referenced by GenerateHtml().

Here is the call graph for this function:

Here is the caller graph for this function:

MTabbedForm::GenerateHtml (  ) 

Definition at line 323 of file mtabbedform.class.

References MForm::$title, and GenerateBody().

Here is the call graph for this function:

MTabbedForm::GenerateJavascript (  ) 

Definition at line 343 of file mtabbedform.class.

References MForm::$buttons, $header, MControl::$id, MComponent::$page, MForm::$width, MForm::GenerateButtons(), GenerateHeader(), MForm::GenerateHiddenFields(), GetCurrentPage(), and MForm::HasInfos().

Here is the call graph for this function:

MTabbedForm::Generate (  ) 

Reimplemented from MForm.

Definition at line 413 of file mtabbedform.class.

References MForm::$method.


Member Data Documentation

MTabbedForm::$order = 0 [static]

Definition at line 21 of file mtabbedform.class.

Referenced by __construct().

MTabbedForm::$nOrder

Definition at line 22 of file mtabbedform.class.

MTabbedForm::$pages

Definition at line 23 of file mtabbedform.class.

MTabbedForm::$activepage

Definition at line 24 of file mtabbedform.class.

MTabbedForm::$currentpage

Definition at line 25 of file mtabbedform.class.

MTabbedForm::$pagecount

Definition at line 26 of file mtabbedform.class.

MTabbedForm::$pagewidth = 80

Definition at line 27 of file mtabbedform.class.

MTabbedForm::$pageheight = 250

Definition at line 28 of file mtabbedform.class.

MTabbedForm::$header

Definition at line 29 of file mtabbedform.class.

Referenced by GenerateJavascript().

MTabbedForm::$footer

Attribute Description.

Reimplemented from MForm.

Definition at line 30 of file mtabbedform.class.

MTabbedForm::$painterMethod

Definition at line 31 of file mtabbedform.class.


The documentation for this class was generated from the following file:
CopyLeft (L) 2001-2006 - [MIOLO Development Team] SOLIS - Cooperativa de Soluções Livres - Lajeado/RS - Brasil