GetRatingConfigs
array CRatings::GetRatingConfigs( int objectType, bool withRatingType );
The method returns all available rating criteria and their settings for the specified rated object. Non-static method.
Method parameters
Parameter | Description |
---|---|
objectType | Rated object name. |
withRatingType | Included rating type. |
Examples of use
<? $objectType = 'USER'; $arRatinConfigs = CRatings::GetRatingConfigs($objectType); echo "<pre>"; print_r($arRatinConfigs); echo "</pre>"; ?>
© «Bitrix24», 2001-2024
Up