function PoiFactory()
 {
     parent::ItemParser();
 }
 function Groupfactory()
 {
     parent::ItemParser();
     $this->parentStack = array();
 }
         }
     }
 }
 //msg_updatefile
 if ($action == msg_updatefile) {
     //($aGroupId, $aUsrId, $aFilename, $aDescription)
     if ($fac->updateGroupFile($groupid, $usr->getUid(), $filename, $description)) {
         echo application_getMessage(msg_ok);
     } else {
         echo application_getMessage(msg_failed);
     }
 }
 //msg_gettags
 if ($action == msg_gettags) {
     $tc = new TagContainer();
     $p1 = new ItemParser();
     $lst1 = $p1->getTags();
     if ($lst1 != null) {
         for ($i = 0; $i < count($lst1); $i++) {
             $tag1 = $lst1[$i];
             $tc->addTag($tag1);
         }
         echo application_getMessage($tc);
     } else {
         echo application_getMessage(msg_failed);
     }
 }
 //msg_updategrp
 if ($action == msg_updategrp) {
     //($aGroupId, $aUsrId, $aFilename, $aDescription)
     if ($fac->updateGroup($usr->getUid(), $groupid, $groupname, $protection, $zoomlevel, $lat, $lon, $tagname)) {
 function Filefactory()
 {
     parent::ItemParser();
 }
 function Userfactory()
 {
     parent::ItemParser();
 }