summaryrefslogtreecommitdiffstats
path: root/codebase/base_connector.php
diff options
context:
space:
mode:
Diffstat (limited to 'codebase/base_connector.php')
-rw-r--r--codebase/base_connector.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/codebase/base_connector.php b/codebase/base_connector.php
index 97e8ac0..c4373ea 100644
--- a/codebase/base_connector.php
+++ b/codebase/base_connector.php
@@ -729,6 +729,14 @@ class Connector {
*/
protected function xml_start(){
$attributes = "";
+
+ if ($this->dload){
+ //info for dyn. loadin
+ if ($pos=$this->request->get_start())
+ $attributes .= " pos='".$pos."'";
+ else
+ $attributes .= " pos='0' total_count='".$this->sql->get_size($this->request)."'";
+ }
foreach($this->attributes as $k=>$v)
$attributes .= " ".$k."='".$v."'";