Mercurial > forge
changeset 11250:d560491bf350 octave-forge
(none)
author | abarth93 |
---|---|
date | Mon, 19 Nov 2012 21:40:22 +0000 |
parents | b9b0592d2c87 |
children | 1f0b199fc466 |
files | extra/cgi/inst/@cgi/cgi.m extra/cgi/inst/@cgi/getfirst.m extra/cgi/inst/@cgi/getlist.m |
diffstat | 3 files changed, 7 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/extra/cgi/inst/@cgi/cgi.m Mon Nov 19 21:32:45 2012 +0000 +++ b/extra/cgi/inst/@cgi/cgi.m Mon Nov 19 21:40:22 2012 +0000 @@ -1,15 +1,13 @@ %% -*- texinfo -*- %% @deftypefn {Function File} {@var{CGI} =} cgi () %% Creates a CGI object to parse CGI query string from GET or POST requests. -%% Parameter can be return by: -%% getfirst(CGI,name[,default]) -%% getlist(CGI,name) -%% CGI.form.name +%% Parameter can be return by the functions getfirst and getlist or +%% with the dot-syntax (CGI.form.name). %% -%% The methods getfirst and getlist behave as the Python CGI functions +%% The methods getfirst and getlist behave as the Python CGI functions. %% %% @end deftypefn -%% @seealso{getfirst,getlist} +%% @seealso{@cgi/getfirst,@cgi/getlist} function retval = cgi()
--- a/extra/cgi/inst/@cgi/getfirst.m Mon Nov 19 21:32:45 2012 +0000 +++ b/extra/cgi/inst/@cgi/getfirst.m Mon Nov 19 21:40:22 2012 +0000 @@ -7,7 +7,7 @@ %% The object @var{cgi} was %% created using the cgi() constructor. %% @end deftypefn -%% @seealso{cgi} +%% @seealso{cgi,@cgi/getlist} % val = getfirst(cgi,name,default)
--- a/extra/cgi/inst/@cgi/getlist.m Mon Nov 19 21:32:45 2012 +0000 +++ b/extra/cgi/inst/@cgi/getlist.m Mon Nov 19 21:40:22 2012 +0000 @@ -1,9 +1,9 @@ %% -*- texinfo -*- %% @deftypefn {Function File} {@var{vals} =} getlist(@var{cgi},@var{name}) %% Returns all CGI parameters with the given name. The object @var{cgi} was -%% created using the cgi() constructor. @{vals} is a cell array of strings. +%% created using the cgi() constructor. @var{vals} is a cell array of strings. %% @end deftypefn -%% @seealso{cgi} +%% @seealso{cgi,@cgi/getfirst} function vals = getlist(cgi,name)