summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ff0866e)
raw | patch | inline | side by side (parent: ff0866e)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Jan 2010 14:44:45 +0000 (14:44 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 19 Jan 2010 14:44:45 +0000 (14:44 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15206 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_sortableListing.inc | patch | blob | history |
diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc
index c81faeb5b305f6cbd7c7dcbc9fdfb06867b3c863..24aa956b0f670f5a1c39252a72d1a9dcf797d7df 100644 (file)
}
}
+
+ public function addEntry($entry, $displayEntry= null)
+ {
+ // Prefill with default value if not specified
+ if (!$displayEntry) {
+ $displayEntry= array($entry);
+ }
+
+ // Append to data and mapping
+ $this->data[]= $entry;
+ $this->displayData[]= $displayData;
+ $this->mapping[]= count($this->mapping);
+ }
+
+
}