summaryrefslogtreecommitdiff
path: root/lib/KolabAdmin/Sieve/Segment/Delivery.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/KolabAdmin/Sieve/Segment/Delivery.php')
-rw-r--r--lib/KolabAdmin/Sieve/Segment/Delivery.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/KolabAdmin/Sieve/Segment/Delivery.php b/lib/KolabAdmin/Sieve/Segment/Delivery.php
index ba07410..8164b30 100644
--- a/lib/KolabAdmin/Sieve/Segment/Delivery.php
+++ b/lib/KolabAdmin/Sieve/Segment/Delivery.php
@@ -27,11 +27,41 @@
* @link http://www.kolab.org
*/
class KolabAdmin_Sieve_Segment_Delivery
+extends KolabAdmin_Sieve_Segment
{
/**
+ * The folder to deliver mails to.
+ *
+ * @var string
+ */
+ private $_delivery_folder;
+
+ /**
* Constructor.
*/
public function __construct()
{
}
+
+ /**
+ * Retrieve the delivery folder this script will deliver to.
+ *
+ * @return string The delivery folder.
+ */
+ public function getDeliveryFolder()
+ {
+ return $this->_delivery_folder;
+ }
+
+ /**
+ * Set the delivery folder this script will deliver to.
+ *
+ * @param string $folder The delivery folder.
+ *
+ * @return NULL
+ */
+ public function setDeliveryFolder($folder)
+ {
+ $this->_delivery_folder = $folder;
+ }
} \ No newline at end of file