Class main

Description

The stating point for constructing the web page.

Located in /templates/main/main.php (line 28)

WebObject
   |
   --main
Method Summary
 void check_book_id ( $book_id)
 void get_book_title ( $book_id,  $lng)
 void get_langs ( $book_id)
 void init ()
 void onRender ()
 void on_approve ( $event_args)
 void on_book ( $event_args)
 void on_docbook ( $event_args)
 void on_search ( $event_args)
 void on_xref ( $event_args)
Methods
check_book_id (line 60)

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.

void check_book_id ( $book_id)
  • $book_id
get_book_title (line 251)
void get_book_title ( $book_id,  $lng)
  • $book_id
  • $lng
get_langs (line 240)

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

void get_langs ( $book_id)
  • $book_id
init (line 30)
void init ()
onRender (line 231)
void onRender ()
on_approve (line 100)
void on_approve ( $event_args)
  • $event_args
on_book (line 72)
void on_book ( $event_args)
  • $event_args
on_docbook (line 138)
void on_docbook ( $event_args)
  • $event_args
on_search (line 122)
void on_search ( $event_args)
  • $event_args
on_xref (line 183)

this event is called by xref.php

void on_xref ( $event_args)
  • $event_args

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