mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-06-19 20:24:25 -04:00
incrementing version, updating changelog, added missing phpdoc comments
This commit is contained in:
parent
bba485ef6d
commit
24a4328c55
24 changed files with 50 additions and 26 deletions
|
@ -7,7 +7,7 @@
|
|||
* @link http://sebsauvage.net/wiki/doku.php?id=php:zerobin
|
||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||
* @license http://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||
* @version 0.21.1
|
||||
* @version 0.22
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -80,6 +80,7 @@ abstract class model_abstract
|
|||
* Set ID.
|
||||
*
|
||||
* @access public
|
||||
* @param string $id
|
||||
* @throws Exception
|
||||
* @return void
|
||||
*/
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* @link http://sebsauvage.net/wiki/doku.php?id=php:zerobin
|
||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||
* @license http://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||
* @version 0.21.1
|
||||
* @version 0.22
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -161,6 +161,14 @@ class model_comment extends model_abstract
|
|||
return $this->_data->meta->parentid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set nickname.
|
||||
*
|
||||
* @access public
|
||||
* @param string $nickname
|
||||
* @throws Exception
|
||||
* @return void
|
||||
*/
|
||||
public function setNickname($nickname)
|
||||
{
|
||||
if (!sjcl::isValid($nickname)) throw new Exception('Invalid data.', 66);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* @link http://sebsauvage.net/wiki/doku.php?id=php:zerobin
|
||||
* @copyright 2012 Sébastien SAUVAGE (sebsauvage.net)
|
||||
* @license http://www.opensource.org/licenses/zlib-license.php The zlib/libpng License
|
||||
* @version 0.21.1
|
||||
* @version 0.22
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue