PHP Class EventModel, thinksns

Inheritance: extends BaseEventModel
Afficher le fichier Open project: medz/thinksns-4 Class Usage Examples

Méthodes publiques

Свойство Type Description
$mid

Méthodes publiques

Méthode 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 méthode

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

checkMember() public méthode

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

doAddEvent() public méthode

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

doAddUser() public méthode

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

doArgeeUser() public méthode

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

doDelUser() public méthode

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

doDeleteEvent() public méthode

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

doEditData() public méthode

public doEditData ( $time, $id )

doEditEvent() public méthode

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

doIsHot() public méthode

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

factoryModel() public static méthode

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

getConfig() public méthode

public getConfig ( $key = null )

getEventContent() public méthode

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

getEventList() public méthode

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

getHotList() public méthode

getHotList 推荐列表
public getHotList ( )

getList() public méthode

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

getMember() public méthode

public getMember ( $map, $uid )

hasMember() public méthode

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

Property Details

$mid public_oe property

public $mid