Code

added php 4 construcktor
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 15 Sep 2005 06:29:34 +0000 (06:29 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 15 Sep 2005 06:29:34 +0000 (06:29 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1362 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_divlist.inc

index 7b62d34c50c2a2d352ca1e348dc1a561feeadeac..de4fcd289f77bed61c6336abd55df1013a528f6e 100644 (file)
@@ -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;