\JsonContentSource
- Author: marcus
Synopsis
class JsonContentSource
extends ExternalContentSource
{
- // constants
- const DEFAULT_CACHE_LIFETIME = 1800;
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $defaults = ;
- private static array $selectable_types = ;
- private static string $icon = 'rssconnector/images/rssconnector';
- protected $client;
- protected $json;
- // methods
- public void getCMSFields()
- public RssContentItem getObject()
- public void getRoot()
- public void stageChildren()
- public jsonData()
- protected void getRawData()
- public void getContentImporter()
- public void allowedImportTargets()
- public void canImport()
- public int getCacheLifetime()
Hierarchy
Extends
- ExternalContentSource
Constants
Name | Value |
---|---|
DEFAULT_CACHE_LIFETIME | 1800 |
Members
private
- $db
- $defaults
- $has_one
- $icon
- $selectable_types
protected
- $client
- $json
Methods
protected
public
- allowedImportTargets()
- canImport()
- getCMSFields()
- getCacheLifetime()
- getContentImporter()
- getObject() — Attempts to get an RSS content item by GUID.
- getRoot()
- jsonData()
- stageChildren()