Title: IXR_IntrospectionServer::__construct
Published: July 6, 2022
Last modified: May 20, 2026

---

# IXR_IntrospectionServer::__construct()

## In this article

 * [Source](https://developer.wordpress.org/reference/classes/ixr_introspectionserver/__construct/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/ixr_introspectionserver/__construct/?output_format=md#related)

[ Back to top](https://developer.wordpress.org/reference/classes/ixr_introspectionserver/__construct/?output_format=md#wp--skip-link--target)

PHP5 constructor.

## 󠀁[Source](https://developer.wordpress.org/reference/classes/ixr_introspectionserver/__construct/?output_format=md#source)󠁿

    ```php
    function __construct()
    {
        $this->setCallbacks();
        $this->setCapabilities();
        $this->capabilities['introspection'] = array(
            'specUrl' => 'https://web.archive.org/web/20050404090342/http://xmlrpc.usefulinc.com/doc/reserved.html',
            'specVersion' => 1
        );
        $this->addCallback(
            'system.methodSignature',
            'this:methodSignature',
            array('array', 'string'),
            'Returns an array describing the return type and required parameters of a method'
        );
        $this->addCallback(
            'system.getCapabilities',
            'this:getCapabilities',
            array('struct'),
            'Returns a struct describing the XML-RPC specifications supported by this server'
        );
        $this->addCallback(
            'system.listMethods',
            'this:listMethods',
            array('array'),
            'Returns an array of available methods on this server'
        );
        $this->addCallback(
            'system.methodHelp',
            'this:methodHelp',
            array('string', 'string'),
            'Returns a documentation string for the specified method'
        );
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/ixr/class-ixr-introspectionserver.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/IXR/class-IXR-introspectionserver.php#L17)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/IXR/class-IXR-introspectionserver.php#L17-L49)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/ixr_introspectionserver/__construct/?output_format=md#related)󠁿

| Uses | Description | 
| [IXR_IntrospectionServer::addCallback()](https://developer.wordpress.org/reference/classes/ixr_introspectionserver/addcallback/)`wp-includes/IXR/class-IXR-introspectionserver.php` |  |

| Used by | Description | 
| [IXR_IntrospectionServer::IXR_IntrospectionServer()](https://developer.wordpress.org/reference/classes/ixr_introspectionserver/ixr_introspectionserver/)`wp-includes/IXR/class-IXR-introspectionserver.php` |

PHP4 constructor.

  |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fixr_introspectionserver%2F__construct%2F)
before being able to contribute a note or feedback.