Contentstack
abstract class Contentstack
Contentstack abstract class to provide access to Stack Object
Methods
static Stack
Stack(string $api_key = '', string $access_token = '', string $environment = '', array $config = array('region' => '', 'branch' => '', 'live_preview' => array('enable' => false, 'host' => 'api.contentstack.io')))
Static method for the Stack constructor
static string
renderContent(string $content, Option $option)
No description
static array
renderContents(array $contents, Option $option)
No description
static string
jsonToHtml(object $content, Option $option)
No description
static array
jsonArrayToHtml(array $contents, Option $option)
No description
Details
at line 46
static Stack
Stack(string $api_key = '', string $access_token = '', string $environment = '', array $config = array('region' => '', 'branch' => '', 'live_preview' => array('enable' => false, 'host' => 'api.contentstack.io')))
Static method for the Stack constructor
at line 54
static string
renderContent(string $content, Option $option)
No description
at line 59
static array
renderContents(array $contents, Option $option)
No description
at line 64
static string
jsonToHtml(object $content, Option $option)
No description
at line 69
static array
jsonArrayToHtml(array $contents, Option $option)
No description