24 lines
444 B
PHP
Executable File
24 lines
444 B
PHP
Executable File
<?php
|
|
/**
|
|
* @api {OBJECT} Ban Ban
|
|
* @apiVersion 4.3.0
|
|
* @apiGroup Data Structures
|
|
* @apiParam {Email} email The email address that is 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;
|
|
}
|
|
} |