From 690686b832e1575ddd73b00cb4749ee166de9b86 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 15 Sep 2005 06:29:34 +0000 Subject: [PATCH] added php 4 construcktor git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1362 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_divlist.inc | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/include/class_divlist.inc b/include/class_divlist.inc index 7b62d34c5..de4fcd289 100644 --- a/include/class_divlist.inc +++ b/include/class_divlist.inc @@ -12,8 +12,22 @@ class divlist { // Members for page managment var $i_currentPage; var $i_entriesPerPage; - - + + // Added php 4 constructor + function divlist($pageid){ + + $this->i_currentPage = 0; + $this->i_entriesPerPage = 10; + $this->s_summary = ""; + $this->a_entries = array(); + $this->a_header = array(); + $this->b_displayPageNums= true; + $this->cols = 0; + $this->pageid = $pageid ; + + } + + function __construct($pageid){ $this->i_currentPage = 0; $this->i_entriesPerPage = 10; -- 2.30.2