Public Member Functions | Public Attributes

AuthorForm Class Reference

Form for adding/editing a author. More...

List of all members.

Public Member Functions

 AuthorForm ($monograph, $author)
 execute ()
 fetch (&$request)
 getAuthor ()
 getMonograph ()
 initData ()
 readInputData ()
 setAuthor ($author)
 setMonograph ($monograph)

Public Attributes

 $_author
 $_monograph

Detailed Description

Form for adding/editing a author.

Definition at line 17 of file AuthorForm.inc.php.


Member Function Documentation

AuthorForm.AuthorForm ( monograph,
author 
)

Constructor.

Definition at line 27 of file AuthorForm.inc.php.

References setAuthor(), and setMonograph().

AuthorForm.execute (  ) 

Save author

See also:
Form.execute()
Form.execute()

Definition at line 156 of file AuthorForm.inc.php.

References getAuthor(), and getMonograph().

AuthorForm.fetch ( &$  request  ) 

Fetch the form.

See also:
Form.fetch()

Definition at line 109 of file AuthorForm.inc.php.

References getAuthor(), and getMonograph().

AuthorForm.getAuthor (  ) 

Get the author

Returns:
Author

Definition at line 48 of file AuthorForm.inc.php.

Referenced by execute(), fetch(), and initData().

AuthorForm.getMonograph (  ) 

Get the Monograph

Returns:
Monograph

Definition at line 64 of file AuthorForm.inc.php.

Referenced by execute(), and fetch().

AuthorForm.initData (  ) 

Initialize form data from the associated author.

Parameters:
$author Author

Definition at line 84 of file AuthorForm.inc.php.

References getAuthor().

AuthorForm.readInputData (  ) 

Assign form data to user-submitted data.

See also:
Form.readInputData()

Definition at line 134 of file AuthorForm.inc.php.

AuthorForm.setAuthor ( author  ) 

Set the author

Parameters:
@author Author

Definition at line 56 of file AuthorForm.inc.php.

Referenced by AuthorForm().

AuthorForm.setMonograph ( monograph  ) 

Set the MonographId

Parameters:
Monograph 

Definition at line 72 of file AuthorForm.inc.php.

Referenced by AuthorForm().


Member Data Documentation

AuthorForm.$_author

Author the author being edited

Definition at line 22 of file AuthorForm.inc.php.

AuthorForm.$_monograph

The monograph associated with the submission contributor being edited

Definition at line 19 of file AuthorForm.inc.php.


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