From d5dad3194bf7fc1c2ea1a88d3a9d6dcb6cd14c51 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Sat, 11 Sep 2010 01:09:55 -0600 Subject: [PATCH] Make this base driver abstract --- ingo/lib/Script/Imap/Api.php | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) 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 -- 2.11.0