Revision [1638]

This is an old revision of WikkaEmailToolkit made by JavaWoman on 2004-10-05 07:45:49.

 

Wikka Email Toolkit


Note: this is still incomplete but should already provide some solutions for the issues I've outlined on WikkaAndEmail. I'm giving code, instructions for how to implement in Wikka, and a peek at what's to follow.

All released under LGPL. You could use this with minor changes in other web projects that need email functionality as well.

I'm documenting everything now in the phpDocumentor format; please keep the documentation *with* the code. The documentation is readable (I think) even if it's not processed by phpDocumentor; and contains important information about what is supported (and why) and what is explicitly not supported, as well as how to use the functions. And, of course, it contains copyright and license information. :)

Toolkit implementation - step 1


Patterns

Define patterns:
At the start of wikka.php - add the following (including documentation blocks and without <?php and ?>) right after the WAKKA_VERSION define:
<?php
// Pattern defines (start every define in this block with 'PATTERN_' and attach a bit to indicate what it is a pattern for
/**#@+
 * Defines a pattern as a constant so it is available and consistent throughout the application
 */

define('PATTERN_NL',"/(\r?\n)|\r/");                # newline
define('PATTERN_INT','/^[0-9]+$/');                 # integer defined as string
/**#@-*/
?>


Toolkit implementation - step 1

There are 6 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki