You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
383 B
22 lines
383 B
<?php
|
|
/**
|
|
*
|
|
*/
|
|
include_once(SERVER_ROOT."/model/mBase.php");
|
|
|
|
|
|
class mUser extends mBase {
|
|
private $obj;
|
|
private $user;
|
|
|
|
public function __construct() {
|
|
$this->obj = new dUser();
|
|
$this->user = 'user_list';
|
|
}
|
|
|
|
public function addUser() {
|
|
$data['status'] = USER_STATUS_VALID;
|
|
return $this->obj->insert($this->user, $data);
|
|
}
|
|
|
|
}
|