This repository has been archived by the owner on May 25, 2024. It is now read-only.
forked from emersonfaria/ExpressoLivre3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Message.php
68 lines (63 loc) · 1.61 KB
/
Message.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/**
* Tine 2.0
*
* @package Felamimail
* @subpackage Controller
* @license http://www.gnu.org/licenses/agpl.html AGPL Version 3
* @author Philipp Schüle <p.schuele@metaways.de>
* @copyright Copyright (c) 2009-2011 Metaways Infosystems GmbH (http://www.metaways.de)
*
* @todo parse mail body and add <a> to telephone numbers?
*/
/**
* message controller for Felamimail
*
* @package Felamimail
* @subpackage Controller
*/
class Felamimail_Controller_Message
{
/**
* holds the instance of the singleton
*
* @var Felamimail_Controller_Message
*/
private static $_instance = NULL;
/**
* the constructor
*
* don't use the constructor. use the singleton
*/
private function __construct()
{
/*
$this->_modelName = 'Felamimail_Model_Message';
$this->_doContainerACLChecks = FALSE;
$this->_backend = Felamimail_Backend_Message::getInstance();
$this->_currentAccount = Tinebase_Core::getUser();
$this->_cacheController = Felamimail_Controller_Cache_Message::getInstance();
*
*/
}
/**
* don't clone. Use the singleton.
*
*/
private function __clone()
{
}
/**
* the singleton pattern
*
* @return Felamimail_Controller_Message
*/
public static function getInstance()
{
if (self::$_instance === NULL)
{
self::$_instance = Felamimail_Controller_Cache_Message::getInstance();
}
return self::$_instance;
}
}