From 0a385d07bccd520784d08cffcf27b0aeb831d862 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 3 Jan 2008 13:28:01 +0000 Subject: [PATCH] Und noch ein Bugfix. size/count etc. wurden nicht rihctig exportiert. --- SL/Template/Plugin/MultiColumnIterator.pm | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/SL/Template/Plugin/MultiColumnIterator.pm b/SL/Template/Plugin/MultiColumnIterator.pm index 71fb565a7..c57a3500b 100644 --- a/SL/Template/Plugin/MultiColumnIterator.pm +++ b/SL/Template/Plugin/MultiColumnIterator.pm @@ -151,43 +151,49 @@ sub dump { sub index { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ INDEX }; $main::lxdebug->leave_sub(); + return $self->{ INDEX }; } sub number { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ NUMBER }; $main::lxdebug->leave_sub(); + return $self->{ NUMBER }; } +sub count { + $main::lxdebug->enter_sub(); + my ($self) = @_; + $main::lxdebug->leave_sub(); + return $self->{ COUNT }; +} sub max { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ MAX }; $main::lxdebug->leave_sub(); + return $self->{ MAX }; } sub size { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ SIZE }; $main::lxdebug->leave_sub(); + return $self->{ SIZE }; } sub first { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ FIRST }; $main::lxdebug->leave_sub(); + return $self->{ FIRST }; } sub last { $main::lxdebug->enter_sub(); my ($self) = @_; - $self->{ LAST}; $main::lxdebug->leave_sub(); + return $self->{ LAST}; } 1; -- 2.20.1