/[suikacvs]/test/html-webhacc/WebHACC/Input.pod
Suika

Contents of /test/html-webhacc/WebHACC/Input.pod

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 26 11:27:25 2008 UTC (16 years, 4 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
++ ChangeLog	26 Jul 2008 11:26:00 -0000
2008-07-26  Wakaba  <wakaba@suika.fam.cx>

	* cc.cgi: get_input_document function is now handled
	by WebHACC::Input classes.  |cc-script| reference
	is now generated by |html_header| in WebHACC::Output.

	* error-description-source.xml: Document URL and Request URL
	are now just "URLs".

++ html/WebHACC/ChangeLog	26 Jul 2008 11:27:20 -0000
2008-07-26  Wakaba  <wakaba@suika.fam.cx>

	* Input.pod: New.

	* Input.pm (urls, url, add_url): New.  Originally handled
	as |$input->{uri}| and |$input->{request_uri}|.
	(get_document and related methods/classes): New.  Originally
	part of |cc.cgi|.

	* Output.pm (html_header): Link to |cc-script.js|.

1
2 ...
3
4 =over 4
5
6 =item $url = $input->url
7
8 Return the URL of the input document, if it is known, or C<undef>
9 otherwise. If the request has been redirected, then the URL
10 of the final document is returned. What being returned by this
11 attribute is a string.
12
13 =item $input->add_url ($url)
14
15 Add the URL specified as a string I<$url> to the end of the list of URLs
16 for the input. If there exists other URLs in the list of URLs for the
17 input, then it represents that the request to obtain the resource for
18 the last URL has been redirected to the URL I<$url>.
19
20 =item $urls = $input->urls
21
22 Return a reference to an array that contains the URLs in the list of URLs,
23 preserving order of them. The array may be empty.
24
25 =back
26
27 ...

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24