
Definition at line 35 of file addbook.php.
Public Member Functions | |
| on_create ($event_args) | |
| get_initial_xml ($event_args) | |
| constructs and returns an intial xml document | |
| author_to_xml ($str) | |
| 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>. | |
| keywords_to_xml ($str) | |
| 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>. | |
| get_legalnotice ($author) | |
| addbook::on_create | ( | $ | event_args | ) |
Definition at line 37 of file addbook.php.
References $event_args, $lng, get_initial_xml(), shell(), and write_tmp_file().
| addbook::get_initial_xml | ( | $ | event_args | ) |
constructs and returns an intial xml document
Definition at line 61 of file addbook.php.
References $event_args, $lng, author_to_xml(), get_legalnotice(), and keywords_to_xml().
Referenced by on_create().
| addbook::author_to_xml | ( | $ | str | ) |
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>.
Definition at line 136 of file addbook.php.
Referenced by get_initial_xml().
| addbook::keywords_to_xml | ( | $ | str | ) |
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>.
Definition at line 172 of file addbook.php.
Referenced by get_initial_xml().
| addbook::get_legalnotice | ( | $ | author | ) |
1.5.2