public function __construct($user = null) { $checker = new security_checksp(); if ($checker->CheckPostSession('poll_id')) { $doQuery = new database_doquery(); $this->remove($doQuery, $user); } }
public function __construct() { $checker = new security_checksp(); if ($checker->CheckPostSession('pollname')) { $this->doQuery = new database_doquery(); $this->makeNew(); } }
public function __construct() { $checker = new security_checksp(); if ($checker->CheckPostSession('poll_id')) { $this->doQuery = new database_doquery(); $this->checkifinpoll = new database_checkifinpoll(); $this->addToPoll(); } }