Public Member Functions

AuthorDAO Class Reference
[Monograph]

Operations for retrieving and modifying Author objects. More...

List of all members.

Public Member Functions

 AuthorDAO ()
 deleteAuthorsByMonograph ($submissionId)
getAuthorsAlphabetizedByPress ($pressId=null, $initial=null, $rangeInfo=null)
 insertAuthor (&$author)
 newDataObject ()
 updateAuthor ($author)

Detailed Description

Operations for retrieving and modifying Author objects.

See also:
Author
ChapterDAO (uses AuthorDAO)

Definition at line 23 of file AuthorDAO.inc.php.


Member Function Documentation

AuthorDAO.AuthorDAO (  ) 

Constructor

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

AuthorDAO.deleteAuthorsByMonograph ( submissionId  ) 

Delete authors by submission.

Parameters:
$submissionId int

Definition at line 184 of file AuthorDAO.inc.php.

& AuthorDAO.getAuthorsAlphabetizedByPress ( pressId = null,
initial = null,
rangeInfo = null 
)

Retrieve all published authors for a press in an associative array by the first letter of the last name, for example: $returnedArray['S'] gives array($misterSmithObject, $misterSmytheObject, ...) Keys will appear in sorted order. Note that if pressId is null, alphabetized authors for all presses are returned.

Parameters:
$pressId int
$initial An initial the last names must begin with
Returns:
array Authors ordered by sequence

Definition at line 41 of file AuthorDAO.inc.php.

AuthorDAO.insertAuthor ( &$  author  ) 

Insert a new Author.

Parameters:
$author Author

Definition at line 103 of file AuthorDAO.inc.php.

AuthorDAO.newDataObject (  ) 

Get a new data object

Returns:
DataObject

Definition at line 95 of file AuthorDAO.inc.php.

AuthorDAO.updateAuthor ( author  ) 

Update an existing Author.

Parameters:
$author Author

Definition at line 144 of file AuthorDAO.inc.php.


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