\friendmodel

Summary

Methods
Properties
Constants
__construct()
friendmodel()
add()
delete()
get_totalnum_by_uid()
get_list()
is_friend()
$db
$base
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$db

$db : 

Type

$base

$base : 

Type

Methods

__construct()

__construct(  $base) 

Parameters

$base

friendmodel()

friendmodel(  $base) 

Parameters

$base

add()

add(  $uid,   $friendid,   $comment = '') 

Parameters

$uid
$friendid
$comment

delete()

delete(  $uid,   $friendids) 

Parameters

$uid
$friendids

get_totalnum_by_uid()

get_totalnum_by_uid(  $uid,   $direction) 

Parameters

$uid
$direction

get_list()

get_list(  $uid,   $page,   $pagesize,   $totalnum,   $direction) 

Parameters

$uid
$page
$pagesize
$totalnum
$direction

is_friend()

is_friend(  $uid,   $friendids,   $direction) 

Parameters

$uid
$friendids
$direction