Public Member Functions | |
| __construct ($parent, $blobClass) | |
| Create a transaction from a RecompressTracked object. | |
| addItem ($text, $textId) | |
| Add text. | |
| getSize () | |
| recompress () | |
| Recompress text after some aberrant modification. | |
| commit () | |
| Commit the blob. | |
Public Attributes | |
| $parent | |
| $blobClass | |
| $cgz | |
| $referrers | |
Definition at line 617 of file recompressTracked.php.
| CgzCopyTransaction::__construct | ( | $ | parent, | |
| $ | blobClass | |||
| ) |
Create a transaction from a RecompressTracked object.
Definition at line 626 of file recompressTracked.php.
References $blobClass, and $parent.
| CgzCopyTransaction::addItem | ( | $ | text, | |
| $ | textId | |||
| ) |
Add text.
Returns false if it's ready to commit.
Definition at line 637 of file recompressTracked.php.
References $text.
| CgzCopyTransaction::commit | ( | ) |
Commit the blob.
Does nothing if no text items have been added. May skip the move if --copy-only is set.
Definition at line 670 of file recompressTracked.php.
References $dbw, $res, $row, $url, recompress(), and wfGetDB().
| CgzCopyTransaction::getSize | ( | ) |
Definition at line 648 of file recompressTracked.php.
| CgzCopyTransaction::recompress | ( | ) |
Recompress text after some aberrant modification.
Definition at line 655 of file recompressTracked.php.
References $text.
Referenced by commit().
| CgzCopyTransaction::$blobClass |
| CgzCopyTransaction::$cgz |
Definition at line 620 of file recompressTracked.php.
| CgzCopyTransaction::$parent |
| CgzCopyTransaction::$referrers |
Definition at line 621 of file recompressTracked.php.
1.5.9