PHP Class BlogJoinLeaveEvent

Inheritance: extends yupe\components\Event
显示文件 Open project: yupe/yupe

Protected Properties

Property Type Description
$blog Blog
$userId

Public Methods

Method Description
__construct ( Blog $blog, $userId ) BlogJoinLeaveEvent constructor.
getBlog ( ) : mixed
getUserId ( ) : mixed
setBlog ( mixed $blog )
setUserId ( mixed $user )

Method Details

__construct() public method

BlogJoinLeaveEvent constructor.
public __construct ( Blog $blog, $userId )
$blog Blog
$userId

getBlog() public method

public getBlog ( ) : mixed
return mixed

getUserId() public method

public getUserId ( ) : mixed
return mixed

setBlog() public method

public setBlog ( mixed $blog )
$blog mixed

setUserId() public method

public setUserId ( mixed $user )
$user mixed

Property Details

$blog protected_oe property

protected Blog $blog
return Blog

$userId protected_oe property

protected $userId