PHP Class RTMediaInteractionModel, rtMedia

Author: ritz
Inheritance: extends RTDBModel
Exibir arquivo Open project: rtCamp/rtMedia Class Usage Examples

Public Methods

Method Description
__construct ( ) : void Constructor
check ( integer $user_id = '', integer $media_id = '', type $action = '' ) : boolean Check user id and media id.
get_row ( integer $user_id = '', integer $media_id = '', type $action = '' ) : type get a array of media details.

Method Details

__construct() public method

Constructor
public __construct ( ) : void
return void

check() public method

Check user id and media id.
public check ( integer $user_id = '', integer $media_id = '', type $action = '' ) : boolean
$user_id integer
$media_id integer
$action type
return boolean

get_row() public method

get a array of media details.
public get_row ( integer $user_id = '', integer $media_id = '', type $action = '' ) : type
$user_id integer
$media_id integer
$action type
return type $results