메소드 |
설명 |
|
create ( string $pasteid, array $paste ) : boolean |
Create a paste. |
|
createComment ( string $pasteid, string $parentid, string $commentid, array $comment ) : boolean |
Create a comment in a paste. |
|
delete ( string $pasteid ) : void |
Delete a paste and its discussion. |
|
exists ( string $pasteid ) : boolean |
Test if a paste exists. |
|
existsComment ( string $pasteid, string $parentid, string $commentid ) : boolean |
Test if a comment exists. |
|
getInstance ( array $options ) : privatebin_abstract |
get instance of singleton |
|
purge ( integer $batchsize ) : void |
Perform a purge of old pastes, at most the given batchsize is deleted. |
|
read ( string $pasteid ) : stdClas\stdClass | false |
Read a paste. |
|
readComments ( string $pasteid ) : array |
Read all comments of paste. |
|