\User\ControllerSingleMoodController

ThinkPHP API模式控制器基类

Summary

Methods
Properties
Constants
_initialize()
isComentSet()
__construct()
__call()
showMood()
getDynamicsdb()
getThisArtAuth()
getUserSaid()
reMoodUser()
setIntParentCount()
setIntParentDec()
ChangeUser()
inUserNameget()
deleteReturnMoodUser()
No public properties found
No constants found
ajaxReturn()
redirect()
No protected properties found
N/A
No private methods found
$dynamicsDb
$url
N/A

Properties

$dynamicsDb

$dynamicsDb : 

Type

$url

$url : 

Type

Methods

_initialize()

_initialize() 

isComentSet()

isComentSet(  $userid) 

Parameters

$userid

__construct()

__construct() 

__call()

__call(string  $method, array  $args) : mixed

魔术方法 有不存在的操作的时候执行

Parameters

string $method

方法名

array $args

参数

Returns

mixed

showMood()

showMood() 

getDynamicsdb()

getDynamicsdb(  $pid) 

Parameters

$pid

getThisArtAuth()

getThisArtAuth(  $user_id) 

Parameters

$user_id

getUserSaid()

getUserSaid() 

reMoodUser()

reMoodUser() 

setIntParentCount()

setIntParentCount(  $pid,   $db) 

Parameters

$pid
$db

setIntParentDec()

setIntParentDec(  $pid,   $db) 

Parameters

$pid
$db

ChangeUser()

ChangeUser(  $content) 

Parameters

$content

inUserNameget()

inUserNameget(  $username) 

Parameters

$username

deleteReturnMoodUser()

deleteReturnMoodUser() 

ajaxReturn()

ajaxReturn(mixed  $data, String  $type = '') : void

Ajax方式返回数据到客户端

Parameters

mixed $data

要返回的数据

String $type

AJAX返回数据格式

redirect()

redirect(string  $url, array  $params = array(), integer  $delay, string  $msg = '') : void

Action跳转(URL重定向) 支持指定模块和延时跳转

Parameters

string $url

跳转的URL表达式

array $params

其它URL参数

integer $delay

延时跳转的时间 单位为秒

string $msg

跳转提示信息