final public static function get_formatted_properties() {
        $properties = static::properties_definition();

        $formatted = array();
        foreach ($properties as $property => $definition) {
            $propertyformat = $property . 'format';
            if (($definition['type'] == PARAM_RAW || $definition['type'] == PARAM_CLEANHTML)
                    && array_key_exists($propertyformat, $properties)
                    && $properties[$propertyformat]['type'] == PARAM_INT) {
                $formatted[$property] = $propertyformat;
            }
        }

        return $formatted;
    }
final public static function get_formatted_properties() {
        $properties = static::properties_definition();

        $formatted = array();
        foreach ($properties as $property => $definition) {
            $propertyformat = $property . 'format';
            if (($definition['type'] == PARAM_RAW || $definition['type'] == PARAM_CLEANHTML)
                    && array_key_exists($propertyformat, $properties)
                    && $properties[$propertyformat]['type'] == PARAM_INT) {
                $formatted[$property] = $propertyformat;
            }
        }

        return $formatted;
    }
final public static function get_formatted_properties ( ) { $ properties = static :: properties_definition ( ) ; $ formatted = array ( ) ; foreach ( $ properties as $ property => $ definition ) { $ propertyformat = $ property . 'format' ; if ( ( $ definition [ 'type' ] == PARAM_RAW || $ definition [ 'type' ] == PARAM_CLEANHTML ) && array_key_exists ( $ propertyformat , $ properties ) && $ properties [ $ propertyformat ] [ 'type' ] == PARAM_INT ) { $ formatted [ $ property ] = $ propertyformat ; } } return $ formatted ; }
Gets all the formatted properties.

Formatted properties are properties which have a format associated with them.

@return array Keys are property names, values are property format names.
Gets all the formatted properties .