Definition at line 34 of file tags.php.
Public Member Functions | |
set_revision ($revision) | |
write_fixed_file ($content) | |
Write the file 'fixed' which prevents the update of the latest changes of the book in the public copy. | |
on_set_tag ($event_args) | |
on_set_rev ($event_args) | |
on_set_date ($event_args) | |
on_add_tag ($event_args) | |
on_del_tag ($event_args) | |
onRender () | |
get_current_tag () | |
get_revision_nr () | |
get_revision_date () | |
get_head_revision () | |
is_fixed () | |
add_rs_tags () | |
Add to webpage a recordset of tags. | |
get_svn_url () | |
return the URL of the SVN repository: file://path/book_id/lng | |
get_book_dir () | |
return the directory of the book: content/books/xml/book_id/lng/ |
tags::set_revision | ( | $ | revision | ) |
Definition at line 36 of file tags.php.
References $book_id, $lng, get_current_tag(), get_svn_url(), popup_window(), shell(), and T_().
Referenced by on_set_date(), and on_set_rev().
tags::write_fixed_file | ( | $ | content | ) |
Write the file 'fixed' which prevents the update of the latest changes of the book in the public copy.
Definition at line 62 of file tags.php.
References get_book_dir(), and write_file().
Referenced by on_set_date(), on_set_rev(), and on_set_tag().
tags::on_set_tag | ( | $ | event_args | ) |
Definition at line 68 of file tags.php.
References $book_id, $event_args, $lng, get_svn_url(), popup_window(), shell(), T_(), and write_fixed_file().
tags::on_set_rev | ( | $ | event_args | ) |
Definition at line 87 of file tags.php.
References $event_args, get_book_dir(), set_revision(), shell(), and write_fixed_file().
tags::on_set_date | ( | $ | event_args | ) |
Definition at line 101 of file tags.php.
References $event_args, set_revision(), and write_fixed_file().
tags::on_add_tag | ( | $ | event_args | ) |
Definition at line 108 of file tags.php.
References $event_args, get_book_dir(), get_revision_date(), get_revision_nr(), get_svn_url(), and shell().
tags::on_del_tag | ( | $ | event_args | ) |
tags::onRender | ( | ) |
Definition at line 130 of file tags.php.
References add_rs_tags(), get_current_tag(), get_head_revision(), get_revision_date(), get_revision_nr(), and is_fixed().
tags::get_current_tag | ( | ) |
Definition at line 140 of file tags.php.
References $book_id, $lng, and shell().
Referenced by onRender(), and set_revision().
tags::get_revision_nr | ( | ) |
Definition at line 153 of file tags.php.
References get_book_dir(), and shell().
Referenced by on_add_tag(), and onRender().
tags::get_revision_date | ( | ) |
Definition at line 162 of file tags.php.
References get_book_dir(), and shell().
Referenced by on_add_tag(), and onRender().
tags::get_head_revision | ( | ) |
tags::is_fixed | ( | ) |
tags::add_rs_tags | ( | ) |
Add to webpage a recordset of tags.
Definition at line 192 of file tags.php.
References get_svn_url(), and shell().
Referenced by onRender().
tags::get_svn_url | ( | ) |
return the URL of the SVN repository: file://path/book_id/lng
Definition at line 214 of file tags.php.
References $book_id, $lng, and shell().
Referenced by add_rs_tags(), on_add_tag(), on_del_tag(), on_set_tag(), and set_revision().
tags::get_book_dir | ( | ) |
return the directory of the book: content/books/xml/book_id/lng/
Definition at line 229 of file tags.php.
References $book_id, and $lng.
Referenced by get_revision_date(), get_revision_nr(), is_fixed(), on_add_tag(), on_set_rev(), and write_fixed_file().