main Class Reference

Inheritance diagram for main:

Inheritance graph
[legend]
List of all members.

Detailed Description

The stating point for constructing the web page.

Definition at line 28 of file main.php.

Public Member Functions

 init ()
 check_book_id ($book_id)
 Checks whether the given book_id exists or not.
 on_book ($event_args)
 on_approve ($event_args)
 on_search ($event_args)
 on_docbook ($event_args)
 on_xref ($event_args)
 this event is called by xref.php
 onRender ()
 get_langs ($book_id)
 Returns an array of languages (en,fr,it,al) in which the book is available.
 get_book_title ($book_id, $lng)


Member Function Documentation

main::init (  ) 

Definition at line 30 of file main.php.

References $book_id, $lng, check_book_id(), get_book_title(), and get_langs().

main::check_book_id ( book_id  ) 

Checks whether the given book_id exists or not.

If it does not exist, display an error message and return a book_id that does exist.

Definition at line 60 of file main.php.

References $book_id, and T_().

Referenced by init(), and on_book().

main::on_book ( event_args  ) 

Definition at line 72 of file main.php.

References $book_id, $event_args, $lng, check_book_id(), get_book_title(), and get_langs().

main::on_approve ( event_args  ) 

Definition at line 100 of file main.php.

References $book_id, $event_args, $lng, get_book_title(), and get_langs().

main::on_search ( event_args  ) 

Definition at line 122 of file main.php.

References $event_args.

main::on_docbook ( event_args  ) 

Definition at line 138 of file main.php.

References $book_id, $event_args, $lng, get_book_title(), get_langs(), and T_().

main::on_xref ( event_args  ) 

this event is called by xref.php

Definition at line 183 of file main.php.

References $book_id, $event_args, $lng, $mode, $node_id, get_book_title(), get_langs(), shell(), and T_().

main::onRender (  ) 

Definition at line 231 of file main.php.

References T_().

main::get_langs ( book_id  ) 

Returns an array of languages (en,fr,it,al) in which the book is available.

Definition at line 240 of file main.php.

References shell().

Referenced by init(), on_approve(), on_book(), on_docbook(), and on_xref().

main::get_book_title ( book_id,
lng 
)

Definition at line 251 of file main.php.

References $book_list, and shell().

Referenced by init(), on_approve(), on_book(), on_docbook(), docbook::on_set_lng(), and on_xref().


Generated on Wed Jan 9 08:27:41 2008 for DokBookWiki by  doxygen 1.5.2