2016-11-30 23:16:18 +01:00
|
|
|
<?php
|
2017-04-21 05:34:20 +02:00
|
|
|
/**
|
|
|
|
* @api {OBJECT} Article Article
|
|
|
|
* @apiGroup Data Structures
|
|
|
|
* @apiParam {Email} email Email of the user banned.
|
|
|
|
*/
|
|
|
|
|
2016-11-30 23:16:18 +01:00
|
|
|
class Ban extends DataStore {
|
|
|
|
const TABLE = 'ban';
|
|
|
|
|
|
|
|
public static function getProps() {
|
|
|
|
return array (
|
|
|
|
'email'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
public function getDefaultProps() {
|
|
|
|
return array();
|
|
|
|
}
|
|
|
|
public function toArray() {
|
|
|
|
return $this->email;
|
|
|
|
}
|
|
|
|
}
|