com.lokorin.dfcrafters.lib
[ class tree: com.lokorin.dfcrafters.lib ] [ index: com.lokorin.dfcrafters.lib ] [ all elements ]

Procedural File: lib_authors.php

Source Location: /_includes/lib_authors.php



Classes:

Author
Describes an author.


Page Details:

Describes a library responsible for handeling everything related to authors.



Tags:

filesource:  Source Code for this file
license:  GNU Lesser General Public License
version:  $Revision: 1.4 $
author:  Andreas Launila


Includes:

require_once('common.php') [line 18]
For access to common constants and functions.







getAllAuthorNames [line 26]

array getAllAuthorNames( )

Gets all authors' names.



Tags:

return:  Each element represents an author. Key is the author's id, value as author's name.
access:  public


[ Top ]



getAuthorByName [line 42]

Author getAuthorByName( string $name)

Finds an author with a specified name.



Tags:

return:  An author with the specified name.
throws:  NoSuchElementException If no author with such a name is found.


Parameters

string   $name   The name of the author that should be found.
[ Top ]



Documentation generated on Tue, 10 Jan 2006 17:06:23 +0100 by phpDocumentor 1.3.0RC4