Lines Matching refs:action
120 $action = $this->cleanAction($event->data);
122 if ($action != 'edit' && $action != 'save') {
133 if ($action == 'edit' && $_REQUEST['conflictDate'] == $INFO['lastmod']) {
137 if ($action == 'save' && $_REQUEST['conflictDate'] == $INFO['lastmod']) {
203 * @param action The action to clean.
208 function cleanAction($action) { argument
209 if (is_array($action)) {
210 list($action) = array_keys($action);
213 $action = strtolower($action);
214 $action = preg_replace('/[^1-9a-z_]+/', '', $action);
216 return $action;