]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/interfaces/mailer/class_DeliverableMail.php
User class renamed to Member and it's interface
[shipsimu.git] / inc / classes / interfaces / mailer / class_DeliverableMail.php
index 34a55086a2b57e7fa5f774e029da3eb1a88a0caa..7e042044fb4419dc4cc03f90490686aca1a9931d 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface DeliverableMail extends FrameworkInterface {
-       /**
-        * Loads a text or HTML template depending on configuration into the template engine
-        *
-        * @param       $templateName   Name of the template we shall load
-        * @return      void
-        */
-       function loadTemplate ($templateName);
-
        /**
         * Adds a user class to the recipient list for current template
         *
         * @param       $userInstance   An instance of a user class
         * @return      void
         */
-       function addRecipientByUserInstance (ManageableUser $userInstance);
+       function addRecipientByUserInstance (ManageableMember $userInstance);
 
        /**
         * Use subject line provided by the (XML) template otherwise a subject line must be set
@@ -50,14 +42,14 @@ interface DeliverableMail extends FrameworkInterface {
         *
         * @return      void
         */
-       function deliverEmail();
+       function deliverEmail ();
 
        /**
         * Send notification to the admin
         *
         * @return      void
         */
-       function sendAdminNotification();
+       function sendAdminNotification ();
 }
 
 //