Method |
Description |
|
delete ( ) : void |
Delete the paste. |
|
exists ( ) : boolean |
Test if paste exists in store. |
|
get ( ) : stdClass |
Get paste data. |
|
getComment ( string $parentId, string $commentId = null ) : Comment |
Get a comment, optionally a specific instance. |
|
getComments ( ) : array |
Get all comments, if any. |
|
getDeleteToken ( ) : string |
Generate the "delete" token. |
|
isBurnafterreading ( ) : boolean |
Check if paste is of burn-after-reading type. |
|
isOpendiscussion ( ) : boolean |
Check if paste has discussions enabled. |
|
setAttachment ( string $attachment ) : void |
Set paste's attachment. |
|
setAttachmentName ( string $attachmentname ) : void |
Set paste's attachment name. |
|
setBurnafterreading ( string $burnafterreading = '1' ) : void |
Set paste's burn-after-reading type. |
|
setExpiration ( string $expiration ) : void |
Set paste expiration. |
|
setFormatter ( string $format ) : void |
Set paste's format. |
|
setOpendiscussion ( string $opendiscussion = '1' ) : void |
Set paste's discussion state. |
|
store ( ) : void |
Store the paste's data. |
|