model/modx/modjsonrpcresource.class.php
- package
- modx
- Classes
- modJSONRPCResource
Description
Represents a MODX Resource that services JSON-RPC client requests.
\modJSONRPCResource
- Extends from
- \modResource
- package
- modx
- Methods
- __construct
- process
Description
Represents a MODX Resource that services JSON-RPC client requests.
This is the basis for the entire xPDO object model, and can also be used by a class generator {@link xPDOGenerator}, ultimately allowing custom classes to be user-defined in a web interface and framework-generated at runtime.
Methods
__construct
__construct(
\xPDO $xpdo
)
:
\xPDOObject
Creates a modTemplateVar instance, and sets the token of the class to *
{@inheritdoc}
Arguments
- $xpdo
- \xPDO
&$xpdo A reference to a valid xPDO instance.
Output
Details
- visibility
- public
- final
- false
- static
- false
process
process(
)
:
string
Process a resource, transforming source content to output.
{@inheritdoc}
Output
- string
- The processed cacheable content of a resource.
Details
- visibility
- public
- final
- false
- static
- false