public static function getPropertyProperties($mode = 'simple')
    {
        $returnValue = array();



		switch($mode){
			case 'simple':
				$defaultUris = array(GenerisRdf::PROPERTY_IS_LG_DEPENDENT);
				break;
			case 'advanced':
			default:
				$defaultUris = array(
                    OntologyRdfs::RDFS_LABEL,
                    WidgetRdf::PROPERTY_WIDGET,
                    OntologyRdfs::RDFS_RANGE,
					GenerisRdf::PROPERTY_IS_LG_DEPENDENT
				);
				break;
		}
		$resourceClass = new core_kernel_classes_Class(OntologyRdf::RDF_PROPERTY);
		foreach($resourceClass->getProperties() as $property){
			if(in_array($property->getUri(), $defaultUris)){
				array_push($returnValue, $property);
			}
		}



        return (array) $returnValue;
    }
public static function getPropertyProperties($mode = 'simple')
    {
        $returnValue = array();



		switch($mode){
			case 'simple':
				$defaultUris = array(GenerisRdf::PROPERTY_IS_LG_DEPENDENT);
				break;
			case 'advanced':
			default:
				$defaultUris = array(
                    OntologyRdfs::RDFS_LABEL,
                    WidgetRdf::PROPERTY_WIDGET,
                    OntologyRdfs::RDFS_RANGE,
					GenerisRdf::PROPERTY_IS_LG_DEPENDENT
				);
				break;
		}
		$resourceClass = new core_kernel_classes_Class(OntologyRdf::RDF_PROPERTY);
		foreach($resourceClass->getProperties() as $property){
			if(in_array($property->getUri(), $defaultUris)){
				array_push($returnValue, $property);
			}
		}



        return (array) $returnValue;
    }
public static function getPropertyProperties ( $ mode = 'simple' ) { $ returnValue = array ( ) ; switch ( $ mode ) { case 'simple' : $ defaultUris = array ( GenerisRdf :: PROPERTY_IS_LG_DEPENDENT ) ; break ; case 'advanced' : default : $ defaultUris = array ( OntologyRdfs :: RDFS_LABEL , WidgetRdf :: PROPERTY_WIDGET , OntologyRdfs :: RDFS_RANGE , GenerisRdf :: PROPERTY_IS_LG_DEPENDENT ) ; break ; } $ resourceClass = new core_kernel_classes_Class ( OntologyRdf :: RDF_PROPERTY ) ; foreach ( $ resourceClass -> getProperties ( ) as $ property ) { if ( in_array ( $ property -> getUri ( ) , $ defaultUris ) ) { array_push ( $ returnValue , $ property ) ; } } return ( array ) $ returnValue ; }
Get the properties of the rdfs Property class

@access public
@author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
@param  string mode
@return array
Get the properties of the rdfs Property class