JOOMLA中国
  • Joomla中国首页
  • 社区
  • 教程
  • 应用市场
  • B计划
Joomla! Framework TM
  • Namespace
  • Class
  • Tree
  • Deprecated

Namespaces

  • Composer
    • Autoload
  • Joomla
    • Application
      • Cli
        • Output
          • Processor
      • Web
    • Data
    • DI
      • Exception
    • Event
    • Filter
    • Input
    • Ldap
    • Registry
      • Format
    • Session
      • Storage
    • String
    • Uri
    • Utilities
  • None
  • PasswordCompat
    • binary
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Yaml
        • Exception
    • Polyfill
      • Util

Classes

  • AbstractRegistryFormat
  • Factory
  • Registry

Interfaces

  • FormatInterface

Class AbstractRegistryFormat

Abstract Format for Registry

Joomla\Registry\AbstractRegistryFormat implements Joomla\Registry\FormatInterface

Direct known subclasses

Joomla\Registry\Format\Ini, Joomla\Registry\Format\Json, Joomla\Registry\Format\Php, Joomla\Registry\Format\Xml, Joomla\Registry\Format\Yaml

Abstract
Namespace: Joomla\Registry
Deprecated: 2.0 Format objects should directly implement the FormatInterface
Since: 1.0
Located at vendor/joomla/registry/src/AbstractRegistryFormat.php

Methods summary

public static Joomla\Registry\AbstractRegistryFormat
# getInstance( string $type, array $options = array() )

Returns a reference to a Format object, only creating it if it doesn't already exist.

Returns a reference to a Format object, only creating it if it doesn't already exist.

Parameters

$type
string - $type The format to load
$options
array - $options Additional options to configure the object

Returns

Joomla\Registry\AbstractRegistryFormat - Registry format handler

Throws

InvalidArgumentException

Since

1.0

Methods inherited from Joomla\Registry\FormatInterface

objectToString(), stringToObject()

Magic methods summary

Properties summary

protected static Joomla\Registry\AbstractRegistryFormat[] $instances
#

Format instances container.

Format instances container.

Deprecated

2.0 Object caching will no longer be supported

Since

1.0
Joomla! Framework TM API documentation generated by ApiGen 2.8.0
Joomla!® and Joomla! Framework™ are trademarks of Open Source Matters, Inc. in the United States and other countries.