A PHP client for accessing the MonkCMS API in non-website environments.
author | Monk Development, Inc. |
---|---|
package | Default |
__construct(array $config = array()
) : \Monk\Cms
fluent | This method is part of a fluent interface and will return the same instance |
---|
array
Config values.
\Monk\Cms
get() : array
Parameters can be in one of two formats:
module/display[/find]
), followed by an
optional array of additional parameters.\Monk\Cms\Exception |
If the request fails. |
---|
array
JSON-decoded associative array.getConfig() : array
Includes the default config values for any values that weren't set.
array
setConfig(array $config) : \Monk\Cms
If a value isn't set, the default config value is used.
fluent | This method is part of a fluent interface and will return the same instance |
---|
array
\Monk\Cms
setDefaultConfig(array $defaultConfig) : array
The new values are merged with the old ones, so not all values must be specified.
array
array
New default config values.