
Public Member Functions | |
| __construct ($vars=array(), $action="") | |
| Creates a new POST action. | |
It is equivalent to use a TKSubmitAction% on a TKForm% instead of a TKPostAction with a TKForm.
| TKPostAction::__construct | ( | $ | vars = array(), |
|
| $ | action = "" | |||
| ) |
Creates a new POST action.
| $vars | [mixed]: can either be associative array of variable => value pairs to send in POST request, or a TKForm% which should be POSTed | |
| $action | [string]: URL to POST to (defaults to $_SERVER['REQUEST_URI']) |
1.5.6