connect <methodsynopsis> <type>void</type><methodname>connect</methodname> <methodparam><type>object</type><parameter>smarty</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>connect</methodname> <methodparam><type>object</type><parameter>smarty</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>reset</parameter></methodparam> </methodsynopsis> <para> 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. </para> <example> <title>connect ]]>