\SimpleBlog\BusinessUserBusiness

Summary

Methods
Properties
Constants
reg()
login()
getUser()
changePassword()
addComment()
deleteCommentByUser()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

reg()

reg(  $username,   $password) 

Parameters

$username
$password

login()

login(  $username,   $password) 

Parameters

$username
$password

getUser()

getUser(  $id) 

Parameters

$id

changePassword()

changePassword(  $user_id,   $oldpass,   $newpass) 

Parameters

$user_id
$oldpass
$newpass

addComment()

addComment(  $user_id,   $article_id,   $content) 

Parameters

$user_id
$article_id
$content

deleteCommentByUser()

deleteCommentByUser(  $user_id,   $comment_id) 

Parameters

$user_id
$comment_id