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

  • Ini
  • Json
  • Php
  • Xml
  • Yaml

Class Php

PHP class format handler for Registry

Joomla\Registry\AbstractRegistryFormat implements Joomla\Registry\FormatInterface
Extended by Joomla\Registry\Format\Php
Namespace: Joomla\Registry\Format
Since: 1.0
Located at vendor/joomla/registry/src/Format/Php.php

Methods summary

public string
# objectToString( object $object, array $params = array() )

Converts an object into a php class string.

  • NOTE: Only one depth level is supported.

Converts an object into a php class string.

  • NOTE: Only one depth level is supported.

Parameters

$object
object - $object Data Source Object
$params
array - $params Parameters used by the formatter

Returns

string - Config class formatted string

Since

1.0
public object
# stringToObject( string $data, array $options = array() )

Parse a PHP class formatted string and convert it into an object.

Parse a PHP class formatted string and convert it into an object.

Parameters

$data
string - $data PHP Class formatted string to convert.
$options
array - $options Options used by the formatter.

Returns

object - Data object.

Since

1.0
protected array
# getArrayString( array $a )

Method to get an array as an exported string.

Method to get an array as an exported string.

Parameters

$a
array - $a The array to get as a string.

Returns

array

Since

1.0

Methods inherited from Joomla\Registry\AbstractRegistryFormat

getInstance()

Magic methods summary

Properties summary

Properties inherited from Joomla\Registry\AbstractRegistryFormat

$instances

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.