PHP Class RTMediaInteractionModel, rtMedia

Author: ritz
Inheritance: extends RTDBModel
Afficher le fichier Open project: rtCamp/rtMedia Class Usage Examples

Méthodes publiques

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

Constructor
public __construct ( ) : void
Résultat void

check() public méthode

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
Résultat boolean

get_row() public méthode

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
Résultat type $results