From: Michael M Slusarz Date: Sat, 11 Sep 2010 07:09:55 +0000 (-0600) Subject: Make this base driver abstract X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d5dad3194bf7fc1c2ea1a88d3a9d6dcb6cd14c51;p=horde.git Make this base driver abstract --- diff --git a/ingo/lib/Script/Imap/Api.php b/ingo/lib/Script/Imap/Api.php index 0ae4e7cad..f1d3df1ae 100644 --- a/ingo/lib/Script/Imap/Api.php +++ b/ingo/lib/Script/Imap/Api.php @@ -40,51 +40,39 @@ abstract class Ingo_Script_Imap_Api /** * TODO + * + * @return mixed */ - public function deleteMessages($indices) - { - return PEAR::raiseError('Not implemented.'); - } + abstract public function deleteMessages($indices); /** * TODO + * + * @return boolean */ - public function moveMessages($indices, $folder) - { - return PEAR::raiseError('Not implemented.'); - } + abstract public function moveMessages($indices, $folder); /** * TODO + * + * @return boolean */ - public function copyMessages($indices, $folder) - { - return PEAR::raiseError('Not implemented.'); - } + abstract public function copyMessages($indices, $folder); /** * TODO */ - public function setMessageFlags($indices, $flags) - { - return PEAR::raiseError('Not implemented.'); - } + abstract public function setMessageFlags($indices, $flags); /** * TODO */ - public function fetchEnvelope($indices) - { - return PEAR::raiseError('Not implemented.'); - } + abstract public function fetchEnvelope($indices); /** * TODO */ - public function search($query) - { - return PEAR::raiseError('Not implemented.'); - } + abstract public function search($query); /** * TODO