public static function get_property_default($property) {

        self::fill_properties_cache();

        if (!array_key_exists($property, self::$propertiescache) || !isset(self::$propertiescache[$property]['default'])) {
            throw new coding_exception('Invalid property requested, or the property does not has a default value.');
        }

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

        self::fill_properties_cache();

        if (!array_key_exists($property, self::$propertiescache) || !isset(self::$propertiescache[$property]['default'])) {
            throw new coding_exception('Invalid property requested, or the property does not has a default value.');
        }

        return self::$propertiescache[$property]['default'];
    }
public static function get_property_default ( $ property ) { self :: fill_properties_cache ( ) ; if ( ! array_key_exists ( $ property , self :: $ propertiescache ) || ! isset ( self :: $ propertiescache [ $ property ] [ 'default' ] ) ) { throw new coding_exception ( 'Invalid property requested, or the property does not has a default value.' ) ; } return self :: $ propertiescache [ $ property ] [ 'default' ] ; }
Get the property default.

This method gets the default value of a field (if exists).

@param string $property property name to be retrieved.
@throws coding_exception if the requested property name is invalid or if it does not has a default value.
@return string the property default value.
Get the property default .