]> git.wh0rd.org Git - tt-rss.git/blob - classes/handler.php
article: start pdo
[tt-rss.git] / classes / handler.php
1 <?php
2 class Handler implements IHandler {
3         protected $dbh;
4         protected $pdo;
5         protected $args;
6
7         function __construct($args) {
8                 $this->dbh = Db::get();
9                 $this->pdo = Db::pdo();
10                 $this->args = $args;
11         }
12
13         function csrf_ignore($method) {
14                 return true;
15         }
16
17         function before($method) {
18                 return true;
19         }
20
21         function after() {
22                 return true;
23         }
24
25 }