summaryrefslogtreecommitdiffstats
path: root/app/class/agent.class.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2018-11-10 23:21:39 -0500
committerMalf Furious <m@lfurio.us>2018-11-10 23:21:39 -0500
commitf3165d28fff6468fca44ff2ec3b6cfb3fb82ee90 (patch)
treea8edb746f0a21d9e7ad134ba79be8278ecce147e /app/class/agent.class.php
parent0421aa1b60f4fe6bf140888159c58059c1013588 (diff)
parent295ba9fce85a959b04db4ac74b4ee378b42e6153 (diff)
downloadscrott-f3165d28fff6468fca44ff2ec3b6cfb3fb82ee90.tar.gz
scrott-f3165d28fff6468fca44ff2ec3b6cfb3fb82ee90.zip
Merge branch 'rel/v0.2'v0.2
Diffstat (limited to 'app/class/agent.class.php')
-rw-r--r--app/class/agent.class.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/class/agent.class.php b/app/class/agent.class.php
index 4c75f0b..4651a10 100644
--- a/app/class/agent.class.php
+++ b/app/class/agent.class.php
@@ -90,6 +90,13 @@ abstract class agent extends obj
}
/*
+ * Get all contained users. For users, this is an array containing
+ * only $this. For groups, this is an array containing the owner
+ * and all members.
+ */
+ public abstract function getContainedUsers() : array;
+
+ /*
* Send an email message to this agent using stored configuration
* parameters. If config is not established, delivery is not
* attempted. Return status.