DataObjects/Person.php
authorAlan Knowles <alan@akbkhome.com>
Sun, 28 Oct 2012 12:42:51 +0000 (20:42 +0800)
committerAlan Knowles <alan@akbkhome.com>
Sun, 28 Oct 2012 12:42:51 +0000 (20:42 +0800)
DataObjects/Person.php

index 2f71b02..981acc4 100644 (file)
@@ -41,6 +41,16 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
     ###END_AUTOCODE
     /**
      *
+     * Build an email to sent do user
+     *
+     * key 'args'
+     *
+     * no_auth => disable authentication check on
+     * templateDir => alternative template directory.
+     * HTTP_HOST
+     *
+     * expects mail/TMPLATE.txt (if .html exists, it will be the html body version)
+     * 
      * @param {String} $templateFile  (mail/XXXXXXX.txt) exclude the mail and .txt bit.
      * @param {Array|Object} $args   data to send out..
      * @return {Array|PEAR_Error} array of $recipents, $header, $body