public static function get_property_definition($property) {

        self::fill_properties_cache();

        if (!array_key_exists($property, self::$propertiescache)) {
            throw new coding_exception('Invalid property requested.');
        }

        return self::$propertiescache[$property];
    }
public static function get_property_definition($property) {

        self::fill_properties_cache();

        if (!array_key_exists($property, self::$propertiescache)) {
            throw new coding_exception('Invalid property requested.');
        }

        return self::$propertiescache[$property];
    }
public static function get_property_definition ( $ property ) { self :: fill_properties_cache ( ) ; if ( ! array_key_exists ( $ property , self :: $ propertiescache ) ) { throw new coding_exception ( 'Invalid property requested.' ) ; } return self :: $ propertiescache [ $ property ] ; }
Get properties of a user field.

@param string $property property name to be retrieved.
@throws coding_exception if the requested property name is invalid.
@return array the property definition.
Get properties of a user field .