Add class docuumentation blocks and make phpdoc work again

release-0.6
thomascube 15 years ago
parent d824acaf11
commit d062dbe18c

@ -1,15 +1,6 @@
#!/usr/bin/env bash #!/bin/sh
if [ -z "$SSH_TTY" ] TITLE="Roundcube Classes"
then
if [ -z "$DEV_TTY" ]
then
echo "Not on the shell."
exit 1
fi
fi
TITLE="RoundCube Classes"
PACKAGES="Core" PACKAGES="Core"
INSTALL_PATH="`dirname $0`/.." INSTALL_PATH="`dirname $0`/.."

@ -26,7 +26,8 @@
* *
* @package Mail * @package Mail
* @author Thomas Bruederli <roundcube@gmail.com> * @author Thomas Bruederli <roundcube@gmail.com>
* @version 1.6 * @author Aleksander Machniak <alec@alec.pl>
* @version 2.0
*/ */
class rcube_imap class rcube_imap
{ {

@ -26,6 +26,12 @@
*/ */
/**
* Struct representing an e-mail message header
*
* @package Mail
* @author Aleksander Machniak <alec@alec.pl>
*/
class rcube_mail_header class rcube_mail_header
{ {
public $id; public $id;
@ -70,6 +76,12 @@ class iilBasicHeader extends rcube_mail_header
{ {
} }
/**
* PHP based wrapper class to connect to an IMAP server
*
* @package Mail
* @author Aleksander Machniak <alec@alec.pl>
*/
class rcube_imap_generic class rcube_imap_generic
{ {
public $error; public $error;

@ -23,7 +23,12 @@
*/ */
/**
* Helper class to process IMAP's BODYSTRUCTURE string
*
* @package Mail
* @author Aleksander Machniak <alec@alec.pl>
*/
class rcube_mime_struct class rcube_mime_struct
{ {
private $structure; private $structure;

@ -22,7 +22,7 @@
/** /**
* Plugin interface class * Plugin interface class
* *
* @package Core * @package PluginAPI
*/ */
abstract class rcube_plugin abstract class rcube_plugin
{ {

@ -22,7 +22,7 @@
/** /**
* The plugin loader and global API * The plugin loader and global API
* *
* @package Core * @package PluginAPI
*/ */
class rcube_plugin_api class rcube_plugin_api
{ {

@ -5,7 +5,7 @@
| program/include/rcube_session.php | | program/include/rcube_session.php |
| | | |
| This file is part of the RoundCube Webmail client | | This file is part of the RoundCube Webmail client |
| Copyright (C) 2005-2009, RoundCube Dev. - Switzerland | | Copyright (C) 2005-2010, RoundCube Dev. - Switzerland |
| Licensed under the GNU GPL | | Licensed under the GNU GPL |
| | | |
| PURPOSE: | | PURPOSE: |
@ -20,6 +20,13 @@
*/ */
/**
* Class to provide database supported session storage
*
* @package Core
* @author Thomas Bruederli <roundcube@gmail.com>
* @author Aleksander Machniak <alec@alec.pl>
*/
class rcube_session class rcube_session
{ {
private $db; private $db;

@ -5,7 +5,7 @@
| program/include/rcube_smtp.php | | program/include/rcube_smtp.php |
| | | |
| This file is part of the RoundCube Webmail client | | This file is part of the RoundCube Webmail client |
| Copyright (C) 2005-2007, RoundCube Dev. - Switzerland | | Copyright (C) 2005-2010, RoundCube Dev. - Switzerland |
| Licensed under the GNU GPL | | Licensed under the GNU GPL |
| | | |
| PURPOSE: | | PURPOSE: |
@ -22,7 +22,15 @@
// define headers delimiter // define headers delimiter
define('SMTP_MIME_CRLF', "\r\n"); define('SMTP_MIME_CRLF', "\r\n");
class rcube_smtp { /**
* Class to provide SMTP functionality using PEAR Net_SMTP
*
* @package Mail
* @author Thomas Bruederli <roundcube@gmail.com>
* @author Aleksander Machniak <alec@alec.pl>
*/
class rcube_smtp
{
private $conn = null; private $conn = null;
private $response; private $response;
@ -124,7 +132,7 @@ class rcube_smtp {
$this->error = array('label' => 'smtpautherror', 'vars' => array('code' => $this->conn->_code)); $this->error = array('label' => 'smtpautherror', 'vars' => array('code' => $this->conn->_code));
$this->response[] .= 'Authentication failure: ' . $result->getMessage() . ' (Code: ' . $result->getCode() . ')'; $this->response[] .= 'Authentication failure: ' . $result->getMessage() . ' (Code: ' . $result->getCode() . ')';
$this->reset(); $this->reset();
$this->disconnect(); $this->disconnect();
return false; return false;
} }
} }

Loading…
Cancel
Save