opensupports/server/models/Ban.php

23 lines
423 B
PHP
Raw Normal View History

<?php
2017-04-21 05:34:20 +02:00
/**
* @api {OBJECT} Article Article
* @apiGroup Data Structures
* @apiParam {Email} email Email of the user banned.
*/
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;
}
}