Tariqa SOAP
 All Data Structures Namespaces Files Functions Variables Enumerations
MetaNull Namespace Reference

Detailed Description

Access to the European Commission's LDAP Directory

Author:
Pascal (Meta) Havelange (havel.nosp@m.ange.nosp@m.p@gma.nosp@m.il.c.nosp@m.om)

LDAP Database access, set on the European Commission's database

Author:
Pascal (Meta) Havelange (havel.nosp@m.ange.nosp@m.p@gma.nosp@m.il.c.nosp@m.om)

SMTP e-mail messaging, set on the European Commission's SMTP server

Author:
Pascal Havelange

Helper functions & classes for LDAP access

Author:
Pascal Havelange

LDAP Helper Class

Author:
Pascal Havelange

Base class for SMTP related functions

Exception indicating an invalid email address format

Exception indicating an invalid attachment file

Helper Class for SMTP e-mails sending

Author:
Pascal Havelange

Helper functions & classes to build web pages based on template documents

Author:
Pascal Havelange

Helper class for template document creation

The supported syntax is of the form

<NAMESPACE:value key="DATA_KEY" [function="FUNCTION_NAME"]>[DEFAULT_VALUE]</NAMESPACE:value> <NAMESPACE:value key="DATA_KEY" [function="FUNCTION_NAME"]/> <NAMESPACE:object key="OBJECT_KEY"/> <NAMESPACE:array key="DATA_KEY">[DATA_BLOCK]</NAMESPACE:array> <NAMESPACE:until key="FUNCTION_NAME">[DATA_BLOCK]</NAMESPACE:until>

Author:
Pascal Havelange

Interface for objects used by the MTemplate class Evey mtemplate:object key must refer to a class extending MTemplateObject

Author:
Pascal Havelange

Specialize MTemplateObject class to help handle MySQL queries

Example:

  • Template: (file: persons.html) <html><body>
    m:object key="my_query">

<m:value key="last_name" />

<m:value key="first_name" /> </m:object>

</body></html>

  • PHP: (file: persons.php) <?php $my_query = new MTemplateObject_mysql(); $my_query->user = "guest"; $my_query->pass = ""; $my_query->host = "localhost"; $my_query->name = "test"; $my_query->encoding = "utf8"; $my_query->query = "select first_name, last_name from persons"; $page = new MTemplate( "m" ); $page->loadTemplate( "persons.html" ); $page->data["my_query"] = $my_query; $page->useCache( FALSE ); echo $page->transform(); ?>
Author:
Pascal Havelange