Lines Matching defs:type
79 $self->{-type} ||= '';
123 =item $list-E<gt>type()
125 Without argument, retrieves the list type, which can be an arbitrary value,
128 B<-type> in the B<new()> method or by calling the B<type()> method
133 # The type of the list (UL, OL, ...)
134 sub type {
135 return (@_ > 1) ? ($_[0]->{-type} = $_[1]) : $_[0]->{-type};
141 individual item strings once the list type has been determined. Usage:
268 $self->{-type} ||= 'undef';
287 my ($alttext,$page,$node,$type,$quoted) = (undef,'','','',0);
318 $type = 'page';
323 $type = 'section';
329 $type = 'page';
334 $type = 'section';
340 $type = 'section';
346 $type = 'item';
351 $type = 'section';
357 $type = 'item';
362 $type = 'hyperlink';
367 $type = 'item';
376 $type = 'hyperlink';
381 $type = 'item';
409 $self->{-type} = $type;
417 my $type = $self->type();
425 elsif($type eq 'hyperlink') {
440 elsif($type eq 'hyperlink') {
467 but without markers (read only). Depending on the link type this is one of
564 =item $link-E<gt>type()
566 The node type, either C<section> or C<item>. As an unofficial type,
571 # The type: item or headn
572 sub type {
573 return (@_ > 1) ? ($_[0]->{-type} = $_[1]) : $_[0]->{-type};
592 if($self->type() eq 'section') {
595 elsif($self->type() eq 'hyperlink') {