mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-09 15:02:47 -04:00
cleaned up phpdoc comments, added README on how to install and use it
This commit is contained in:
parent
3a183470a6
commit
24d18c5313
12 changed files with 336 additions and 86 deletions
|
@ -17,12 +17,16 @@
|
|||
*/
|
||||
class zerobin
|
||||
{
|
||||
/*
|
||||
* @const string version
|
||||
/**
|
||||
* version
|
||||
*
|
||||
* @const string
|
||||
*/
|
||||
const VERSION = 'Alpha 0.19';
|
||||
|
||||
/**
|
||||
* configuration array
|
||||
*
|
||||
* @access private
|
||||
* @var array
|
||||
*/
|
||||
|
@ -31,26 +35,34 @@ class zerobin
|
|||
);
|
||||
|
||||
/**
|
||||
* data
|
||||
*
|
||||
* @access private
|
||||
* @var string
|
||||
*/
|
||||
private $_data = '';
|
||||
|
||||
/**
|
||||
* error message
|
||||
*
|
||||
* @access private
|
||||
* @var string
|
||||
*/
|
||||
private $_error = '';
|
||||
|
||||
/**
|
||||
* status message
|
||||
*
|
||||
* @access private
|
||||
* @var string
|
||||
*/
|
||||
private $_status = '';
|
||||
|
||||
/**
|
||||
* data storage model
|
||||
*
|
||||
* @access private
|
||||
* @var zerobin_data
|
||||
* @var zerobin_abstract
|
||||
*/
|
||||
private $_model;
|
||||
|
||||
|
@ -60,6 +72,7 @@ class zerobin
|
|||
* initializes and runs ZeroBin
|
||||
*
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
|
@ -128,7 +141,7 @@ class zerobin
|
|||
* get the model, create one if needed
|
||||
*
|
||||
* @access private
|
||||
* @return zerobin_data
|
||||
* @return zerobin_abstract
|
||||
*/
|
||||
private function _model()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue