Methods

__construct()

__construct() 

this_user_can_report()

this_user_can_report() 

this_user_can_review()

this_user_can_review() 

this_user_can_review_this_property()

this_user_can_review_this_property() 

save_confirmation()

save_confirmation(  $rating_id,   $state) 

Parameters

$rating_id
$state

save_review()

save_review(  $rating,   $title,   $description,   $pros,   $cons,   $user_name) 

Parameters

$rating
$title
$description
$pros
$cons
$user_name

save_review_report()

save_review_report(  $rating_id,   $report) 

Parameters

$rating_id
$report

delete_review()

delete_review(  $rating_id) 

Parameters

$rating_id

publish_review()

publish_review(  $rating_id) 

Parameters

$rating_id

unpublish_review()

unpublish_review(  $rating_id) 

Parameters

$rating_id

get_all_reviews_index_by_property_uid()

get_all_reviews_index_by_property_uid() 

validateData()

validateData(  $record) 

Parameters

$record

checkRatingUniqueIp()

checkRatingUniqueIp() 

checkRatingUniqueUser()

checkRatingUniqueUser() 

checkConfirmUniqueIp()

checkConfirmUniqueIp(  $rating_id) 

Parameters

$rating_id

checkConfirmUniqueUser()

checkConfirmUniqueUser(  $rating_id) 

Parameters

$rating_id

getRatingsMulti()

getRatingsMulti(  $property_uids) 

Parameters

$property_uids

showRating()

showRating(  $item_id) 

Parameters

$item_id

showReviews()

showReviews(  $item_id,   $max = -1,   $pageNum) 

Parameters

$item_id
$max
$pageNum

showConfirm()

showConfirm(  $rating_id) 

Parameters

$rating_id

get_property_uid_for_rating_id()

get_property_uid_for_rating_id(  $rating_id) 

Parameters

$rating_id

get_all_reports_index_by_rating_id()

get_all_reports_index_by_rating_id() 

save_rating_detail()

save_rating_detail(  $property_uid,   $rating_id,   $rating_1,   $rating_2,   $rating_3,   $rating_4,   $rating_5,   $rating_6) 

Parameters

$property_uid
$rating_id
$rating_1
$rating_2
$rating_3
$rating_4
$rating_5
$rating_6

get_review_replies_for_review_ids()

get_review_replies_for_review_ids(  $review_ids = array()) 

Parameters

$review_ids

save_review_reply()

save_review_reply(  $user_id,   $reply = '',   $rating_id) 

Parameters

$user_id
$reply
$rating_id

processString()

processString(  $text) 

Parameters

$text