PHP Class Reviews_model, TastyIgniter

Inheritance: extends CI_Model
Afficher le fichier Open project: tastyigniter/tastyigniter

Méthodes publiques

Méthode Description
checkReviewed ( $sale_type = 'order', $sale_id = '', $customer_id = '' )
deleteReview ( $review_id )
getCount ( $filter = [] )
getList ( $filter = [] )
getReview ( $review_id, $customer_id = FALSE, $sale_type = FALSE )
getReviewDates ( )
getReviews ( $customer_id = FALSE )
getTotalLocationReviews ( $location_id )
getTotalsbyId ( $location_id = FALSE )
saveReview ( $review_id, $save = [] )

Method Details

checkReviewed() public méthode

public checkReviewed ( $sale_type = 'order', $sale_id = '', $customer_id = '' )

deleteReview() public méthode

public deleteReview ( $review_id )

getCount() public méthode

public getCount ( $filter = [] )

getList() public méthode

public getList ( $filter = [] )

getReview() public méthode

public getReview ( $review_id, $customer_id = FALSE, $sale_type = FALSE )

getReviewDates() public méthode

public getReviewDates ( )

getReviews() public méthode

public getReviews ( $customer_id = FALSE )

getTotalLocationReviews() public méthode

public getTotalLocationReviews ( $location_id )

getTotalsbyId() public méthode

public getTotalsbyId ( $location_id = FALSE )

saveReview() public méthode

public saveReview ( $review_id, $save = [] )