remove useless files ,change namespace in User module
This commit is contained in:
parent
fed47b03ca
commit
4d8bc7cdd9
|
@ -1,13 +0,0 @@
|
|||
<?php
|
||||
namespace Sookon\User\Event;
|
||||
|
||||
use Zend\EventManager\EventInterface;
|
||||
|
||||
interface EditEvent
|
||||
{
|
||||
|
||||
public function checkParam(EventInterface $e);
|
||||
|
||||
public function editSuccess(EventInterface $e);
|
||||
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
<?php
|
||||
namespace Westdc\User\Event;
|
||||
|
||||
use Zend\EventManager\EventInterface;
|
||||
|
||||
interface LoginEvent
|
||||
{
|
||||
|
||||
public function checkParam(EventInterface $e);
|
||||
|
||||
public function updateStatus(EventInterface $e);
|
||||
|
||||
public function createAvatar(EventInterface $e);
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
<?php
|
||||
namespace Sookon\User\Event;
|
||||
|
||||
use Zend\EventManager\EventInterface;
|
||||
|
||||
interface PwdEvent
|
||||
{
|
||||
|
||||
public function forgotPwdCheckParam(EventInterface $e);
|
||||
|
||||
public function sendGetPasswordMail(EventInterface $e);
|
||||
|
||||
public function resetPwdCheckParam(EventInterface $e);
|
||||
|
||||
}
|
|
@ -1,15 +0,0 @@
|
|||
<?php
|
||||
namespace Sookon\User\Event;
|
||||
|
||||
use Zend\EventManager\EventInterface;
|
||||
|
||||
interface RegisterEvent
|
||||
{
|
||||
|
||||
public function checkParam(EventInterface $e);
|
||||
|
||||
public function checkUser(EventInterface $e);
|
||||
|
||||
public function registerSuccess(EventInterface $e);
|
||||
|
||||
}
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
namespace Westdc\User\Handle;
|
||||
|
||||
use Westdc\Mail\Mail;
|
||||
use Westdc\Helpers\View as view;
|
||||
use Westdc\Helpers\Pdo;
|
||||
use Westdc\Helpers\Config;
|
||||
|
|
|
@ -1,12 +1,10 @@
|
|||
<?php
|
||||
namespace Sookon\User\Handle;
|
||||
namespace Westdc\User\Handle;
|
||||
|
||||
use Sookon\Mail\Mail;
|
||||
use Sookon\Helpers\View as view;
|
||||
use Sookon\Helpers\Pdo;
|
||||
use Sookon\Helpers\Config;
|
||||
use Westdc\Db\Pdo;
|
||||
use Westdc\Helpers\Config;
|
||||
|
||||
class PwdHandle implements \Sookon\User\Event\PwdEvent
|
||||
class PwdHandle
|
||||
{
|
||||
private $db; //传入PDO对象
|
||||
public $tbl_member = "tbl_member";
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
<?php
|
||||
namespace Sookon\User\Handle;
|
||||
namespace Westdc\User\Handle;
|
||||
|
||||
use Sookon\Mail\Mail;
|
||||
use Sookon\Helpers\Config;
|
||||
use Sookon\Helpers\View as view;
|
||||
use Sookon\Helpers\PDO as Db;
|
||||
use Sookon\User\Event\RegisterEvent as Event;
|
||||
use Westdc\Mail\Mail;
|
||||
use Westdc\Helpers\Config;
|
||||
use Westdc\Db\Pdo as Db;
|
||||
use Zend\EventManager\EventInterface;
|
||||
|
||||
class RegisterHandle implements Event
|
||||
class RegisterHandle
|
||||
{
|
||||
private $db; //传入PDO对象
|
||||
public $tbl_member = "tbl_member";
|
||||
|
|
Loading…
Reference in New Issue