Exemplo n.º 1
0
 public function __construct($user = null)
 {
     $checker = new security_checksp();
     if ($checker->CheckPostSession('poll_id')) {
         $doQuery = new database_doquery();
         $this->remove($doQuery, $user);
     }
 }
Exemplo n.º 2
0
 public function __construct()
 {
     $checker = new security_checksp();
     if ($checker->CheckPostSession('pollname')) {
         $this->doQuery = new database_doquery();
         $this->makeNew();
     }
 }
Exemplo n.º 3
0
 public function __construct()
 {
     $checker = new security_checksp();
     if ($checker->CheckPostSession('poll_id')) {
         $this->doQuery = new database_doquery();
         $this->checkifinpoll = new database_checkifinpoll();
         $this->addToPoll();
     }
 }