CGI-Bus

 view release on metacpan or  search on metacpan

lib/CGI/Bus.pod  view on Meta::CPAN


Location of file store 
cached in C<-fpath>, C<-furf>, C<-furl> 
with given subpath added.
Default is C<ppath>, C<fpath>, C<purl>.
See also C<Locations>.


=item hpath ( ?subpath ) -> Home store path

=item hurf  ( ?subpath, ?args ) -> Home store file URL

=item hurl  ( ?subpath, ?args ) -> Home store URL

Location of home store 
cached in C<-hpath>, C<-hurf>, C<-hurl> 
with given subpath added.
Default is C<ppath>, C<hpath>, C<purl>.
See also C<Locations>.



=item htmlddlb (false, name, data, field name,...) -> HTML drop-down list box

=item htmlddlb (widget | false, name, data, [field name => label],...)

Generate input helper drop-down list box HTML.
Optional 'widget' parameter (html, '$_' placeholder, any other string or empty value),
is used only to be placed after some javascript may be generated.
Name is used as the common part of names of the HTML widgets - submits, 
scrolling_list, buttons, which names are generated by appending '_' sign
and suffix.
Data may be array ref with list of values,
hash ref with internal and external values, 
sub{} to produce above.
Other arguments are field names to fill with values.
Field names with leading "\t" corresponds to multivalue fields,
leading "\tmsab\t" hints to try Microsoft Address Book before if possible.
Implemented in L<CGI::Bus::wg|CGI/Bus/wg>.


=item htmlescape (text) -> escaped

C<CGI::escapeHTML> call.
See also C<urlescape>, C<dbquote>, C<dblikesc>.


=item htmlescapetext (text) -> escaped 

Alike C<htmlescape>, but with
text area formatting improved with '&nbsp;' signs and '<code>' tags as needed;
'<br />' and '<a href=' tags; 
URLs; 
relative URLs marked with 'host://' and 'url://' protocols.


=item htmlfsdir ( name, edit?, allow edit?, files path, URL, ?filesystemURL, ?rows, ?cols )

Generate filesystem directory editor HTML.
This may be IE HTML IFRAME tag pointed to filesystem,
URLs, or filefield for upload files and checkboxes to delete.
Name is used as the common part of names of the HTML widgets.
Implemented in L<CGI::Bus::wg|CGI/Bus/wg>.


=item htmlstart (?parameters) -> start html string

Start HTML string using C<CGI::start_html>(?parameters) call.
Default parameters are given from C<-htmlstart> slot.


=item htmltextarea (-name=>...,-arows=>min, -hrefs=>1,...) -> textarea HTML

Like C<CGI::textarea> call, but with additional attributes:
-arows=>min autosizes widget to it's content.
-hrefs=>1 searches HTML hyperlinks in content and displays them.
Implemented in L<CGI::Bus::wg|CGI/Bus/wg>.


=item htmltextfield (-name=>..., -asize=>min) -> text field HTML

Like C<CGI::textfield> call, but with additional attributes:
-asize=>min autosizes widget to it's content.
Implemented in L<CGI::Bus::wg|CGI/Bus/wg>.


=item htpfend -> end form and page HTML

End HTML form and page string using C<htpgend>.


=item htpfstart (?httpheader, ?htmlstart) -> start page and form HTML

Start HTML page and form string using C<htmlstart>, C<-htpfstart>.


=item htpgend () -> end page HTML

End HTML page string using C<-htpgbot> and
C<CGI>->C<end_html> call.


=item htpgstart (?httpheader, ?htmlstart) -> start page HTML

Start HTML page string using C<httpheader>, C<htmlstart>, 
C<-htpgstart>, C<-htpgtop>


=item httpheader (?parameters) -> HTTP header string

HTTP header string using C<CGI::header>(?parameters).
Default parameters are given from C<-httpheader> slot.


=item ishtml ( text ) -> is text HTML formatted?

Detect HTML format of text: beginning
with '<' and one of well-known HTML tags.


=item launch (class => constructor args) -> object



( run in 0.943 second using v1.01-cache-2.11-cpan-b16cb0d3907 )