2011-12-12 19:32:29 +00:00
|
|
|
<?php
|
2012-12-23 19:05:51 +00:00
|
|
|
class Handler implements IHandler {
|
2017-12-01 12:31:16 +00:00
|
|
|
protected $pdo;
|
2011-12-12 19:32:29 +00:00
|
|
|
protected $args;
|
|
|
|
|
2013-04-18 19:19:14 +00:00
|
|
|
function __construct($args) {
|
2017-12-01 12:31:16 +00:00
|
|
|
$this->pdo = Db::pdo();
|
2011-12-12 19:32:29 +00:00
|
|
|
$this->args = $args;
|
|
|
|
}
|
|
|
|
|
2011-12-26 08:02:52 +00:00
|
|
|
function csrf_ignore($method) {
|
2020-09-15 15:16:33 +00:00
|
|
|
return false;
|
2011-12-26 08:02:52 +00:00
|
|
|
}
|
|
|
|
|
2012-07-05 18:43:44 +00:00
|
|
|
function before($method) {
|
2011-12-12 19:32:29 +00:00
|
|
|
return true;
|
|
|
|
}
|
2011-12-12 20:20:53 +00:00
|
|
|
|
|
|
|
function after() {
|
|
|
|
return true;
|
|
|
|
}
|
2012-09-10 15:01:06 +00:00
|
|
|
|
2020-09-15 15:16:33 +00:00
|
|
|
}
|