Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
cac400af
Commit
cac400af
authored
Nov 14, 2006
by
Richard Mansfield
Browse files
Added get_ajaxpost() method
parent
dfcb9949
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/form.php
View file @
cac400af
...
@@ -466,6 +466,15 @@ class Form {
...
@@ -466,6 +466,15 @@ class Form {
return
$this
->
method
;
return
$this
->
method
;
}
}
/**
* Is the form being submitted by ajax?
*
* @return bool
*/
public
function
get_ajaxpost
()
{
return
$this
->
ajaxpost
;
}
/**
/**
* Returns the renderer used on to render the form
* Returns the renderer used on to render the form
*
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment