Core
3.2
PHP API documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
Examples
File List
Globals
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
*/
10
function
editsubmit
(
Action
&
$action
)
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
}
$action
global $action
Definition:
accountRefreshGroup.php:16
Action
Definition:
Class.Action.php:24
editsubmit
editsubmit(Action &$action)
Definition:
editsubmit.php:10
ActionUsage
Verify arguments for action function.
Definition:
Class.ActionUsage.php:27
$usage
$usage
Definition:
change_action.php:27
← centre documentaire
© anakeen