示例#1
0
 function __construct($properties)
 {
     global $site;
     global $parametersMod;
     $this->db = new Db();
     if (isset($site->urlVars[0])) {
         $this->rssZoneKey = $site->urlVars[0];
     } else {
         $this->rssZoneKey = null;
     }
     if (isset($site->urlVars[1])) {
         $this->rssElementId = $site->urlVars[1];
     } else {
         $this->rssElementId = null;
     }
     $this->rssLanguageId = $site->currentLanguage['id'];
     parent::__construct($properties);
 }
示例#2
0
 function __construct($properties)
 {
     $this->db = new DbFrontend();
     parent::__construct($properties);
 }