Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
editsubmit.php
Go to the documentation of this file.
1 <?php
2 /*
3  * @author Anakeen
4  * @package FDL
5 */
6 /**
7  * Submit all edit parameters zone
8  * @param Action $action
9  */
11 {
12  $usage = new ActionUsage($action);
13  $label = $usage->addOptionalParameter("label", "Label of submit button", array() , _("Submit"));
14  $usage->setStrictMode();
15  $usage->verify();
16 
17  $action->lay->eset("submit_label", $label);
18 }
global $action
editsubmit(Action &$action)
Definition: editsubmit.php:10
Verify arguments for action function.
$usage
← centre documentaire © anakeen