added snippet and added getToolbar method to asset superclass
This commit is contained in:
parent
1c409def1f
commit
a215ed8c7c
8 changed files with 204 additions and 29 deletions
|
|
@ -34,6 +34,7 @@ This package helps in the processing of the form variables that are returned fro
|
|||
|
||||
$value = WebGUI::FormProcessor::checkbox("whichOne");
|
||||
$value = WebGUI::FormProcessor::checkList("dayOfWeek");
|
||||
$value = WebGUI::FormProcessor::codearea("snippet");
|
||||
$value = WebGUI::FormProcessor::combo("fruit");
|
||||
$value = WebGUI::FormProcessor::contentType("text");
|
||||
$value = WebGUI::FormProcessor::date("endDate");
|
||||
|
|
@ -105,6 +106,23 @@ sub checkList {
|
|||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 codearea ( name )
|
||||
|
||||
Returns a string.
|
||||
|
||||
=head3 name
|
||||
|
||||
The name of the form variable to retrieve.
|
||||
|
||||
=cut
|
||||
|
||||
sub codearea {
|
||||
return $session{form}{$_[0]};
|
||||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 combo ( name )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue