From: hickert Date: Thu, 15 Sep 2005 06:29:34 +0000 (+0000) Subject: added php 4 construcktor X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=690686b832e1575ddd73b00cb4749ee166de9b86;p=gosa.git added php 4 construcktor git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1362 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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;