Code

Removed PHP5 specific definitions
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jul 2005 14:01:33 +0000 (14:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 27 Jul 2005 14:01:33 +0000 (14:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1012 594d385d-05f5-0310-b6e9-bd551577e9d8

include/class_divlist.inc

index ae31f4498d1a996fa9f5eb774bae72b4421f3c76..49e671e26298e93f490e1dd6eba6364192b8bf50 100644 (file)
@@ -2,18 +2,18 @@
 
 class divlist {
 
-       private $a_entries;
-       private $a_header;
-       private $b_displayPageNums;     
-       private $summary;
-       private $cols;
+       var $a_entries;
+       var $a_header;
+       var $b_displayPageNums;         
+       var $summary;
+       var $cols;
 
        // Members for page managment
-       private $i_currentPage;
-       private $i_entriesPerPage;
+       var $i_currentPage;
+       var $i_entriesPerPage;
        
        
-       public function __construct(){
+       function __construct(){
                $this->i_currentPage    =0;
                $this->i_entriesPerPage =10;
                $this->s_summary                ="";
@@ -24,27 +24,27 @@ class divlist {
        }
        
 
-       public function __destruct(){
+       function __destruct(){
        
        }
 
-       public function AddEntry($a_entriedata) {
+       function AddEntry($a_entriedata) {
                $this->a_entries[] = $a_entriedata;
        }
 
-       public function DisablePageNums() {
+       function DisablePageNums() {
                $this->b_displayPageNums =false;
        }
 
-       public function SetHeader($a_headerdata) {
+       function SetHeader($a_headerdata) {
                $this->a_header[] = $a_headerdata ;
        }
 
-       public function SetEntriesPerPage($i_num){
+       function SetEntriesPerPage($i_num){
                $this->i_entriesPerPage=$i_num;
        }
        
-       public function DrawList(){
+       function DrawList(){
                
                $s_return = "";
                
@@ -60,7 +60,7 @@ class divlist {
                return ($s_return);
        }
        
-       private function _numpages(){
+       function _numpages(){
                $cnt = count($this->a_entries);
                
                $tmp    = $cnt % $this->i_entriesPerPage;
@@ -70,12 +70,12 @@ class divlist {
                return $pages;
        }
        
-       private function _numentries(){
+       function _numentries(){
                $cnt = count($this->a_entries);
                return $cnt;
        }
        
-       private function _generateHeader(){
+       function _generateHeader(){
                
                $s_return = "";
                
@@ -95,11 +95,11 @@ class divlist {
                return $s_return;
        }
        
-       public function  SetSummary($msg){
+       function         SetSummary($msg){
                $this->s_summary = $msg;
        }
 
-       private function  _generatePage(){
+       function  _generatePage(){
                
                $s_value        = "";
                $s_key          = "";