public function approveAnnouncement($AnnouncementID) { if ($this->isApprover(IWU_Auth::getUser())) { return parent::updateRow('Announcements', array('AnnouncementID' => $AnnouncementID), array('ApprovedBy' => IWU_Auth::getUser(), 'ApprovedDate' => date('Y-m-d H:i:s'))); } }
public function addLostItem($data) { return parent::insertRow('TB_Lost_Items', $data); }
public function __construct() { $this->dbn = 'ClassifiedAds'; parent::__construct(); }
public function updateChannelStatus($data) { return parent::insertRow('ChannelStatus', $data); }
public function addAd($data) { return parent::insertRow('ClassifiedAds', $data); }
public function __construct() { $this->dbn = 'mydb'; parent::__construct(); }
public function __construct() { $this->dbn = 'LostAndFound'; parent::__construct(); }
public function __construct() { $this->dbn = 'Announcements'; parent::__construct(); }
public function __construct() { $this->dbn = 'StudentJobs'; parent::__construct(); }