PHP Class EventModel, thinksns

Inheritance: extends BaseEventModel
Exibir arquivo Open project: medz/thinksns-4 Class Usage Examples

Public Properties

Property Type Description
$mid

Public Methods

Method Description
appendContent ( mixed $data ) appendContent 追加和反解析数据
checkMember ( $eventAdmin, $opts, $mid ) checkRoll 检查权限
doAddEvent ( $eventMap, $optsMap, $cover ) doAddEvent 添加活动
doAddUser ( mixed $data, mixed $allow ) doAddUser 添加用户行为
doArgeeUser ( mixed $data ) doArgeeUser 同意申请
doDelUser ( mixed $data ) doDelUser 取消关注或参加
doDeleteEvent ( mixed $eventId ) doDeleteEvent 删除活动
doEditData ( $time, $id )
doEditEvent ( $eventMap, $optsMap, $cover, $id )
doIsHot ( mixed $map, mixed $act ) doIsHot 设置推荐
factoryModel ( mixed $name ) factoryModel 工厂方法
getConfig ( $key = null )
getEventContent ( mixed $eventId, mixed $uid ) getEventContent 获得活动具体类容页
getEventList ( $map = '', $order = 'id DESC', $mid )
getHotList ( ) getHotList 推荐列表
getList ( $map, mixed $order, mixed $limit ) getList 供后台管理获取列表的方法
getMember ( $map, $uid )
hasMember ( mixed $uid, $eventId ) hasMember 判断是否是有这个成员

Method Details

appendContent() public method

appendContent 追加和反解析数据
public appendContent ( mixed $data )
$data mixed

checkMember() public method

checkRoll 检查权限
public checkMember ( $eventAdmin, $opts, $mid )

doAddEvent() public method

doAddEvent 添加活动
public doAddEvent ( $eventMap, $optsMap, $cover )

doAddUser() public method

doAddUser 添加用户行为
public doAddUser ( mixed $data, mixed $allow )
$data mixed
$allow mixed

doArgeeUser() public method

doArgeeUser 同意申请
public doArgeeUser ( mixed $data )
$data mixed

doDelUser() public method

doDelUser 取消关注或参加
public doDelUser ( mixed $data )
$data mixed

doDeleteEvent() public method

doDeleteEvent 删除活动
public doDeleteEvent ( mixed $eventId )
$eventId mixed

doEditData() public method

public doEditData ( $time, $id )

doEditEvent() public method

public doEditEvent ( $eventMap, $optsMap, $cover, $id )

doIsHot() public method

doIsHot 设置推荐
public doIsHot ( mixed $map, mixed $act )
$map mixed
$act mixed

factoryModel() public static method

factoryModel 工厂方法
public static factoryModel ( mixed $name )
$name mixed

getConfig() public method

public getConfig ( $key = null )

getEventContent() public method

getEventContent 获得活动具体类容页
public getEventContent ( mixed $eventId, mixed $uid )
$eventId mixed
$uid mixed

getEventList() public method

public getEventList ( $map = '', $order = 'id DESC', $mid )

getHotList() public method

getHotList 推荐列表
public getHotList ( )

getList() public method

getList 供后台管理获取列表的方法
public getList ( $map, mixed $order, mixed $limit )
$order mixed
$limit mixed

getMember() public method

public getMember ( $map, $uid )

hasMember() public method

hasMember 判断是否是有这个成员
public hasMember ( mixed $uid, $eventId )
$uid mixed

Property Details

$mid public_oe property

public $mid