public function exposeCategory(RdfProperty $property, $value)
    {
        $exposeProperty = new RdfProperty(self::EXPOSE_PROP_URI);

        if ($value == true) {
            $property->setPropertyValue($exposeProperty, GenerisRdf::GENERIS_TRUE);
        } else {
            $property->removePropertyValue($exposeProperty, GenerisRdf::GENERIS_TRUE);
        }
    }
public function exposeCategory(RdfProperty $property, $value)
    {
        $exposeProperty = new RdfProperty(self::EXPOSE_PROP_URI);

        if ($value == true) {
            $property->setPropertyValue($exposeProperty, GenerisRdf::GENERIS_TRUE);
        } else {
            $property->removePropertyValue($exposeProperty, GenerisRdf::GENERIS_TRUE);
        }
    }
public function exposeCategory ( RdfProperty $ property , $ value ) { $ exposeProperty = new RdfProperty ( self :: EXPOSE_PROP_URI ) ; if ( $ value == true ) { $ property -> setPropertyValue ( $ exposeProperty , GenerisRdf :: GENERIS_TRUE ) ; } else { $ property -> removePropertyValue ( $ exposeProperty , GenerisRdf :: GENERIS_TRUE ) ; } }
Expose or not a property

@param RdfProperty $property the property to check
@param bool        $value    true if exposed

@return void
Expose or not a property