PHP Class RTMediaCommentModel, rtMedia

Author: Udit Desai ([email protected])
ファイルを表示 Open project: rtCamp/rtMedia

Public Methods

Method Description
__construct ( ) : void Constructor
delete ( integer $id ) Delete comments by id.
get ( string $where ) Get comments.
get_by_id ( integer $id ) Get comments by id.
insert ( array $attr ) Insert attr
update ( array $attr ) Update comment.

Method Details

__construct() public method

Constructor
public __construct ( ) : void
return void

delete() public method

Delete comments by id.
public delete ( integer $id )
$id integer

get() public method

Get comments.
public get ( string $where )
$where string

get_by_id() public method

Get comments by id.
public get_by_id ( integer $id )
$id integer

insert() public method

Insert attr
public insert ( array $attr )
$attr array

update() public method

Update comment.
public update ( array $attr )
$attr array