Mercurial > forge
view extra/cgi/inst/@cgi/subsref.m @ 11247:f13ca602f603 octave-forge
copyright info
author | abarth93 |
---|---|
date | Mon, 19 Nov 2012 21:08:01 +0000 |
parents | cf9bc1303f12 |
children | cc196189bd61 |
line wrap: on
line source
% Return parmaters with cgi.form.('param_name') function val = subsref(self,idx) assert(length(idx) == 2) assert(strcmp(idx(1).type,'.')) assert(strcmp(idx(1).subs,'form')) assert(strcmp(idx(2).type,'.')) val = getfirst(self,idx(2).subs); % Copyright (C) 2012 Alexander Barth <barth.alexander@gmail.com> % % This program is free software; you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation; either version 2 of the License, or % (at your option) any later version. % % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. % % You should have received a copy of the GNU General Public License % along with this program; If not, see <http://www.gnu.org/licenses/>.