\User\ControllerMoodController

ThinkPHP API模式控制器基类

Summary

Methods
Properties
Constants
_initialize()
isComentSet()
__construct()
__call()
showManyMood()
getUserSaid()
MoodUploadPage()
imageUpload()
deleteImg()
addMoodUser()
deleteMoodUser()
No public properties found
No constants found
ajaxReturn()
redirect()
No protected properties found
N/A
No private methods found
$filePath
N/A

Properties

$filePath

$filePath : 

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

showManyMood()

showManyMood() 

getUserSaid()

getUserSaid() 

MoodUploadPage()

MoodUploadPage() 

imageUpload()

imageUpload() 

deleteImg()

deleteImg() 

addMoodUser()

addMoodUser() 

deleteMoodUser()

deleteMoodUser() 

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

跳转提示信息