incrementing version, updating changelog, added missing phpdoc comments

This commit is contained in:
El RIDO 2015-11-09 21:39:42 +01:00
parent bba485ef6d
commit 24a4328c55
24 changed files with 50 additions and 26 deletions

View file

@ -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
*/

View file

@ -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);

View file

@ -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
*/
/**