cvs: peardoc /en/package/html/html-quickform-controller/html-quickform-page setdefaultaction.xml

From: Date: Fri, 03 Oct 2003 12:59:56 +0000
Subject: cvs: peardoc /en/package/html/html-quickform-controller/html-quickform-page setdefaultaction.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-1552@lists.php.net to get a copy of this message
avb Fri Oct 3 08:59:56 2003 EDT Added files: /peardoc/en/package/html/html-quickform-controller/html-quickform-page setdefaultaction.xml Log: Updated QF_Controller docs for 0.9.2 Index: peardoc/en/package/html/html-quickform-controller/html-quickform-page/setdefaultaction.xml +++ peardoc/en/package/html/html-quickform-controller/html-quickform-page/setdefaultaction.xml <!-- $Revision: 1.1 $ --> <refentry id="package.html.html-quickform-controller.html-quickform-page.setdefaultaction"> <refnamediv> <refname>Page::setDefaultAction()</refname> <refpurpose>Sets the default action invoked on page-form submit.</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;HTML/QuickForm/Page.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>HTML_QuickForm_Page::setDefaultAction</function></funcdef> <paramdef>string <parameter>$actionName</parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.setdefaultaction.desc"> &title.desc; <para>This is necessary as the user may just press Enter instead of clicking one of the named submit buttons and then no action name will be passed to the script.</para> <para>This method adds a special hidden element to the form the contents of which will be used by <classname>Controller</classname> if no action name is found in the submitted values.</para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.setdefaultaction.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$actionName</parameter> </term> <listitem> <para> default action name </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.setdefaultaction.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.html.html-quickform-controller.html-quickform-page.setdefaultaction.note"> &title.note; &note.notstatic; </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.pear.doc (#1552) next »