Revision Class Reference
Public Member Functions |
| Revision ($con, $id, $uid, $return_address) |
| save ($text, $type, $comment="") |
Data Fields |
| $con |
| $node_id |
| $user_id |
| $node_name |
| $return_address |
Member Function Documentation
Revision |
( |
$ |
con, |
|
|
$ |
id, |
|
|
$ |
uid, |
|
|
$ |
return_address | |
|
) |
| | |
Consructor
- Parameters:
-
| $con | The connection to the mysql database |
| $id | The id of the node associated with the tag |
| $uid | The id of the user associated with the tag |
save |
( |
$ |
text, |
|
|
$ |
type, |
|
|
$ |
comment = "" | |
|
) |
| | |
Updates the history and notifies subscribers
- Parameters:
-
| $text | The text of the previous revision |
| $type | "page" or "tag" |
The documentation for this class was generated from the following file: