PHP Class PrivateBin\PrivateBin

Controller, puts it all together.
Afficher le fichier Open project: privatebin/privatebin

Méthodes publiques

Méthode Description
__construct ( ) : void constructor

Private Methods

Méthode Description
_create ( ) : string Store new paste or comment
_delete ( string $dataid, string $deletetoken ) : void Delete an existing paste
_init ( ) : void initialize privatebin
_jsonld ( string $type ) : void outputs requested JSON-LD context
_read ( string $dataid ) : void Read an existing paste or comment
_return_message ( integer $status, string $message, array $other = [] ) : void prepares JSON encoded status message
_view ( ) : void Display PrivateBin frontend.

Method Details

__construct() public méthode

initializes and runs PrivateBin
public __construct ( ) : void
Résultat void