diff --git a/docs/en/programmers/api-functions/api-connect.xml b/docs/en/programmers/api-functions/api-connect.xml
new file mode 100644
index 00000000..586f045c
--- /dev/null
+++ b/docs/en/programmers/api-functions/api-connect.xml
@@ -0,0 +1,57 @@
+
+
+
+
+ connect
+
+
+
+
+
+ voidconnect
+ objectsmarty
+
+
+ voidconnect
+ objectsmarty
+ boolreset
+
+
+ connect() is required on every invocation of SmartyValidate. Pass your
+ $smarty object as the parameter. This sets up SmartyValidate with $smarty
+ and auto-registers the default form. Passing the optional second param as
+ true, the default form registration will get reset.
+
+
+ connect
+
+
+]]>
+
+
+
+
+
diff --git a/docs/en/programmers/api-functions/api-disconnect.xml b/docs/en/programmers/api-functions/api-disconnect.xml
new file mode 100644
index 00000000..81fc5ef8
--- /dev/null
+++ b/docs/en/programmers/api-functions/api-disconnect.xml
@@ -0,0 +1,49 @@
+
+
+
+
+ disconnect
+
+
+
+
+
+ voiddisconnect
+
+
+ This clears the SmartyValidate session data. Call this after you are
+ completely finished with SmartyValidate (ie. do NOT call between form
+ submissions.)
+
+
+ disconnect
+
+
+]]>
+
+
+
+
+
diff --git a/docs/en/programmers/api-functions/api-is-form-registered.xml b/docs/en/programmers/api-functions/api-is-form-registered.xml
new file mode 100644
index 00000000..91107809
--- /dev/null
+++ b/docs/en/programmers/api-functions/api-is-form-registered.xml
@@ -0,0 +1,48 @@
+
+
+
+
+ is_form_registered
+
+
+
+
+
+ boolis_form_registered
+ stringform
+
+
+ Test if a form has been registered for validation.
+
+
+ is_form_registered
+
+
+]]>
+
+
+
+
+
diff --git a/docs/en/programmers/api-functions/api-is-registered-criteria.xml b/docs/en/programmers/api-functions/api-is-registered-criteria.xml
new file mode 100644
index 00000000..8437f7cc
--- /dev/null
+++ b/docs/en/programmers/api-functions/api-is-registered-criteria.xml
@@ -0,0 +1,54 @@
+
+
+
+
+ is_registered_criteria
+
+
+
+
+
+ boolis_registered_criteria
+ stringfunc_name
+
+
+ boolis_registered_criteria
+ stringfunc_name
+ stringform
+
+
+ Tests to see if a criteria function has been registered.
+
+¶meter.form;
+
+ is_registered_criteria
+
+
+]]>
+
+
+
+
+
diff --git a/docs/en/programmers/api-functions/api-is-registered-transfrom.xml b/docs/en/programmers/api-functions/api-is-registered-transfrom.xml
new file mode 100644
index 00000000..08c30330
--- /dev/null
+++ b/docs/en/programmers/api-functions/api-is-registered-transfrom.xml
@@ -0,0 +1,54 @@
+
+
+
+
+ is_registered_transform
+
+
+
+
+
+ boolis_registered_transform
+ stringfunc_name
+
+
+ boolis_registered_transform
+ stringfunc_name
+ stringform
+
+
+ Tests to see if a transform function has been registered.
+
+¶meter.form;
+
+ is_registered_transform
+
+
+]]>
+
+
+
+
+
diff --git a/docs/en/programmers/api-functions/api-is-valid.xml b/docs/en/programmers/api-functions/api-is-valid.xml
new file mode 100644
index 00000000..b8062408
--- /dev/null
+++ b/docs/en/programmers/api-functions/api-is-valid.xml
@@ -0,0 +1,57 @@
+
+
+
+
+ is_valid
+
+
+
+
+
+ boolis_valid
+ boolformvars
+
+
+ boolis_valid
+ boolformvars
+ stringform
+
+
+ Tests if the current form is valid. You MUST supply the form variable array
+ to this function, typically $_POST. You can optionally pass a form name as
+ the second parameter. Call this after the form is submitted.
+
+¶meter.form;
+
+ is_valid
+
+
+]]>
+
+
+
+
+
diff --git a/docs/en/programmers/api-functions/api-register-criteria.xml b/docs/en/programmers/api-functions/api-register-criteria.xml
new file mode 100644
index 00000000..660d78d1
--- /dev/null
+++ b/docs/en/programmers/api-functions/api-register-criteria.xml
@@ -0,0 +1,68 @@
+
+
+
+
+ register_object
+
+
+
+
+
+ voidregister_criteria
+ stringfunc_name
+
+
+ voidregister_criteria
+ stringfunc_name
+ stringform
+
+
+ Registers a function to use with "isCustom" criteria type. All functions
+ must be registered before they can be used. You can optinally pass a form
+ name in the case you are validating more than one form at a time. Static
+ method calls are also supported such as foo::bar. You can also register a
+ method of an object instance such as foo->bar, but you must first register
+ the object with SmartyValidate. See the register_object() method.
+
+¶meter.form;
+
+ Technical Note
+
+ The register_function() method has been deprecated, use register_criteria() instead.
+
+
+
+ register_criteria
+
+test_password');
+?>
+]]>
+
+
+
+
+
diff --git a/docs/en/programmers/api-functions/api-register-form.xml b/docs/en/programmers/api-functions/api-register-form.xml
new file mode 100644
index 00000000..7847873f
--- /dev/null
+++ b/docs/en/programmers/api-functions/api-register-form.xml
@@ -0,0 +1,51 @@
+
+
+
+
+ register_form
+
+
+
+
+
+ voidregister_form
+ stringform
+
+
+ Register a form to be validated. Each form must be registered before it can
+ be validated. You do not have to register the 'default' form, that is done
+ automatically by SmartyValidate. If you register a form that is already
+ registered, it will be "reset", meaning you will lose previously stored data!
+
+
+ register_form
+
+
+]]>
+
+
+
+
+
diff --git a/docs/en/programmers/api-functions/api-register-object.xml b/docs/en/programmers/api-functions/api-register-object.xml
index 7992df4a..e24d50d1 100644
--- a/docs/en/programmers/api-functions/api-register-object.xml
+++ b/docs/en/programmers/api-functions/api-register-object.xml
@@ -9,17 +9,25 @@
voidregister_object
- stringobject_name
+ stringobj_nameobjectobject
- arrayallowed_methods_properties
- booleanformat
- arrayblock_methods
- This is to register an object for use in the templates. See the
- object section
- of the manual for examples.
+ Register an object with SmartyValidate for use in isCustom criteria.
+ Typically do this right after issuing connect().
+ See the register_criteria()
+ method for more details.
+
+ register_object
+
+
+]]>
+
+
+
+
+ register_transform
+
+
+
+
+
+ voidregister_transform
+ stringfunc_name
+
+
+ voidregister_transform
+ stringfunc_name
+ stringform
+
+
+ Registers a function to use with "transform" parameter. All functions must
+ be registered before they can be used. You can optinally pass a form name
+ in the case you are validating more than one form at a time. By default,
+ 'trim' is already registered.
+
+¶meter.form;
+
+ register_transform
+
+
+]]>
+
+
+
+
+