revisions Class Reference

Inheritance diagram for revisions:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 31 of file revisions.php.

Public Member Functions

 init ()
 on_show ($event_args)
 on_hide ($event_args)
 clear ()
 on_set_tag ($event_args)
 on_set_rev ($event_args)
 on_set_date ($event_args)
 on_save ($event_args)
 onRender ()
 add_rs_tags ()
 Add to webpage a recordset of tags.
 add_rs_revs ()
 Add to webpage a recordset of revs.
 add_file_revision ()
 add the variable {{file_revision}}
 get_revision ()
 return the content.xml at the selected revision (or date, or tag)
 add_rev_diff ()
 add {{rev_diff}}, the difference of the selected revision with the HEAD
 get_svn_url ()
 return the URL of the SVN repository: file://path/book_id/lng


Member Function Documentation

revisions::init (  ) 

Definition at line 33 of file revisions.php.

revisions::on_show ( event_args  ) 

Definition at line 41 of file revisions.php.

revisions::on_hide ( event_args  ) 

Definition at line 46 of file revisions.php.

revisions::clear (  ) 

Definition at line 51 of file revisions.php.

Referenced by on_save(), on_set_date(), on_set_rev(), and on_set_tag().

revisions::on_set_tag ( event_args  ) 

Definition at line 58 of file revisions.php.

References $event_args, and clear().

revisions::on_set_rev ( event_args  ) 

Definition at line 65 of file revisions.php.

References $event_args, and clear().

revisions::on_set_date ( event_args  ) 

Definition at line 72 of file revisions.php.

References $event_args, and clear().

revisions::on_save ( event_args  ) 

Definition at line 79 of file revisions.php.

References clear(), file_content_xml(), get_revision(), set_node_status(), update_cache(), and write_file().

revisions::onRender (  ) 

Definition at line 96 of file revisions.php.

References add_file_revision(), add_rev_diff(), add_rs_revs(), and add_rs_tags().

revisions::add_rs_tags (  ) 

Add to webpage a recordset of tags.

Definition at line 109 of file revisions.php.

References get_svn_url(), and shell().

Referenced by onRender().

revisions::add_rs_revs (  ) 

Add to webpage a recordset of revs.

Definition at line 131 of file revisions.php.

References file_content_xml(), and shell().

Referenced by onRender().

revisions::add_file_revision (  ) 

add the variable {{file_revision}}

Definition at line 155 of file revisions.php.

References $book_id, $lng, get_revision(), shell(), and write_tmp_file().

Referenced by onRender().

revisions::get_revision (  ) 

return the content.xml at the selected revision (or date, or tag)

Definition at line 182 of file revisions.php.

References file_content_xml(), get_svn_url(), and shell().

Referenced by add_file_revision(), and on_save().

revisions::add_rev_diff (  ) 

add {{rev_diff}}, the difference of the selected revision with the HEAD

Definition at line 212 of file revisions.php.

References file_content_xml(), get_node_content(), get_svn_url(), shell(), and write_tmp_file().

Referenced by onRender().

revisions::get_svn_url (  ) 

return the URL of the SVN repository: file://path/book_id/lng

Definition at line 297 of file revisions.php.

References $book_id, $lng, and shell().

Referenced by add_rev_diff(), add_rs_tags(), and get_revision().


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