Class addbook

Description

This module is used to import a new book/article in the system or to create a new one. A list of the current books in the system is displayed as well and it is also possible to remove some books from the system.

Only the superuser can access this module.

Located in /templates/admin/addbook/addbook.php (line 35)

WebObject
   |
   --addbook
Method Summary
 void author_to_xml ( $str)
 void get_initial_xml ( $event_args)
 void get_legalnotice ( $author)
 void keywords_to_xml ( $str)
 void on_create ( $event_args)
Methods
author_to_xml (line 136)

Gets a string like this: 'Surname, Firstname, email'

and returns an xml like this: <author> <firstname>Firstname</firstname> <surname>Surname</surname> <affiliation> <address><email>email</email></address> </affiliation> </author>

void author_to_xml ( $str)
  • $str
get_initial_xml (line 61)

constructs and returns an intial xml document

void get_initial_xml ( $event_args)
  • $event_args
get_legalnotice (line 187)
void get_legalnotice ( $author)
  • $author
keywords_to_xml (line 172)

Gets a comma separated list of keywords: 'k1, k2, k3,'

and returns an xml like this: <keywordset> <keyword>k1</keyword> <keyword>k2</keyword> <keyword>k3</keyword> </keywordset>

void keywords_to_xml ( $str)
  • $str
on_create (line 37)
void on_create ( $event_args)
  • $event_args

Documentation generated on Wed, 09 Jan 2008 08:26:49 +0100 by phpDocumentor 1.3.2