function currentUserHasRated()
    {
        $rateDataObj = ezsrRatingDataObject::create( array( 'contentobject_id' => $this->attribute('contentobject_id'),
                                                            'contentobject_attribute_id' =>  $this->attribute('contentobject_attribute_id'),
                                                            'created_at' => 0 ) );
        return $rateDataObj->userHasRated();
    }
function currentUserHasRated()
    {
        $rateDataObj = ezsrRatingDataObject::create( array( 'contentobject_id' => $this->attribute('contentobject_id'),
                                                            'contentobject_attribute_id' =>  $this->attribute('contentobject_attribute_id'),
                                                            'created_at' => 0 ) );
        return $rateDataObj->userHasRated();
    }
function currentUserHasRated ( ) { $ rateDataObj = ezsrRatingDataObject :: create ( array ( 'contentobject_id' => $ this -> attribute ( 'contentobject_id' ) , 'contentobject_attribute_id' => $ this -> attribute ( 'contentobject_attribute_id' ) , 'created_at' => 0 ) ) ; return $ rateDataObj -> userHasRated ( ) ; }
Check if current user has rated on this content attribute or not!

@return bool
Check if current user has rated on this content attribute or not!