]> git.wh0rd.org - tt-rss.git/blame - classes/handler.php
article: start pdo
[tt-rss.git] / classes / handler.php
CommitLineData
d5112468 1<?php
8dcb2b47 2class Handler implements IHandler {
6322ac79 3 protected $dbh;
c39ee272 4 protected $pdo;
d5112468
AD
5 protected $args;
6
1f294435
AD
7 function __construct($args) {
8 $this->dbh = Db::get();
c39ee272 9 $this->pdo = Db::pdo();
d5112468
AD
10 $this->args = $args;
11 }
12
8484ce22
AD
13 function csrf_ignore($method) {
14 return true;
15 }
16
17f9d200 17 function before($method) {
d5112468
AD
18 return true;
19 }
3f363052
AD
20
21 function after() {
22 return true;
23 }
97acbaf1 24
ea79a0e0 25}