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
 1 <?php
 2 /**
 3  * Part of the Joomla Framework Registry Package
 4  *
 5  * @copyright  Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 6  * @license    GNU General Public License version 2 or later; see LICENSE
 7  */
 8 
 9 namespace Joomla\Registry;
10 
11 /**
12  * Interface defining a format object
13  *
14  * @since  1.5.0
15  */
16 interface FormatInterface
17 {
18     /**
19      * Converts an object into a formatted string.
20      *
21      * @param   object  $object   Data Source Object.
22      * @param   array   $options  An array of options for the formatter.
23      *
24      * @return  string  Formatted string.
25      *
26      * @since   1.5.0
27      */
28     public function objectToString($object, $options = null);
29 
30     /**
31      * Converts a formatted string into an object.
32      *
33      * @param   string  $data     Formatted string
34      * @param   array   $options  An array of options for the formatter.
35      *
36      * @return  object  Data Object
37      *
38      * @since   1.5.0
39      */
40     public function stringToObject($data, array $options = array());
41 }
42 
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.