Author Topic

Bruce Morrison

Tuesday 13 October 2009 6:24:12 pm

Comment54644

Hi Stephane

You may have already worked it out but the contentObjectAttribute var in mlcnRatingType::objectAttributeContent & mlcnRatingType::metaData is missing a leading '$' and should read

    /*!
     Returns the content.
    */
    function objectAttributeContent( $contentObjectAttribute )
    {
        return $contentObjectAttribute->attribute( "data_int" );
    }

    /*!
     Returns the meta data used for storing search indeces.
    */
    function metaData( $contentObjectAttribute )
    {
        return $contentObjectAttribute->attribute( "data_int" );
    }

Just like the mlcnRatingType::title method.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish