protected static function get_default_stores() {
        global $CFG;

        require_once($CFG->dirroot.'/cache/stores/file/lib.php');
        require_once($CFG->dirroot.'/cache/stores/session/lib.php');
        require_once($CFG->dirroot.'/cache/stores/static/lib.php');

        return array(
            'default_application' => array(
                'name' => 'default_application',
                'plugin' => 'file',
                'configuration' => array(),
                'features' => cachestore_file::get_supported_features(),
                'modes' => cachestore_file::get_supported_modes(),
                'default' => true,
            ),
            'default_session' => array(
                'name' => 'default_session',
                'plugin' => 'session',
                'configuration' => array(),
                'features' => cachestore_session::get_supported_features(),
                'modes' => cachestore_session::get_supported_modes(),
                'default' => true,
            ),
            'default_request' => array(
                'name' => 'default_request',
                'plugin' => 'static',
                'configuration' => array(),
                'features' => cachestore_static::get_supported_features(),
                'modes' => cachestore_static::get_supported_modes(),
                'default' => true,
            )
        );
    }
protected static function get_default_stores() {
        global $CFG;

        require_once($CFG->dirroot.'/cache/stores/file/lib.php');
        require_once($CFG->dirroot.'/cache/stores/session/lib.php');
        require_once($CFG->dirroot.'/cache/stores/static/lib.php');

        return array(
            'default_application' => array(
                'name' => 'default_application',
                'plugin' => 'file',
                'configuration' => array(),
                'features' => cachestore_file::get_supported_features(),
                'modes' => cachestore_file::get_supported_modes(),
                'default' => true,
            ),
            'default_session' => array(
                'name' => 'default_session',
                'plugin' => 'session',
                'configuration' => array(),
                'features' => cachestore_session::get_supported_features(),
                'modes' => cachestore_session::get_supported_modes(),
                'default' => true,
            ),
            'default_request' => array(
                'name' => 'default_request',
                'plugin' => 'static',
                'configuration' => array(),
                'features' => cachestore_static::get_supported_features(),
                'modes' => cachestore_static::get_supported_modes(),
                'default' => true,
            )
        );
    }
protected static function get_default_stores ( ) { global $ CFG ; require_once ( $ CFG -> dirroot . '/cache/stores/file/lib.php' ) ; require_once ( $ CFG -> dirroot . '/cache/stores/session/lib.php' ) ; require_once ( $ CFG -> dirroot . '/cache/stores/static/lib.php' ) ; return array ( 'default_application' => array ( 'name' => 'default_application' , 'plugin' => 'file' , 'configuration' => array ( ) , 'features' => cachestore_file :: get_supported_features ( ) , 'modes' => cachestore_file :: get_supported_modes ( ) , 'default' => true , ) , 'default_session' => array ( 'name' => 'default_session' , 'plugin' => 'session' , 'configuration' => array ( ) , 'features' => cachestore_session :: get_supported_features ( ) , 'modes' => cachestore_session :: get_supported_modes ( ) , 'default' => true , ) , 'default_request' => array ( 'name' => 'default_request' , 'plugin' => 'static' , 'configuration' => array ( ) , 'features' => cachestore_static :: get_supported_features ( ) , 'modes' => cachestore_static :: get_supported_modes ( ) , 'default' => true , ) ) ; }
Returns an array of default stores for use.

@return array
Returns an array of default stores for use .