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 |
|---|
arrayConfig values.
\Monk\Cmsget() : 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. |
|---|
arrayJSON-decoded associative array.getConfig() : array
Includes the default config values for any values that weren't set.
arraysetConfig(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\CmssetDefaultConfig(array $defaultConfig) : array
The new values are merged with the old ones, so not all values must be specified.
array
arrayNew default config values.