Example #1
0
 /**
  * Constructor
  */
 function __construct($sSystem, $iId, $iInit = true)
 {
     parent::__construct($sSystem, $iId, $iInit);
     if (empty($this->_sSystem)) {
         return;
     }
     $this->_oQuery = new BxDolViewQuery($this);
 }
Example #2
0
 public function __construct($sSystem, $iId, $iInit = true, $oTemplate = false)
 {
     parent::__construct($sSystem, $iId, $iInit);
     if (empty($this->_sSystem)) {
         return;
     }
     $this->_oQuery = new BxDolVoteQuery($this);
     if ($oTemplate) {
         $this->_oTemplate = $oTemplate;
     } else {
         $this->_oTemplate = BxDolTemplate::getInstance();
     }
 }