~ubuntu-branches/ubuntu/quantal/libtemplate-perl/quantal

« back to all changes in this revision

Viewing changes to html/modules/Template/Iterator.html

  • Committer: Package Import Robot
  • Author(s): Benjamin Mako Hill
  • Date: 2012-04-08 19:06:29 UTC
  • mfrom: (0.7.1) (0.5.2) (5.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20120408190629-wbcbs2ea39mex6lt
Tags: 2.24-1
* New upstream release (Closes: #664561)
* Bump Standards-Version to 3.9.3
* Changed to the short description to mention the term "Template
  Toolkit". (LP: #688836)

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
                  <li class=""><a href="#SYNOPSIS">SYNOPSIS</a></li>
99
99
                  <li class=""><a href="#DESCRIPTION">DESCRIPTION</a></li>
100
100
                  <li class=""><a href="#PUBLIC_METHODS">PUBLIC METHODS</a></li>
101
 
                  <li class="sub"><a href="#method_new">new($data) </a></li>
 
101
                  <li class="sub"><a href="#method_new">new($data)</a></li>
102
102
                  <li class="sub"><a href="#method_get_first">get_first()</a></li>
103
103
                  <li class="sub"><a href="#method_get_next">get_next()</a></li>
104
104
                  <li class="sub"><a href="#method_get_all">get_all()</a></li>
154
154
              <div class="body">
155
155
                <div class="subsection">
156
156
                  <div class="head">
157
 
                    <h2 id="method_new" class="method" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">new($data) </h2>
 
157
                    <h2 id="method_new" class="method" onclick="switch_subsection(this)" title="Click title to show/hide sub-section content.">new($data)</h2>
158
158
                    <a href="#body" class="top" title="Back up to the top of the page" >Top</a>
159
159
                  </div>
160
160
                  <div class="body">
214
214
sub new {
215
215
    my $class = shift;
216
216
    bless [ @_ ], $class;
217
 
}</pre>
218
 
                        <pre>package main;
 
217
}
 
218
 
 
219
package main;
219
220
 
220
221
my $list = MyListObject-&gt;new('foo', 'bar');
221
222
my $iter = Template::Iterator-&gt;new($list);</pre>
506
507
          </div>
507
508
          </div>
508
509
          <div class="copyright">
509
 
            Copyright &copy; 1996-2008 <a href="http://wardley.org/">Andy Wardley</a>.  All Rights Reserved.
 
510
            Copyright &copy; 1996-2012 <a href="http://wardley.org/">Andy Wardley</a>.  All Rights Reserved.
510
511
          </div>
511
512
          <div class="licence">
512
513
            The <a href="http://template-toolkit.org/">Template Toolkit</a> is <a href="http://opensource.org/">Open Source</a> software.