new Paste()
Paste class
bundles helper fuctions around the paste formats
- Source:
Methods
(static) getCipherData() → {Array}
gets the cipher data (cipher text + adata)
- Source:
Returns:
|{string}
- Type
- Array
(static) getCreated() → {int}
gets the UNIX timestamp of the comment creation
- Source:
Returns:
- Type
- int
(static) getFormat() → {string}
gets the used formatter
- Source:
Returns:
- Type
- string
(static) getIcon() → {string}
gets the icon of the comment submitter
- Source:
Returns:
- Type
- string
(static) getTimeToLive() → {string}
gets the remaining seconds before the paste expires
returns 0 if there is no expiration
- Source:
Returns:
- Type
- string
(static) isBurnAfterReadingEnabled() → {bool}
is burn-after-reading enabled
- Source:
Returns:
- Type
- bool
(static) isDiscussionEnabled() → {bool}
are discussions enabled
- Source:
Returns:
- Type
- bool