}
/**
- * form MUST have an hidden field named 'form' to enable proper routing
+ * form MUST have an hidden field named 'form' to enable proper routing here
*/
$form = filter_input(INPUT_POST, 'form', FILTER_SANITIZE_URL);
$is_form = true;
//var_dump($_SESSION);
+/**
+ * [get_action_type description]
+ * @return [type] [description]
+ */
function get_action_type() {
global $is_page, $is_form;
}
}
+/**
+ * [get_url_action description]
+ * @param [type] $action_type [description]
+ * @return [type] [description]
+ */
function get_url_action($action_type) {
global $page, $form;
return $configs['actions'][0];
}
+/**
+ * [display_action description]
+ * @param [type] $action_name [description]
+ * @param [type] $action_type [description]
+ * @return [type] [description]
+ */
function display_action($action_name, $action_type)
{
global $configs;