PHP Class RTMediaComment, rtMedia

Author: udit
Mostra file Open project: rtCamp/rtMedia Class Usage Examples

Public Properties

Property Type Description
$rtmedia_comment_model

Public Methods

Method Description
__construct ( )
add ( $attr )
comment_nonce_generator ( $echo = true )
get_current_author ( ) : string returns user_id of the current logged in user in wordpress
get_current_id ( ) : integer returns user_id of the current logged in user in wordpress
remove ( $id )

Method Details

__construct() public method

public __construct ( )

add() public method

public add ( $attr )

comment_nonce_generator() static public method

static public comment_nonce_generator ( $echo = true )

get_current_author() public method

returns user_id of the current logged in user in wordpress
public get_current_author ( ) : string
return string

get_current_id() public method

returns user_id of the current logged in user in wordpress
public get_current_id ( ) : integer
return integer

remove() public method

public remove ( $id )

Property Details

$rtmedia_comment_model public_oe property

public $rtmedia_comment_model