2016-11-30 23:16:18 +01:00
|
|
|
<?php
|
2017-04-21 05:34:20 +02:00
|
|
|
/**
|
2017-05-11 21:37:03 +02:00
|
|
|
* @api {OBJECT} Ban Ban
|
2019-03-06 16:47:24 +01:00
|
|
|
* @apiVersion 4.4.0
|
2017-04-21 05:34:20 +02:00
|
|
|
* @apiGroup Data Structures
|
2017-05-11 21:37:03 +02:00
|
|
|
* @apiParam {Email} email The email address that is banned.
|
2017-04-21 05:34:20 +02:00
|
|
|
*/
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|