summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 536bb4e)
raw | patch | inline | side by side (parent: 536bb4e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Jul 2005 14:01:33 +0000 (14:01 +0000) | ||
committer | hickert <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 | patch | blob | history |
index ae31f4498d1a996fa9f5eb774bae72b4421f3c76..49e671e26298e93f490e1dd6eba6364192b8bf50 100644 (file)
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 ="";
}
- 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 = "";
return ($s_return);
}
- private function _numpages(){
+ function _numpages(){
$cnt = count($this->a_entries);
$tmp = $cnt % $this->i_entriesPerPage;
return $pages;
}
- private function _numentries(){
+ function _numentries(){
$cnt = count($this->a_entries);
return $cnt;
}
- private function _generateHeader(){
+ function _generateHeader(){
$s_return = "";
return $s_return;
}
- public function SetSummary($msg){
+ function SetSummary($msg){
$this->s_summary = $msg;
}
- private function _generatePage(){
+ function _generatePage(){
$s_value = "";
$s_key = "";