| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297 |
- <?php return array (
- '6fb247dcae56796457333363ff724923' =>
- array (
- 'criteria' =>
- array (
- 'name' => 'clientconfig',
- ),
- 'object' =>
- array (
- 'name' => 'clientconfig',
- 'path' => '{core_path}components/clientconfig/',
- 'assets_path' => '{assets_path}components/clientconfig/',
- ),
- ),
- 'e2f34168abbf97be84eacd9bd6888c77' =>
- array (
- 'criteria' =>
- array (
- 'key' => 'clientconfig.admin_groups',
- ),
- 'object' =>
- array (
- 'key' => 'clientconfig.admin_groups',
- 'value' => 'Administrator',
- 'xtype' => 'textfield',
- 'namespace' => 'clientconfig',
- 'area' => 'Default',
- 'editedon' => NULL,
- ),
- ),
- 'bde3bcd36bd2cb8cd4033f92873ca268' =>
- array (
- 'criteria' =>
- array (
- 'key' => 'clientconfig.clear_cache',
- ),
- 'object' =>
- array (
- 'key' => 'clientconfig.clear_cache',
- 'value' => '1',
- 'xtype' => 'combo-boolean',
- 'namespace' => 'clientconfig',
- 'area' => 'Default',
- 'editedon' => NULL,
- ),
- ),
- '6a65024102b023fa07c4fcb2e74231ed' =>
- array (
- 'criteria' =>
- array (
- 'key' => 'clientconfig.vertical_tabs',
- ),
- 'object' =>
- array (
- 'key' => 'clientconfig.vertical_tabs',
- 'value' => '',
- 'xtype' => 'combo-boolean',
- 'namespace' => 'clientconfig',
- 'area' => 'Default',
- 'editedon' => NULL,
- ),
- ),
- '6fae93dd05ebbdcdb8d67199ebc8db34' =>
- array (
- 'criteria' =>
- array (
- 'key' => 'clientconfig.context_aware',
- ),
- 'object' =>
- array (
- 'key' => 'clientconfig.context_aware',
- 'value' => '1',
- 'xtype' => 'combo-boolean',
- 'namespace' => 'clientconfig',
- 'area' => 'Default',
- 'editedon' => '2019-02-06 08:43:20',
- ),
- ),
- 'f7885e8642f1d92721e88f8ce90ea32f' =>
- array (
- 'criteria' =>
- array (
- 'key' => 'clientconfig.google_fonts_api_key',
- ),
- 'object' =>
- array (
- 'key' => 'clientconfig.google_fonts_api_key',
- 'value' => '',
- 'xtype' => 'textfield',
- 'namespace' => 'clientconfig',
- 'area' => 'Default',
- 'editedon' => NULL,
- ),
- ),
- '90be2e7cd5457e4494b3803dd562d503' =>
- array (
- 'criteria' =>
- array (
- 'name' => 'ClientConfig_ConfigChange',
- ),
- 'object' =>
- array (
- 'name' => 'ClientConfig_ConfigChange',
- 'service' => 6,
- 'groupname' => 'clientconfig',
- ),
- ),
- 'eb5e1b92929b08d3611dbfd205a76513' =>
- array (
- 'criteria' =>
- array (
- 'name' => 'ClientConfig',
- ),
- 'object' =>
- array (
- 'id' => 16,
- 'source' => 0,
- 'property_preprocess' => 0,
- 'name' => 'ClientConfig',
- 'description' => 'Sets system settings from the Client Config CMP.',
- 'editor_type' => 0,
- 'category' => 0,
- 'cache_type' => 0,
- 'plugincode' => '/**
- * ClientConfig
- *
- * Copyright 2011-2014 by Mark Hamstra <hello@markhamstra.com>
- *
- * ClientConfig is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * ClientConfig is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * ClientConfig; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * @package clientconfig
- *
- * @var modX $modx
- * @var int $id
- * @var string $mode
- * @var modResource $resource
- * @var modTemplate $template
- * @var modTemplateVar $tv
- * @var modChunk $chunk
- * @var modSnippet $snippet
- * @var modPlugin $plugin
- */
- $eventName = $modx->event->name;
- switch($eventName) {
- case \'OnMODXInit\':
- case \'OnHandleRequest\':
- /* Grab the class */
- $path = $modx->getOption(\'clientconfig.core_path\', null, $modx->getOption(\'core_path\') . \'components/clientconfig/\');
- $path .= \'model/clientconfig/\';
- $clientConfig = $modx->getService(\'clientconfig\',\'ClientConfig\', $path);
- /* If we got the class (gotta be careful of failed migrations), grab settings and go! */
- if ($clientConfig instanceof ClientConfig) {
- $contextKey = $modx->context instanceof modContext ? $modx->context->get(\'key\') : \'web\';
- $settings = $clientConfig->getSettings($contextKey);
- /* Make settings available as [[++tags]] */
- $modx->setPlaceholders($settings, \'+\');
- /* Make settings available for $modx->getOption() */
- foreach ($settings as $key => $value) {
- $modx->setOption($key, $value);
- }
- }
- break;
- }
- return;',
- 'locked' => 0,
- 'properties' => NULL,
- 'disabled' => 0,
- 'moduleguid' => '',
- 'static' => 0,
- 'static_file' => '',
- 'content' => '/**
- * ClientConfig
- *
- * Copyright 2011-2014 by Mark Hamstra <hello@markhamstra.com>
- *
- * ClientConfig is free software; you can redistribute it and/or modify it under the
- * terms of the GNU General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option) any later
- * version.
- *
- * ClientConfig is distributed in the hope that it will be useful, but WITHOUT ANY
- * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- * A PARTICULAR PURPOSE. See the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * ClientConfig; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place, Suite 330, Boston, MA 02111-1307 USA
- *
- * @package clientconfig
- *
- * @var modX $modx
- * @var int $id
- * @var string $mode
- * @var modResource $resource
- * @var modTemplate $template
- * @var modTemplateVar $tv
- * @var modChunk $chunk
- * @var modSnippet $snippet
- * @var modPlugin $plugin
- */
- $eventName = $modx->event->name;
- switch($eventName) {
- case \'OnMODXInit\':
- case \'OnHandleRequest\':
- /* Grab the class */
- $path = $modx->getOption(\'clientconfig.core_path\', null, $modx->getOption(\'core_path\') . \'components/clientconfig/\');
- $path .= \'model/clientconfig/\';
- $clientConfig = $modx->getService(\'clientconfig\',\'ClientConfig\', $path);
- /* If we got the class (gotta be careful of failed migrations), grab settings and go! */
- if ($clientConfig instanceof ClientConfig) {
- $contextKey = $modx->context instanceof modContext ? $modx->context->get(\'key\') : \'web\';
- $settings = $clientConfig->getSettings($contextKey);
- /* Make settings available as [[++tags]] */
- $modx->setPlaceholders($settings, \'+\');
- /* Make settings available for $modx->getOption() */
- foreach ($settings as $key => $value) {
- $modx->setOption($key, $value);
- }
- }
- break;
- }
- return;',
- ),
- ),
- 'ce69f177314a52339ac18f19ab8be599' =>
- array (
- 'criteria' =>
- array (
- 'pluginid' => 16,
- 'event' => 'OnMODXInit',
- ),
- 'object' =>
- array (
- 'pluginid' => 16,
- 'event' => 'OnMODXInit',
- 'priority' => 0,
- 'propertyset' => 0,
- ),
- ),
- '2f1582f5e049303ec4004570321eb527' =>
- array (
- 'criteria' =>
- array (
- 'text' => 'clientconfig',
- ),
- 'object' =>
- array (
- 'text' => 'clientconfig',
- 'parent' => 'components',
- 'action' => 'home',
- 'description' => 'clientconfig.desc',
- 'icon' => '',
- 'menuindex' => 0,
- 'params' => '',
- 'handler' => '',
- 'permissions' => '',
- 'namespace' => 'clientconfig',
- ),
- ),
- '7832244677f449a9f8fcb2a69ae66df6' =>
- array (
- 'criteria' =>
- array (
- 'category' => 'ClientConfig',
- ),
- 'object' =>
- array (
- 'id' => 31,
- 'parent' => 0,
- 'category' => 'ClientConfig',
- 'rank' => 0,
- ),
- ),
- );
|