PHP Class Reviews_model, TastyIgniter

Inheritance: extends CI_Model
Datei anzeigen Open project: tastyigniter/tastyigniter

Public Methods

Method 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 method

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

deleteReview() public method

public deleteReview ( $review_id )

getCount() public method

public getCount ( $filter = [] )

getList() public method

public getList ( $filter = [] )

getReview() public method

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

getReviewDates() public method

public getReviewDates ( )

getReviews() public method

public getReviews ( $customer_id = FALSE )

getTotalLocationReviews() public method

public getTotalLocationReviews ( $location_id )

getTotalsbyId() public method

public getTotalsbyId ( $location_id = FALSE )

saveReview() public method

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