explode(): Passing null to parameter #2 ($string) of type string is deprecated
Error Type: E_DEPRECATED
Source File: /home4/silksto1/public_html/_qcube4/project/includes/model/SilkCharacters.php Line: 217
Line 212: $meaning = $this->getCnMeaning();
Line 213: } else {
Line 214: $meaning = $this->getEnMeaning();
Line 215: }
Line 216: // Use first meaning only for label (before comma)
Line 217: $label = trim(explode(',', $meaning)[0]);
Line 218: if ($strBaseUrl === null) {
Line 219: $href = '/' . $strCultureKey . '/story-of-chinese-character/' . $id;
Line 220: } else {
Line 221: $href = rtrim($strBaseUrl, '/') . '/story-of-chinese-character/' . $id;
Line 222: }
Call Stack:
#1 /home4/silksto1/public_html/_qcube4/vendor/qcubed-4/common/src/Error/Manager.php(271): QCubed\Error\Manager::handleError()
#2 (): QCubed\Error\Manager::shutdown()
Variable Dump: Show/Hide
_COOKIEarray (
'PHPSESSID' => '3af911608e78cdac2b506c129e962773',
)_ENVarray (
)_FILESarray (
)_FORMNULL_GETarray (
'q' => 'radical-info',
'radicalId' => '134',
'radicalType' => 'ziyuan',
)_POSTarray (
)_REQUESTarray (
'cultureKey' => 'zh',
'q' => 'radical-info',
'radicalId' => '134',
'radicalType' => 'ziyuan',
)_SERVERarray (
'LSPHP_ENABLE_USER_INI' => 'on',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'TEMP' => '/tmp',
'TMP' => '/tmp',
'TMPDIR' => '/tmp',
'PWD' => '/',
'HTTP_ACCEPT' => '*/*',
'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
'CONTENT_LENGTH' => '0',
'HTTP_COOKIE' => 'PHPSESSID=3af911608e78cdac2b506c129e962773',
'HTTP_HOST' => 'www.silkstory.net',
'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'HTTP_X_HTTPS' => '1',
'REDIRECT_REDIRECT_UNIQUE_ID' => 'aelFHHZ-N7ryFWD0s6jECgABcGU',
'REDIRECT_REDIRECT_QS_ConnectionId' => '177689526050848109819481',
'REDIRECT_REDIRECT_SCRIPT_URL' => '/zh/ziyuan/134',
'REDIRECT_REDIRECT_SCRIPT_URI' => 'https://www.silkstory.net/zh/ziyuan/134',
'REDIRECT_REDIRECT_HTTPS' => 'on',
'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'www.silkstory.net',
'REDIRECT_REDIRECT_HTTP2' => 'on',
'REDIRECT_REDIRECT_H2PUSH' => 'off',
'REDIRECT_REDIRECT_H2_PUSH' => 'off',
'REDIRECT_REDIRECT_H2_PUSHED' => '',
'REDIRECT_REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_REDIRECT_H2_STREAM_ID' => '27',
'REDIRECT_REDIRECT_H2_STREAM_TAG' => '819481-144-27',
'REDIRECT_REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'aelFHHZ-N7ryFWD0s6jECgABcGU',
'REDIRECT_QS_ConnectionId' => '177689526050848109819481',
'REDIRECT_SCRIPT_URL' => '/zh/ziyuan/134',
'REDIRECT_SCRIPT_URI' => 'https://www.silkstory.net/zh/ziyuan/134',
'REDIRECT_HTTPS' => 'on',
'REDIRECT_SSL_TLS_SNI' => 'www.silkstory.net',
'REDIRECT_HTTP2' => 'on',
'REDIRECT_H2PUSH' => 'off',
'REDIRECT_H2_PUSH' => 'off',
'REDIRECT_H2_PUSHED' => '',
'REDIRECT_H2_PUSHED_ON' => '',
'REDIRECT_H2_STREAM_ID' => '27',
'REDIRECT_H2_STREAM_TAG' => '819481-144-27',
'REDIRECT_STATUS' => '200',
'UNIQUE_ID' => 'aelFHHZ-N7ryFWD0s6jECgABcGU',
'QS_ConnectionId' => '177689526050848109819481',
'SCRIPT_URL' => '/zh/ziyuan/134',
'SCRIPT_URI' => 'https://www.silkstory.net/zh/ziyuan/134',
'HTTPS' => 'on',
'SSL_TLS_SNI' => 'www.silkstory.net',
'HTTP2' => 'on',
'H2PUSH' => 'off',
'H2_PUSH' => 'off',
'H2_PUSHED' => '',
'H2_PUSHED_ON' => '',
'H2_STREAM_ID' => '27',
'H2_STREAM_TAG' => '819481-144-27',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.silkstory.net',
'SERVER_ADDR' => '10.36.215.6',
'SERVER_PORT' => '443',
'REMOTE_ADDR' => '216.73.216.68',
'DOCUMENT_ROOT' => '/home4/silksto1/public_html',
'REQUEST_SCHEME' => 'https',
'CONTEXT_PREFIX' => '',
'CONTEXT_DOCUMENT_ROOT' => '/home4/silksto1/public_html',
'SERVER_ADMIN' => 'webmaster@silkstory.net',
'SCRIPT_FILENAME' => '/home4/silksto1/public_html/index.php',
'REMOTE_PORT' => '17498',
'REDIRECT_URL' => '/zh/radical-info',
'REDIRECT_QUERY_STRING' => 'cultureKey=zh&q=radical-info&radicalId=134&radicalType=ziyuan',
'SERVER_PROTOCOL' => 'HTTP/2.0',
'REQUEST_METHOD' => 'GET',
'QUERY_STRING' => 'cultureKey=zh&q=radical-info&radicalId=134&radicalType=ziyuan',
'REQUEST_URI' => '/zh/ziyuan/134',
'SCRIPT_NAME' => '/index.php',
'PHP_SELF' => '/index.php',
'REQUEST_TIME_FLOAT' => 1776895260.5152900218963623046875,
'REQUEST_TIME' => 1776895260,
'HTTP_REFERER' => NULL,
)__composer_autoload_filesarray (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => true,
'6e3fae29631ef280660b3cdad06f25a8' => true,
'7b11c4dc42b3b3023073cb14e519683c' => true,
'320cde22f66dd4f5d3fd621d3e88b98f' => true,
'8825ede83f2f289127722d4e842cf7e8' => true,
'e69f7f6ee287b969198c3c9d6777bd38' => true,
'37a3dc5111fe8f707ab4c132ef1dbc62' => true,
'b067bc7112e384b61c701452d53a14a8' => true,
'0d59ee240a4cd96ddbb4ff164fccea4d' => true,
'a4a119a56e50fbb293281d9a48007e0e' => true,
'b6b991a57620e2fb6b2f66f03fe9ddc2' => true,
'8a9dc1de0ca7e01f3e08231539562f61' => true,
'532945a4b12d830ff3e086cc36a64375' => true,
'5897ea0ac4cccf14d323035e65887801' => true,
'6124b4c8570aa390c21fafd04a26c69f' => true,
'2cffec82183ee1cea088009cef9a6fc3' => true,
'9b38cf48e83f5d8f60375221cd213eee' => true,
'ec07570ca5a812141189b1fa81503674' => true,
)_csrf_token'7b8e481bc61f489f3ef6ddf1097439143028530686e28e1663ef8c375f641461'argvNULLconfig_optionsarray (
)contextKey'web'database_dsn'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8'database_password'!Kx9TV5Gbwyp'database_user'silksto1_ss_user'driver_optionsarray (
3 => 0,
)modx\MODX\Revolution\modX::__set_state(array(
'pdo' =>
\PDO::__set_state(array(
)),
'config' =>
array (
'access_category_enabled' => '1',
'access_context_enabled' => '1',
'access_policies_version' => '1.0',
'access_resource_group_enabled' => '1',
'allow_forward_across_contexts' => '',
'allow_manager_login_forgot_password' => '1',
'allow_multiple_emails' => '1',
'allow_tags_in_post' => '',
'anonymous_sessions' => '1',
'archive_with' => '',
'assets_path' => '/home4/silksto1/public_html/assets/',
'assets_url' => '/assets/',
'auto_check_pkg_updates' => '1',
'auto_check_pkg_updates_cache_expire' => '15',
'auto_isfolder' => '1',
'auto_menuindex' => '1',
'automatic_alias' => '1',
'automatic_template_assignment' => 'sibling',
'babel.babelTvName' => 'babelLanguageLinks',
'babel.contextKeys' => 'web,en,zh',
'babel.debug' => '0',
'babel.displayChunk' => 'tplBabelContextMenu',
'babel.displayText' => 'language',
'babel.restrictToGroup' => '1',
'babel.syncFields' => '',
'babel.syncTvs' => '',
'base_help_url' => '//docs.modx.com/help/',
'base_path' => '/home4/silksto1/public_html/',
'base_url' => '/zh/',
'blocked_minutes' => '60',
'cache_alias_map' => '1',
'cache_context_settings' => '1',
'cache_db' => '',
'cache_db_expires' => '0',
'cache_db_session' => '',
'cache_db_session_lifetime' => '',
'cache_default' => '1',
'cache_expires' => '0',
'cache_format' => '0',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_key' => 'default',
'cache_lang_js' => '1',
'cache_lexicon_topics' => '1',
'cache_noncore_lexicon_topics' => '1',
'cache_path' => '/home4/silksto1/public_html/core/cache/',
'cache_resource' => '1',
'cache_resource_clear_partial' => '',
'cache_resource_expires' => '0',
'cache_scripts' => '1',
'cache_system_settings' => true,
'cache_system_settings_key' => 'system_settings',
'charset' => 'utf8',
'clear_cache_refresh_trees' => '',
'compress_css' => '1',
'compress_js' => '1',
'confirm_navigation' => '1',
'connection_mutable' => true,
'connections' =>
array (
0 =>
array (
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'username' => 'silksto1_ss_user',
'password' => '!Kx9TV5Gbwyp',
'options' =>
array (
'connection_mutable' => true,
),
'driverOptions' =>
array (
3 => 0,
),
),
),
'connector_url' => '/connectors/index.php',
'connectors_path' => '/home4/silksto1/public_html/connectors/',
'connectors_url' => '/connectors/',
'container_suffix' => '/',
'context_tree_sort' => '1',
'context_tree_sortby' => 'rank',
'context_tree_sortdir' => 'ASC',
'core_path' => '/home4/silksto1/public_html/core/',
'cultureKey' => 'zh',
'date_timezone' => '',
'dbname' => 'silksto1_silkstory',
'dbtype' => 'mysql',
'debug' => '',
'default_content_type' => '1',
'default_context' => 'web',
'default_duplicate_publish_option' => 'preserve',
'default_media_source' => '1',
'default_media_source_type' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'default_per_page' => '20',
'default_template' => '2',
'default_username' => '(anonymous)',
'driverOptions' =>
array (
3 => 0,
),
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'emailsender' => 'sunny.uy@gmail.com',
'enable_dragdrop' => '1',
'enable_gravatar' => '',
'enable_template_picker_in_tree' => '1',
'error_handler_class' => 'MODX\\Revolution\\Error\\modErrorHandler',
'error_log_filename' => 'error.log',
'error_log_filepath' => '',
'error_page' => '1',
'failed_login_attempts' => '5',
'feed_modx_news' => 'https://feeds.feedburner.com/modx-announce',
'feed_modx_news_enabled' => '1',
'feed_modx_security' => 'https://forums.modx.com/board.xml?board=294',
'feed_modx_security_enabled' => '1',
'form_customization_use_all_groups' => '',
'forward_merge_excludes' => 'type,published,class_key',
'friendly_alias_lowercase_only' => '1',
'friendly_alias_max_length' => '0',
'friendly_alias_realtime' => '1',
'friendly_alias_restrict_chars' => 'pattern',
'friendly_alias_restrict_chars_pattern' => '/[\\0\\x0B\\t\\n\\r\\f\\a&=+%#<>"~:`@\\?\\[\\]\\{\\}\\|\\^\'\\\\]/',
'friendly_alias_strip_element_tags' => '1',
'friendly_alias_translit' => 'none',
'friendly_alias_translit_class' => 'translit.modTransliterate',
'friendly_alias_translit_class_path' => '/home4/silksto1/public_html/core/components/',
'friendly_alias_trim_chars' => '/.-_',
'friendly_alias_word_delimiter' => '-',
'friendly_alias_word_delimiters' => '-_',
'friendly_urls' => '1',
'friendly_urls_strict' => '',
'global_duplicate_uri_check' => '',
'hidemenu_default' => '',
'host' => 'localhost',
'http_host' => 'www.silkstory.net',
'https_port' => 443,
'hydrate_adhoc_fields' => true,
'hydrate_fields' => true,
'hydrate_related_objects' => true,
'inline_help' => '1',
'link_tag_scheme' => '-1',
'load_deprecated_global_class_aliases' => true,
'locale' => '',
'lock_ttl' => '360',
'log_deprecated' => '1',
'log_level' => '1',
'log_snippet_not_found' => '1',
'log_target' => 'FILE',
'login_background_image' => '',
'login_help_button' => '',
'login_logo' => '',
'mail_charset' => 'UTF-8',
'mail_dkim_domain' => '',
'mail_dkim_identity' => '',
'mail_dkim_passphrase' => '',
'mail_dkim_privatekeyfile' => '',
'mail_dkim_privatekeystring' => '',
'mail_dkim_selector' => '',
'mail_encoding' => '8bit',
'mail_inlinestyle_inline' => '1',
'mail_inlinestyle_remove_style_tags' => '',
'mail_smtp_auth' => '',
'mail_smtp_autotls' => '1',
'mail_smtp_helo' => '',
'mail_smtp_hosts' => 'localhost',
'mail_smtp_keepalive' => '',
'mail_smtp_pass' => '',
'mail_smtp_port' => '587',
'mail_smtp_secure' => '',
'mail_smtp_single_to' => '',
'mail_smtp_timeout' => '10',
'mail_smtp_user' => '',
'mail_use_smtp' => '',
'main_nav_parent' => 'topnav',
'manager_date_format' => 'Y-m-d',
'manager_datetime_empty_value' => '—',
'manager_datetime_separator' => ', ',
'manager_direction' => 'ltr',
'manager_favicon_url' => 'favicon.ico',
'manager_login_url_alternate' => '',
'manager_logo' => '',
'manager_path' => '/home4/silksto1/public_html/manager/',
'manager_theme' => 'default',
'manager_time_format' => 'H:i',
'manager_tooltip_delay' => '2300',
'manager_tooltip_enable' => '1',
'manager_url' => '/manager/',
'manager_use_fullname' => '',
'manager_week_start' => '0',
'mgr_source_icon' => 'icon-folder-open-o',
'mgr_tree_icon_context' => 'tree-context',
'modx_browser_default_sort' => 'name',
'modx_browser_default_viewmode' => 'grid',
'modx_browser_tree_hide_files' => '1',
'modx_browser_tree_hide_tooltips' => '1',
'modx_charset' => 'UTF-8',
'package_installer_at_top' => '1',
'parser_recurse_uncacheable' => '1',
'password' => '!Kx9TV5Gbwyp',
'password_generated_length' => '10',
'password_min_length' => '8',
'passwordless_activated' => '',
'passwordless_expiration' => '3600',
'photo_profile_source' => '',
'phpthumb_allow_src_above_docroot' => '',
'phpthumb_cache_maxage' => '30',
'phpthumb_cache_maxfiles' => '10000',
'phpthumb_cache_maxsize' => '100',
'phpthumb_cache_source_enabled' => '',
'phpthumb_document_root' => '',
'phpthumb_error_bgcolor' => 'CCCCFF',
'phpthumb_error_fontsize' => '1',
'phpthumb_error_textcolor' => 'FF0000',
'phpthumb_far' => 'C',
'phpthumb_imagemagick_path' => '',
'phpthumb_nohotlink_enabled' => '1',
'phpthumb_nohotlink_erase_image' => '1',
'phpthumb_nohotlink_text_message' => 'Off-server thumbnailing is not allowed',
'phpthumb_nohotlink_valid_domains' => 'www.silkstory.net',
'phpthumb_nooffsitelink_enabled' => '',
'phpthumb_nooffsitelink_erase_image' => '1',
'phpthumb_nooffsitelink_require_refer' => '',
'phpthumb_nooffsitelink_text_message' => 'Off-server linking is not allowed',
'phpthumb_nooffsitelink_valid_domains' => 'www.silkstory.net',
'phpthumb_nooffsitelink_watermark_src' => '',
'phpthumb_zoomcrop' => '0',
'preserve_menuindex' => '',
'principal_targets' => 'MODX\\Revolution\\modAccessContext,MODX\\Revolution\\modAccessResourceGroup,MODX\\Revolution\\modAccessCategory,MODX\\Revolution\\Sources\\modAccessMediaSource,MODX\\Revolution\\modAccessNamespace',
'processors_path' => '/home4/silksto1/public_html/core/src/Revolution/Processors/',
'proxy_auth_type' => 'BASIC',
'proxy_host' => '',
'proxy_password' => '',
'proxy_port' => '',
'proxy_username' => '',
'publish_default' => '',
'quick_search_in_content' => '1',
'quick_search_result_max' => '10',
'request_controller' => 'index.php',
'request_method_strict' => '',
'request_param_alias' => 'q',
'request_param_id' => 'id',
'resource_static_allow_absolute' => '0',
'resource_static_path' => '/home4/silksto1/public_html/assets/',
'resource_tree_node_name' => 'pagetitle',
'resource_tree_node_name_fallback' => 'alias',
'resource_tree_node_tooltip' => '',
'richtext_default' => '1',
'search_default' => '1',
'send_poweredby_header' => '',
'server_offset_time' => '0',
'server_port' => '443',
'session_cookie_domain' => '',
'session_cookie_httponly' => '1',
'session_cookie_lifetime' => '604800',
'session_cookie_path' => '',
'session_cookie_samesite' => '',
'session_cookie_secure' => '',
'session_gc_maxlifetime' => '604800',
'session_handler_class' => 'MODX\\Revolution\\modSessionHandler',
'session_name' => '',
'set_header' => '1',
'settings_distro' => 'traditional',
'settings_version' => '3.2.0-pl',
'show_tv_categories_header' => '1',
'site_name' => 'MODX Revolution',
'site_start' => '10',
'site_status' => '1',
'site_unavailable_message' => '[[%site_unavailable_message]]',
'site_unavailable_page' => '0',
'site_url' => 'https://www.silkstory.net/zh/',
'static_elements_automate_chunks' => '',
'static_elements_automate_plugins' => '',
'static_elements_automate_snippets' => '',
'static_elements_automate_templates' => '',
'static_elements_automate_tvs' => '',
'static_elements_basepath' => '',
'static_elements_default_category' => '0',
'static_elements_default_mediasource' => '0',
'static_elements_html_extension' => '.tpl',
'symlink_merge_fields' => '1',
'syncsite_default' => '1',
'table_prefix' => 'modx_',
'topmenu_show_descriptions' => '1',
'tree_default_sort' => 'menuindex',
'tree_root_id' => '0',
'tvs_below_content' => '',
'unauthorized_page' => '1',
'upload_file_exists' => '1',
'upload_files' => 'txt,html,htm,xml,js,js.map,css,scss,less,css.map,zip,gz,rar,z,tgz,tar,mp3,mp4,aac,wav,au,wmv,avi,mpg,mpeg,pdf,doc,docx,xls,xlsx,ppt,pptx,jpg,jpeg,png,tiff,svg,svgz,gif,psd,ico,bmp,webp,odt,ods,odp,odb,odg,odf,md,ttf,woff,woff2,eot',
'upload_images' => 'jpg,jpeg,png,gif,psd,ico,bmp,tiff,svg,svgz,webp',
'upload_maxsize' => '33554432',
'upload_media' => 'mp3,wav,au,wmv,avi,mpg,mpeg',
'upload_translit' => '1',
'upload_translit_restrict_chars_pattern' => '/[\\0\\x0B\\t\\n\\r\\f\\a&=+%#<>"~:`@\\?\\[\\]\\{\\}\\|\\^\'\\\\]/',
'url_scheme' => 'https://',
'use_alias_path' => '',
'use_context_resource_table' => '1',
'use_editor' => '1',
'use_frozen_parent_uris' => '',
'use_multibyte' => '1',
'use_weblink_target' => '',
'user_nav_parent' => 'usernav',
'username' => 'silksto1_ss_user',
'validate_on_save' => true,
'validator_class' => 'MODX\\Revolution\\Validation\\modValidator',
'welcome_action' => 'welcome',
'welcome_namespace' => 'core',
'welcome_screen' => '',
'welcome_screen_url' => '//misc.modx.com/revolution/welcome.30.html ',
'which_editor' => '',
'which_element_editor' => '',
'xhtml_urls' => '1',
),
'driver' =>
\xPDO\Om\mysql\xPDODriver::__set_state(array(
'xpdo' => NULL,
'dbtypes' =>
array (
'integer' =>
array (
0 => '/INT/i',
),
'boolean' =>
array (
0 => '/^BOOL/i',
),
'float' =>
array (
0 => '/^DEC/i',
1 => '/^NUMERIC$/i',
2 => '/^FLOAT$/i',
3 => '/^DOUBLE/i',
4 => '/^REAL/i',
),
'string' =>
array (
0 => '/CHAR/i',
1 => '/TEXT/i',
2 => '/^ENUM$/i',
3 => '/^SET$/i',
4 => '/^TIME$/i',
5 => '/^YEAR$/i',
),
'timestamp' =>
array (
0 => '/^TIMESTAMP$/i',
),
'datetime' =>
array (
0 => '/^DATETIME$/i',
),
'date' =>
array (
0 => '/^DATE$/i',
),
'binary' =>
array (
0 => '/BINARY/i',
1 => '/BLOB/i',
),
'bit' =>
array (
0 => '/^BIT$/i',
),
),
'_currentTimestamps' =>
array (
0 => 'CURRENT_TIMESTAMP',
1 => 'CURRENT_TIMESTAMP()',
2 => 'NOW()',
3 => 'LOCALTIME',
4 => 'LOCALTIME()',
5 => 'LOCALTIMESTAMP',
6 => 'LOCALTIMESTAMP()',
7 => 'SYSDATE()',
),
'_currentDates' =>
array (
0 => 'CURDATE()',
1 => 'CURRENT_DATE',
2 => 'CURRENT_DATE()',
),
'_currentTimes' =>
array (
0 => 'CURTIME()',
1 => 'CURRENT_TIME',
2 => 'CURRENT_TIME()',
),
'quoteChar' => '\'',
'escapeOpenChar' => '`',
'escapeCloseChar' => '`',
)),
'map' =>
\xPDO\xPDOMap::__set_state(array(
'map' =>
array (
'MODX\\Revolution\\modContext' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'context',
'extends' => 'MODX\\Revolution\\modAccessibleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'key' => NULL,
'name' => NULL,
'description' => NULL,
'rank' => 0,
),
'fieldMeta' =>
array (
'key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'index' => 'pk',
),
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'index' => 'index',
),
'description' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
),
'rank' =>
array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
),
'indexes' =>
array (
'PRIMARY' =>
array (
'alias' => 'PRIMARY',
'primary' => true,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'key' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'name' =>
array (
'alias' => 'name',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'name' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'rank' =>
array (
'alias' => 'rank',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'rank' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'composites' =>
array (
'ContextResources' =>
array (
'class' => 'MODX\\Revolution\\modContextResource',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'ContextSettings' =>
array (
'class' => 'MODX\\Revolution\\modContextSetting',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'SourceElements' =>
array (
'class' => 'MODX\\Revolution\\Sources\\modMediaSourceElement',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'Acls' =>
array (
'class' => 'MODX\\Revolution\\modAccessContext',
'local' => 'key',
'foreign' => 'target',
'owner' => 'local',
'cardinality' => 'many',
),
),
'validation' =>
array (
'rules' =>
array (
'key' =>
array (
'key' =>
array (
'type' => 'preg_match',
'rule' => '/^[a-zA-Z\\x7f-\\xff][a-zA-Z0-9\\x2d-\\x2f\\x7f-\\xff]*$/',
'message' => 'context_err_ns_key',
),
),
),
),
),
'xPDO\\Om\\xPDOObject' =>
array (
'table' => NULL,
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
),
'MODX\\Revolution\\modAccessibleObject' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'extends' => 'xPDO\\Om\\xPDOObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
),
'fieldMeta' =>
array (
),
),
'MODX\\Revolution\\modExtensionPackage' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'extension_packages',
'extends' => 'xPDO\\Om\\xPDOSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'namespace' => 'core',
'name' => 'core',
'path' => NULL,
'table_prefix' => '',
'service_class' => '',
'service_name' => '',
'created_at' => NULL,
'updated_at' => NULL,
),
'fieldMeta' =>
array (
'namespace' =>
array (
'dbtype' => 'varchar',
'precision' => '40',
'phptype' => 'string',
'null' => false,
'default' => 'core',
'index' => 'index',
),
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'core',
'index' => 'index',
),
'path' =>
array (
'dbtype' => 'text',
'phptype' => 'string',
'null' => true,
),
'table_prefix' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'service_class' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'service_name' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'created_at' =>
array (
'dbtype' => 'datetime',
'phptype' => 'datetime',
'null' => true,
),
'updated_at' =>
array (
'dbtype' => 'datetime',
'phptype' => 'datetime',
'null' => true,
),
),
'indexes' =>
array (
'namespace' =>
array (
'alias' => 'namespace',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'namespace' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'name' =>
array (
'alias' => 'name',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'name' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'Namespace' =>
array (
'class' => 'MODX\\Revolution\\modNamespace',
'local' => 'namespace',
'foreign' => 'name',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
'MODX\\Revolution\\modNamespace' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'namespaces',
'extends' => 'MODX\\Revolution\\modAccessibleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'name' => '',
'path' => '',
'assets_path' => '',
),
'fieldMeta' =>
array (
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '40',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'pk',
),
'path' =>
array (
'dbtype' => 'text',
'phptype' => 'string',
'default' => '',
),
'assets_path' =>
array (
'dbtype' => 'text',
'phptype' => 'string',
'default' => '',
),
),
'indexes' =>
array (
'PRIMARY' =>
array (
'alias' => 'PRIMARY',
'primary' => true,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'name' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'composites' =>
array (
'LexiconEntries' =>
array (
'class' => 'MODX\\Revolution\\modLexiconEntry',
'local' => 'name',
'foreign' => 'namespace',
'cardinality' => 'many',
'owner' => 'local',
),
'SystemSettings' =>
array (
'class' => 'MODX\\Revolution\\modSystemSetting',
'local' => 'name',
'foreign' => 'namespace',
'cardinality' => 'many',
'owner' => 'local',
),
'ContextSettings' =>
array (
'class' => 'MODX\\Revolution\\modContextSetting',
'local' => 'name',
'foreign' => 'namespace',
'cardinality' => 'many',
'owner' => 'local',
),
'UserSettings' =>
array (
'class' => 'MODX\\Revolution\\modUserSetting',
'local' => 'name',
'foreign' => 'namespace',
'cardinality' => 'many',
'owner' => 'local',
),
'ExtensionPackages' =>
array (
'class' => 'MODX\\Revolution\\modExtensionPackage',
'local' => 'name',
'foreign' => 'namespace',
'cardinality' => 'many',
'owner' => 'local',
),
'Acls' =>
array (
'class' => 'MODX\\Revolution\\modAccessNamespace',
'local' => 'name',
'foreign' => 'target',
'owner' => 'local',
'cardinality' => 'many',
),
),
),
'xPDO\\Om\\xPDOSimpleObject' =>
array (
'table' => NULL,
'fields' =>
array (
'id' => NULL,
),
'fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
),
'indexes' =>
array (
'PRIMARY' =>
array (
'alias' => 'PRIMARY',
'primary' => true,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'id' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
),
'MODX\\Revolution\\modSession' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'session',
'extends' => 'xPDO\\Om\\xPDOObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'id' => '',
'access' => NULL,
'data' => NULL,
),
'fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'index' => 'pk',
'default' => '',
),
'access' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'attributes' => 'unsigned',
),
'data' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'string',
),
),
'indexes' =>
array (
'PRIMARY' =>
array (
'alias' => 'PRIMARY',
'primary' => true,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'id' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'access' =>
array (
'alias' => 'access',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'access' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'validation' =>
array (
'rules' =>
array (
'id' =>
array (
'invalid' =>
array (
'type' => 'preg_match',
'rule' => '/^[0-9a-zA-Z,-]{22,191}$/',
'message' => 'session_err_invalid_id',
),
),
),
),
),
'MODX\\Revolution\\modUser' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'users',
'extends' => 'MODX\\Revolution\\modPrincipal',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'username' => '',
'password' => '',
'cachepwd' => '',
'class_key' => 'MODX\\Revolution\\modUser',
'active' => 1,
'remote_key' => NULL,
'remote_data' => NULL,
'hash_class' => 'MODX\\Revolution\\Hashing\\modNative',
'salt' => '',
'primary_group' => 0,
'session_stale' => NULL,
'sudo' => 0,
'createdon' => 0,
),
'fieldMeta' =>
array (
'username' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'unique',
),
'password' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'cachepwd' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'class_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'MODX\\Revolution\\modUser',
'index' => 'index',
),
'active' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'boolean',
'attributes' => 'unsigned',
'null' => false,
'default' => 1,
),
'remote_key' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => true,
'index' => 'index',
),
'remote_data' =>
array (
'dbtype' => 'text',
'phptype' => 'json',
'null' => true,
),
'hash_class' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'MODX\\Revolution\\Hashing\\modNative',
),
'salt' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'primary_group' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'attributes' => 'unsigned',
'null' => false,
'default' => 0,
'index' => 'index',
),
'session_stale' =>
array (
'dbtype' => 'text',
'phptype' => 'array',
'null' => true,
),
'sudo' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'boolean',
'attributes' => 'unsigned',
'null' => false,
'default' => 0,
),
'createdon' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
),
),
'indexes' =>
array (
'username' =>
array (
'alias' => 'username',
'primary' => false,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'username' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'class_key' =>
array (
'alias' => 'class_key',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'class_key' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'remote_key' =>
array (
'alias' => 'remote_key',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'remote_key' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'primary_group' =>
array (
'alias' => 'primary_group',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'primary_group' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'composites' =>
array (
'Profile' =>
array (
'class' => 'MODX\\Revolution\\modUserProfile',
'local' => 'id',
'foreign' => 'internalKey',
'cardinality' => 'one',
'owner' => 'local',
),
'UserSettings' =>
array (
'class' => 'MODX\\Revolution\\modUserSetting',
'local' => 'id',
'foreign' => 'user',
'cardinality' => 'many',
'owner' => 'local',
),
'UserGroupMembers' =>
array (
'class' => 'MODX\\Revolution\\modUserGroupMember',
'local' => 'id',
'foreign' => 'member',
'cardinality' => 'many',
'owner' => 'local',
),
'ActiveUsers' =>
array (
'class' => 'MODX\\Revolution\\modActiveUser',
'local' => 'id',
'foreign' => 'internalKey',
'cardinality' => 'many',
'owner' => 'local',
),
'DashboardWidgets' =>
array (
'class' => 'MODX\\Revolution\\modDashboardWidgetPlacement',
'local' => 'id',
'foreign' => 'user',
'cardinality' => 'many',
'owner' => 'local',
),
),
'aggregates' =>
array (
'CreatedResources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'createdby',
'cardinality' => 'many',
'owner' => 'local',
),
'EditedResources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'editedby',
'cardinality' => 'many',
'owner' => 'local',
),
'DeletedResources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'deletedby',
'cardinality' => 'many',
'owner' => 'local',
),
'PublishedResources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'publishedby',
'cardinality' => 'many',
'owner' => 'local',
),
'SentMessages' =>
array (
'class' => 'MODX\\Revolution\\modUserMessage',
'local' => 'id',
'foreign' => 'sender',
'cardinality' => 'many',
'owner' => 'local',
),
'ReceivedMessages' =>
array (
'class' => 'MODX\\Revolution\\modUserMessage',
'local' => 'id',
'foreign' => 'recipient',
'cardinality' => 'many',
'owner' => 'local',
),
'PrimaryGroup' =>
array (
'class' => 'MODX\\Revolution\\modUserGroup',
'local' => 'primary_group',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
'MODX\\Revolution\\modPrincipal' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'extends' => 'xPDO\\Om\\xPDOSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
),
'fieldMeta' =>
array (
),
'composites' =>
array (
'Acls' =>
array (
'class' => 'modAccess',
'local' => 'id',
'foreign' => 'principal',
'cardinality' => 'many',
'owner' => 'local',
),
),
),
'MODX\\Revolution\\modPlugin' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'site_plugins',
'extends' => 'MODX\\Revolution\\modScript',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'cache_type' => 0,
'plugincode' => '',
'locked' => 0,
'properties' => NULL,
'disabled' => 0,
'moduleguid' => '',
'static' => 0,
'static_file' => '',
),
'fieldMeta' =>
array (
'cache_type' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'plugincode' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'locked' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'properties' =>
array (
'dbtype' => 'text',
'phptype' => 'array',
'null' => true,
),
'disabled' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'moduleguid' =>
array (
'dbtype' => 'varchar',
'precision' => '32',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fk',
),
'static' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'static_file' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
),
'fieldAliases' =>
array (
'content' => 'plugincode',
),
'indexes' =>
array (
'locked' =>
array (
'alias' => 'locked',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'locked' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'disabled' =>
array (
'alias' => 'disabled',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'disabled' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'static' =>
array (
'alias' => 'static',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'static' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'composites' =>
array (
'PropertySets' =>
array (
'class' => 'MODX\\Revolution\\modElementPropertySet',
'local' => 'id',
'foreign' => 'element',
'owner' => 'local',
'cardinality' => 'many',
'criteria' =>
array (
'foreign' =>
array (
'element_class' => 'MODX\\Revolution\\modPlugin',
),
),
),
'PluginEvents' =>
array (
'class' => 'MODX\\Revolution\\modPluginEvent',
'local' => 'id',
'foreign' => 'pluginid',
'cardinality' => 'many',
'owner' => 'local',
),
),
'validation' =>
array (
'rules' =>
array (
'name' =>
array (
'invalid' =>
array (
'type' => 'preg_match',
'rule' => '/^(?!\\s)[a-zA-Z0-9\\x23-\\x2f\\x3a\\x5b-\\x5d\\x7f-\\xff-_\\s]+(?<!\\s)$/',
'message' => 'plugin_err_invalid_name',
),
),
),
),
),
'MODX\\Revolution\\modAccessibleSimpleObject' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'extends' => 'MODX\\Revolution\\modAccessibleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'id' => NULL,
),
'fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
),
),
'indexes' =>
array (
'PRIMARY' =>
array (
'alias' => 'PRIMARY',
'primary' => true,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'id' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
),
'MODX\\Revolution\\modElement' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'site_element',
'extends' => 'MODX\\Revolution\\modAccessibleSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'source' => 0,
'property_preprocess' => 0,
),
'fieldMeta' =>
array (
'source' =>
array (
'dbtype' => 'int',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'fk',
),
'property_preprocess' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
),
),
'composites' =>
array (
'Acls' =>
array (
'class' => 'MODX\\Revolution\\modAccessElement',
'local' => 'id',
'foreign' => 'target',
'owner' => 'local',
'cardinality' => 'many',
),
),
'aggregates' =>
array (
'CategoryAcls' =>
array (
'class' => 'MODX\\Revolution\\modAccessCategory',
'local' => 'category',
'foreign' => 'target',
'owner' => 'local',
'cardinality' => 'many',
),
'Source' =>
array (
'class' => 'MODX\\Revolution\\Sources\\modMediaSource',
'local' => 'source',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
),
),
),
'MODX\\Revolution\\modScript' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'site_script',
'extends' => 'MODX\\Revolution\\modElement',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'name' => '',
'description' => '',
'editor_type' => 0,
'category' => 0,
),
'fieldMeta' =>
array (
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '50',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'unique',
),
'description' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'editor_type' =>
array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'category' =>
array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'fk',
),
),
'indexes' =>
array (
'name' =>
array (
'alias' => 'name',
'primary' => false,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'name' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'category' =>
array (
'alias' => 'category',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'category' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'Category' =>
array (
'class' => 'MODX\\Revolution\\modCategory',
'key' => 'id',
'local' => 'category',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
'MODX\\Revolution\\modAccessContext' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'access_context',
'extends' => 'MODX\\Revolution\\modAccess',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
),
'fieldMeta' =>
array (
),
'aggregates' =>
array (
'Target' =>
array (
'class' => 'MODX\\Revolution\\modContext',
'local' => 'target',
'foreign' => 'key',
'owner' => 'foreign',
'cardinality' => 'one',
),
),
),
'MODX\\Revolution\\modAccessPolicy' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'access_policies',
'extends' => 'xPDO\\Om\\xPDOSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'name' => NULL,
'description' => NULL,
'parent' => 0,
'template' => 0,
'class' => '',
'data' => '{}',
'lexicon' => 'permissions',
),
'fieldMeta' =>
array (
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'index' => 'unique',
),
'description' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'string',
),
'parent' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'template' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'class' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'index',
),
'data' =>
array (
'dbtype' => 'text',
'phptype' => 'json',
'default' => '{}',
),
'lexicon' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => 'permissions',
),
),
'indexes' =>
array (
'name' =>
array (
'alias' => 'name',
'primary' => false,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'name' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'parent' =>
array (
'alias' => 'parent',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'parent' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'class' =>
array (
'alias' => 'class',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'class' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'template' =>
array (
'alias' => 'template',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'template' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'composites' =>
array (
'Children' =>
array (
'class' => 'MODX\\Revolution\\modAccessPolicy',
'local' => 'id',
'foreign' => 'parent',
'owner' => 'local',
'cardinality' => 'many',
),
),
'aggregates' =>
array (
'Parent' =>
array (
'class' => 'MODX\\Revolution\\modAccessPolicy',
'local' => 'parent',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
),
'Template' =>
array (
'class' => 'MODX\\Revolution\\modAccessPolicyTemplate',
'local' => 'template',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
),
),
),
'MODX\\Revolution\\modAccess' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'extends' => 'xPDO\\Om\\xPDOSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'target' => '',
'principal_class' => 'MODX\\Revolution\\modPrincipal',
'principal' => 0,
'authority' => 9999,
'policy' => 0,
),
'fieldMeta' =>
array (
'target' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fk',
),
'principal_class' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'MODX\\Revolution\\modPrincipal',
'index' => 'index',
),
'principal' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'fk',
),
'authority' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 9999,
'index' => 'index',
),
'policy' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'fk',
),
),
'indexes' =>
array (
'target' =>
array (
'alias' => 'target',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'target' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'principal_class' =>
array (
'alias' => 'principal_class',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'principal_class' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'principal' =>
array (
'alias' => 'principal',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'principal' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'authority' =>
array (
'alias' => 'authority',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'authority' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'policy' =>
array (
'alias' => 'policy',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'policy' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'Policy' =>
array (
'class' => 'MODX\\Revolution\\modAccessPolicy',
'local' => 'policy',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
),
'Principal' =>
array (
'class' => 'MODX\\Revolution\\modPrincipal',
'local' => 'principal',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
),
'GroupPrincipal' =>
array (
'class' => 'MODX\\Revolution\\modUserGroup',
'local' => 'principal',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
'criteria' =>
array (
'local' =>
array (
'principal_class' => 'MODX\\Revolution\\modUserGroup',
),
),
),
'UserPrincipal' =>
array (
'class' => 'MODX\\Revolution\\modUserGroup',
'local' => 'principal',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
'criteria' =>
array (
'local' =>
array (
'principal_class' => 'MODX\\Revolution\\modUser',
),
),
),
'MinimumRole' =>
array (
'class' => 'MODX\\Revolution\\modUserGroupRole',
'local' => 'authority',
'foreign' => 'authority',
'owner' => 'local',
'cardinality' => 'one',
),
),
),
'MODX\\Revolution\\modUserGroupMember' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'member_groups',
'extends' => 'xPDO\\Om\\xPDOSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'user_group' => 0,
'member' => 0,
'role' => 1,
'rank' => 0,
),
'fieldMeta' =>
array (
'user_group' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'member' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'role' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 1,
'index' => 'index',
),
'rank' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
),
'indexes' =>
array (
'role' =>
array (
'alias' => 'role',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'role' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'rank' =>
array (
'alias' => 'rank',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'rank' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'UserGroupRole' =>
array (
'class' => 'MODX\\Revolution\\modUserGroupRole',
'local' => 'role',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'UserGroup' =>
array (
'class' => 'MODX\\Revolution\\modUserGroup',
'local' => 'user_group',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'User' =>
array (
'class' => 'MODX\\Revolution\\modUser',
'local' => 'member',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
'MODX\\Revolution\\modUserGroupRole' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'user_group_roles',
'extends' => 'xPDO\\Om\\xPDOSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'name' => NULL,
'description' => NULL,
'authority' => 9999,
),
'fieldMeta' =>
array (
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'index' => 'unique',
),
'description' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'string',
),
'authority' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 9999,
'index' => 'unique',
),
),
'indexes' =>
array (
'name' =>
array (
'alias' => 'name',
'primary' => false,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'name' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'authority' =>
array (
'alias' => 'authority',
'primary' => false,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'authority' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'UserGroupMembers' =>
array (
'class' => 'MODX\\Revolution\\modUserGroupMember',
'local' => 'id',
'foreign' => 'role',
'cardinality' => 'many',
'owner' => 'local',
),
),
),
'MODX\\Revolution\\modAccessResourceGroup' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'access_resource_groups',
'extends' => 'MODX\\Revolution\\modAccess',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'context_key' => '',
),
'fieldMeta' =>
array (
'context_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fk',
),
),
'indexes' =>
array (
'context_key' =>
array (
'alias' => 'context_key',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'context_key' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'principal_class' =>
array (
'alias' => 'principal_class',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'principal_class' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
'target' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
'principal' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
'authority' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'Target' =>
array (
'class' => 'MODX\\Revolution\\modResourceGroup',
'local' => 'target',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
),
'Context' =>
array (
'class' => 'MODX\\Revolution\\modContext',
'local' => 'context_key',
'foreign' => 'key',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
'MODX\\Revolution\\modAccessCategory' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'access_category',
'extends' => 'MODX\\Revolution\\modAccess',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'context_key' => '',
),
'fieldMeta' =>
array (
'context_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fk',
),
),
'indexes' =>
array (
'context_key' =>
array (
'alias' => 'context_key',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'context_key' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'Target' =>
array (
'class' => 'MODX\\Revolution\\modCategory',
'local' => 'target',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
),
'Context' =>
array (
'class' => 'MODX\\Revolution\\modContext',
'local' => 'context_key',
'foreign' => 'key',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
'MODX\\Revolution\\Sources\\modAccessMediaSource' =>
array (
'package' => 'MODX\\Revolution\\Sources',
'version' => '3.0',
'table' => 'access_media_source',
'extends' => 'MODX\\Revolution\\modAccess',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'context_key' => '',
),
'fieldMeta' =>
array (
'context_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fk',
),
),
'indexes' =>
array (
'context_key' =>
array (
'alias' => 'context_key',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'context_key' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'Target' =>
array (
'class' => 'MODX\\Revolution\\Sources\\modMediaSource',
'local' => 'target',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
),
'Context' =>
array (
'class' => 'MODX\\Revolution\\modContext',
'local' => 'context_key',
'foreign' => 'key',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
'MODX\\Revolution\\modAccessNamespace' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'access_namespace',
'extends' => 'MODX\\Revolution\\modAccess',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'context_key' => '',
),
'fieldMeta' =>
array (
'context_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fk',
),
),
'indexes' =>
array (
'context_key' =>
array (
'alias' => 'context_key',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'context_key' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'Target' =>
array (
'class' => 'MODX\\Revolution\\modNamespace',
'local' => 'target',
'foreign' => 'name',
'owner' => 'foreign',
'cardinality' => 'one',
),
'Context' =>
array (
'class' => 'MODX\\Revolution\\modContext',
'local' => 'context_key',
'foreign' => 'key',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
'MODX\\Revolution\\modDocument' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'extends' => 'MODX\\Revolution\\modResource',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
),
'fieldMeta' =>
array (
),
),
'MODX\\Revolution\\modResource' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'site_content',
'extends' => 'MODX\\Revolution\\modAccessibleSimpleObject',
'inherit' => 'single',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'type' => 'document',
'pagetitle' => '',
'longtitle' => '',
'description' => '',
'alias' => '',
'link_attributes' => '',
'published' => 0,
'pub_date' => 0,
'unpub_date' => 0,
'parent' => 0,
'isfolder' => 0,
'introtext' => NULL,
'content' => NULL,
'richtext' => 1,
'template' => 0,
'menuindex' => 0,
'searchable' => 1,
'cacheable' => 1,
'createdby' => 0,
'createdon' => 0,
'editedby' => 0,
'editedon' => 0,
'deleted' => 0,
'deletedon' => 0,
'deletedby' => 0,
'publishedon' => 0,
'publishedby' => 0,
'menutitle' => '',
'content_dispo' => 0,
'hidemenu' => 0,
'class_key' => 'MODX\\Revolution\\modDocument',
'context_key' => 'web',
'content_type' => 1,
'uri' => NULL,
'uri_override' => 0,
'hide_children_in_tree' => 0,
'show_in_tree' => 1,
'properties' => NULL,
'alias_visible' => 1,
),
'fieldMeta' =>
array (
'type' =>
array (
'dbtype' => 'varchar',
'precision' => '20',
'phptype' => 'string',
'null' => false,
'default' => 'document',
),
'pagetitle' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fulltext',
'indexgrp' => 'content_ft_idx',
),
'longtitle' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fulltext',
'indexgrp' => 'content_ft_idx',
),
'description' =>
array (
'dbtype' => 'text',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fulltext',
'indexgrp' => 'content_ft_idx',
),
'alias' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => true,
'default' => '',
'index' => 'index',
),
'link_attributes' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'published' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'pub_date' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
'index' => 'index',
),
'unpub_date' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
'index' => 'index',
),
'parent' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'isfolder' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'introtext' =>
array (
'dbtype' => 'text',
'phptype' => 'string',
'index' => 'fulltext',
'indexgrp' => 'content_ft_idx',
),
'content' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'string',
'index' => 'fulltext',
'indexgrp' => 'content_ft_idx',
),
'richtext' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 1,
),
'template' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'menuindex' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'searchable' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 1,
'index' => 'index',
),
'cacheable' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 1,
'index' => 'index',
),
'createdby' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'createdon' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
),
'editedby' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'editedon' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
),
'deleted' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
),
'deletedon' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
),
'deletedby' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'publishedon' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
),
'publishedby' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'menutitle' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'content_dispo' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'hidemenu' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'class_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'MODX\\Revolution\\modDocument',
'index' => 'index',
),
'context_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'web',
'index' => 'index',
),
'content_type' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 1,
),
'uri' =>
array (
'dbtype' => 'text',
'phptype' => 'string',
'null' => true,
'index' => 'index',
),
'uri_override' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'hide_children_in_tree' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'show_in_tree' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 1,
'index' => 'index',
),
'properties' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'json',
'null' => true,
),
'alias_visible' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 1,
),
),
'indexes' =>
array (
'alias' =>
array (
'alias' => 'alias',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'alias' =>
array (
'length' => '',
'collation' => 'A',
'null' => true,
),
),
),
'published' =>
array (
'alias' => 'published',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'published' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'pub_date' =>
array (
'alias' => 'pub_date',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'pub_date' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'unpub_date' =>
array (
'alias' => 'unpub_date',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'unpub_date' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'parent' =>
array (
'alias' => 'parent',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'parent' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'isfolder' =>
array (
'alias' => 'isfolder',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'isfolder' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'template' =>
array (
'alias' => 'template',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'template' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'menuindex' =>
array (
'alias' => 'menuindex',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'menuindex' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'searchable' =>
array (
'alias' => 'searchable',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'searchable' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'cacheable' =>
array (
'alias' => 'cacheable',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'cacheable' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'hidemenu' =>
array (
'alias' => 'hidemenu',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'hidemenu' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'class_key' =>
array (
'alias' => 'class_key',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'class_key' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'context_key' =>
array (
'alias' => 'context_key',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'context_key' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'uri' =>
array (
'alias' => 'uri',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'uri' =>
array (
'length' => '191',
'collation' => 'A',
'null' => true,
),
),
),
'uri_override' =>
array (
'alias' => 'uri_override',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'uri_override' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'hide_children_in_tree' =>
array (
'alias' => 'hide_children_in_tree',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'hide_children_in_tree' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'show_in_tree' =>
array (
'alias' => 'show_in_tree',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'show_in_tree' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'content_ft_idx' =>
array (
'alias' => 'content_ft_idx',
'primary' => false,
'unique' => false,
'type' => 'FULLTEXT',
'columns' =>
array (
'pagetitle' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
'longtitle' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
'description' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
'introtext' =>
array (
'length' => '',
'collation' => 'A',
'null' => true,
),
'content' =>
array (
'length' => '',
'collation' => 'A',
'null' => true,
),
),
),
'cache_refresh_idx' =>
array (
'alias' => 'cache_refresh_index',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'parent' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
'menuindex' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
'id' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'composites' =>
array (
'Children' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'parent',
'cardinality' => 'many',
'owner' => 'local',
),
'TemplateVarResources' =>
array (
'class' => 'MODX\\Revolution\\modTemplateVarResource',
'local' => 'id',
'foreign' => 'contentid',
'cardinality' => 'many',
'owner' => 'local',
),
'ResourceGroupResources' =>
array (
'class' => 'MODX\\Revolution\\modResourceGroupResource',
'local' => 'id',
'foreign' => 'document',
'cardinality' => 'many',
'owner' => 'local',
),
'Acls' =>
array (
'class' => 'MODX\\Revolution\\modAccessResource',
'local' => 'id',
'foreign' => 'target',
'owner' => 'local',
'cardinality' => 'many',
),
'ContextResources' =>
array (
'class' => 'MODX\\Revolution\\modContextResource',
'local' => 'id',
'foreign' => 'resource',
'cardinality' => 'many',
'owner' => 'local',
),
),
'aggregates' =>
array (
'Parent' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'parent',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'CreatedBy' =>
array (
'class' => 'MODX\\Revolution\\modUser',
'local' => 'createdby',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'EditedBy' =>
array (
'class' => 'MODX\\Revolution\\modUser',
'local' => 'editedby',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'DeletedBy' =>
array (
'class' => 'MODX\\Revolution\\modUser',
'local' => 'deletedby',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'PublishedBy' =>
array (
'class' => 'MODX\\Revolution\\modUser',
'local' => 'publishedby',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'Template' =>
array (
'class' => 'MODX\\Revolution\\modTemplate',
'local' => 'template',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'TemplateVars' =>
array (
'class' => 'MODX\\Revolution\\modTemplateVar',
'local' => 'id:template',
'foreign' => 'contentid:templateid',
'cardinality' => 'many',
'owner' => 'local',
),
'TemplateVarTemplates' =>
array (
'class' => 'MODX\\Revolution\\modTemplateVarTemplate',
'local' => 'template',
'foreign' => 'templateid',
'cardinality' => 'many',
'owner' => 'local',
),
'ContentType' =>
array (
'class' => 'MODX\\Revolution\\modContentType',
'local' => 'content_type',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
),
'Context' =>
array (
'class' => 'MODX\\Revolution\\modContext',
'local' => 'context_key',
'foreign' => 'key',
'owner' => 'foreign',
'cardinality' => 'one',
),
),
),
'MODX\\Revolution\\modContentType' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'content_type',
'extends' => 'xPDO\\Om\\xPDOSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'name' => NULL,
'description' => NULL,
'mime_type' => NULL,
'file_extensions' => NULL,
'icon' => NULL,
'headers' => NULL,
'binary' => 0,
),
'fieldMeta' =>
array (
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'index' => 'unique',
),
'description' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
'null' => true,
),
'mime_type' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
),
'file_extensions' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
),
'icon' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
'null' => true,
),
'headers' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'array',
),
'binary' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
),
),
'indexes' =>
array (
'name' =>
array (
'alias' => 'name',
'primary' => false,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'name' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'Resources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'content_type',
'owner' => 'local',
'cardinality' => 'many',
),
),
'validation' =>
array (
'rules' =>
array (
'name' =>
array (
'name' =>
array (
'type' => 'xPDOValidationRule',
'rule' => 'xPDO\\Validation\\xPDOMinLengthValidationRule',
'value' => '1',
'message' => 'content_type_err_ns_name',
),
),
),
),
),
'MODX\\Revolution\\modSnippet' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'site_snippets',
'extends' => 'MODX\\Revolution\\modScript',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'cache_type' => 0,
'snippet' => NULL,
'locked' => 0,
'properties' => NULL,
'moduleguid' => '',
'static' => 0,
'static_file' => '',
),
'fieldMeta' =>
array (
'cache_type' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'snippet' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'string',
),
'locked' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'properties' =>
array (
'dbtype' => 'text',
'phptype' => 'array',
'null' => true,
),
'moduleguid' =>
array (
'dbtype' => 'varchar',
'precision' => '32',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fk',
),
'static' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'static_file' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
),
'fieldAliases' =>
array (
'content' => 'snippet',
),
'indexes' =>
array (
'locked' =>
array (
'alias' => 'locked',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'locked' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'moduleguid' =>
array (
'alias' => 'moduleguid',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'moduleguid' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'static' =>
array (
'alias' => 'static',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'static' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'composites' =>
array (
'PropertySets' =>
array (
'class' => 'MODX\\Revolution\\modElementPropertySet',
'local' => 'id',
'foreign' => 'element',
'owner' => 'local',
'cardinality' => 'many',
'criteria' =>
array (
'foreign' =>
array (
'element_class' => 'MODX\\Revolution\\modSnippet',
),
),
),
),
'validation' =>
array (
'rules' =>
array (
'name' =>
array (
'invalid' =>
array (
'type' => 'preg_match',
'rule' => '/^(?!\\s)[a-zA-Z0-9\\x2d-\\x2f\\x7f-\\xff-_\\s]+(?<!\\s)$/',
'message' => 'snippet_err_invalid_name',
),
),
),
),
),
'MODX\\Revolution\\Sources\\modFileMediaSource' =>
array (
'package' => 'MODX\\Revolution\\Sources',
'version' => '3.0',
'extends' => 'MODX\\Revolution\\Sources\\modMediaSource',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
),
'fieldMeta' =>
array (
),
),
'MODX\\Revolution\\Sources\\modMediaSource' =>
array (
'package' => 'MODX\\Revolution\\Sources',
'version' => '3.0',
'table' => 'media_sources',
'extends' => 'MODX\\Revolution\\modAccessibleSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'name' => '',
'description' => NULL,
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' => NULL,
'is_stream' => 1,
),
'fieldMeta' =>
array (
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'index',
),
'description' =>
array (
'dbtype' => 'text',
'phptype' => 'string',
'null' => true,
),
'class_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'index' => 'index',
),
'properties' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'array',
'null' => true,
),
'is_stream' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 1,
'index' => 'index',
),
),
'indexes' =>
array (
'name' =>
array (
'alias' => 'name',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'name' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'class_key' =>
array (
'alias' => 'class_key',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'class_key' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'is_stream' =>
array (
'alias' => 'is_stream',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'is_stream' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'composites' =>
array (
'SourceElement' =>
array (
'class' => 'MODX\\Revolution\\Sources\\modMediaSourceElement',
'local' => 'id',
'foreign' => 'source',
'cardinality' => 'one',
'owner' => 'local',
),
),
'aggregates' =>
array (
'Chunks' =>
array (
'class' => 'MODX\\Revolution\\modChunk',
'local' => 'id',
'foreign' => 'source',
'cardinality' => 'many',
'owner' => 'local',
),
'Plugins' =>
array (
'class' => 'MODX\\Revolution\\modPlugin',
'local' => 'id',
'foreign' => 'source',
'cardinality' => 'many',
'owner' => 'local',
),
'Snippets' =>
array (
'class' => 'MODX\\Revolution\\modSnippet',
'local' => 'id',
'foreign' => 'source',
'cardinality' => 'many',
'owner' => 'local',
),
'Templates' =>
array (
'class' => 'MODX\\Revolution\\modTemplate',
'local' => 'id',
'foreign' => 'source',
'cardinality' => 'many',
'owner' => 'local',
),
'TemplateVars' =>
array (
'class' => 'MODX\\Revolution\\modTemplateVar',
'local' => 'id',
'foreign' => 'source',
'cardinality' => 'many',
'owner' => 'local',
),
),
),
'MODX\\Revolution\\modDeprecatedMethod' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'deprecated_method',
'extends' => 'xPDO\\Om\\xPDOSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'definition' => '',
'since' => '',
'recommendation' => '',
),
'fieldMeta' =>
array (
'definition' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'since' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'recommendation' =>
array (
'dbtype' => 'varchar',
'precision' => '1024',
'phptype' => 'string',
'null' => false,
'default' => '',
),
),
'indexes' =>
array (
'definition' =>
array (
'alias' => 'definition',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'definition' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'composites' =>
array (
'Callers' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedCall',
'local' => 'id',
'foreign' => 'method',
'cardinality' => 'many',
'owner' => 'local',
),
),
),
'MODX\\Revolution\\modDeprecatedCall' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'deprecated_call',
'extends' => 'xPDO\\Om\\xPDOSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'method' => 0,
'call_count' => 0,
'caller' => '',
'caller_file' => '',
'caller_line' => 0,
),
'fieldMeta' =>
array (
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'indexes' =>
array (
'method' =>
array (
'alias' => 'method',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'method' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'call_count' =>
array (
'alias' => 'call_count',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'call_count' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'caller' =>
array (
'alias' => 'caller',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'caller' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'caller_file' =>
array (
'alias' => 'caller_file',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'caller_file' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'caller_line' =>
array (
'alias' => 'caller_line',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'caller_line' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
'MODX\\Revolution\\modStaticResource' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'extends' => 'MODX\\Revolution\\modResource',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
),
'fieldMeta' =>
array (
),
),
'MODX\\Revolution\\modSymLink' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'extends' => 'MODX\\Revolution\\modResource',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
),
'fieldMeta' =>
array (
),
),
'MODX\\Revolution\\modWebLink' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'extends' => 'MODX\\Revolution\\modResource',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
),
'fieldMeta' =>
array (
),
),
'MODX\\Revolution\\modResourceGroupResource' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'document_groups',
'extends' => 'xPDO\\Om\\xPDOSimpleObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'document_group' => 0,
'document' => 0,
),
'fieldMeta' =>
array (
'document_group' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'document' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
),
'indexes' =>
array (
'document_group' =>
array (
'alias' => 'document_group',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'document_group' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'document' =>
array (
'alias' => 'document',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'document' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'ResourceGroup' =>
array (
'class' => 'MODX\\Revolution\\modResourceGroup',
'key' => 'id',
'local' => 'document_group',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'Resource' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'key' => 'id',
'local' => 'document',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
'MODX\\Revolution\\modChunk' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'site_htmlsnippets',
'extends' => 'MODX\\Revolution\\modElement',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'name' => '',
'description' => 'Chunk',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => NULL,
'locked' => 0,
'properties' => NULL,
'static' => 0,
'static_file' => '',
),
'fieldMeta' =>
array (
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '50',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'unique',
),
'description' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => 'Chunk',
),
'editor_type' =>
array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'category' =>
array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'fk',
),
'cache_type' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'snippet' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'string',
),
'locked' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'properties' =>
array (
'dbtype' => 'text',
'phptype' => 'array',
'null' => true,
),
'static' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'static_file' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
),
'fieldAliases' =>
array (
'content' => 'snippet',
),
'indexes' =>
array (
'name' =>
array (
'alias' => 'name',
'primary' => false,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'name' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'category' =>
array (
'alias' => 'category',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'category' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'locked' =>
array (
'alias' => 'locked',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'locked' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
'static' =>
array (
'alias' => 'static',
'primary' => false,
'unique' => false,
'type' => 'BTREE',
'columns' =>
array (
'static' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'composites' =>
array (
'PropertySets' =>
array (
'class' => 'MODX\\Revolution\\modElementPropertySet',
'local' => 'id',
'foreign' => 'element',
'owner' => 'local',
'cardinality' => 'many',
'criteria' =>
array (
'foreign' =>
array (
'element_class' => 'MODX\\Revolution\\modChunk',
),
),
),
),
'aggregates' =>
array (
'Category' =>
array (
'class' => 'MODX\\Revolution\\modCategory',
'key' => 'id',
'local' => 'category',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'validation' =>
array (
'rules' =>
array (
'name' =>
array (
'invalid' =>
array (
'type' => 'preg_match',
'rule' => '/^(?!\\s)[a-zA-Z0-9\\x2d-\\x2f\\x7f-\\xff-_\\s]+(?<!\\s)$/',
'message' => 'chunk_err_invalid_name',
),
),
),
),
),
'MODX\\Revolution\\modCategoryClosure' =>
array (
'package' => 'MODX\\Revolution\\',
'version' => '3.0',
'table' => 'categories_closure',
'extends' => 'xPDO\\Om\\xPDOObject',
'tableMeta' =>
array (
'engine' => 'InnoDB',
),
'fields' =>
array (
'ancestor' => 0,
'descendant' => 0,
'depth' => 0,
),
'fieldMeta' =>
array (
'ancestor' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'attributes' => 'unsigned',
'null' => false,
'default' => 0,
'index' => 'pk',
),
'descendant' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'attributes' => 'unsigned',
'null' => false,
'default' => 0,
'index' => 'pk',
),
'depth' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'attributes' => 'unsigned',
'null' => false,
'default' => 0,
),
),
'indexes' =>
array (
'PRIMARY' =>
array (
'alias' => 'PRIMARY',
'primary' => true,
'unique' => true,
'type' => 'BTREE',
'columns' =>
array (
'ancestor' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
'descendant' =>
array (
'length' => '',
'collation' => 'A',
'null' => false,
),
),
),
),
'aggregates' =>
array (
'Ancestor' =>
array (
'class' => 'MODX\\Revolution\\modCategory',
'local' => 'ancestor',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'Descendant' =>
array (
'class' => 'MODX\\Revolution\\modCategory',
'local' => 'descendant',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
),
),
'xpdo' => NULL,
)),
'package' => 'MODX\\Revolution',
'packages' =>
array (
'Om' =>
array (
'path' => '/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/',
'prefix' => 'modx_',
),
'MODX\\Revolution' =>
array (
'path' => '/home4/silksto1/public_html/core/src/',
'prefix' => 'modx_',
),
'MODX\\Revolution\\Registry\\Db' =>
array (
'path' => '/home4/silksto1/public_html/core/src/',
'prefix' => 'modx_',
),
'MODX\\Revolution\\Sources' =>
array (
'path' => '/home4/silksto1/public_html/core/src/',
'prefix' => 'modx_',
),
'MODX\\Revolution\\Transport' =>
array (
'path' => '/home4/silksto1/public_html/core/src/',
'prefix' => 'modx_',
),
),
'manager' => NULL,
'cacheManager' =>
\MODX\Revolution\modCacheManager::__set_state(array(
'xpdo' => NULL,
'caches' =>
array (
'system_settings' =>
\xPDO\Cache\xPDOFileCache::__set_state(array(
'xpdo' => NULL,
'options' =>
array (
'cache_key' => 'system_settings',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_format' => 0,
),
'key' => 'system_settings',
'initialized' => true,
)),
'namespaces' =>
\xPDO\Cache\xPDOFileCache::__set_state(array(
'xpdo' => NULL,
'options' =>
array (
'cache_key' => 'namespaces',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_format' => 0,
),
'key' => 'namespaces',
'initialized' => true,
)),
'context_settings' =>
\xPDO\Cache\xPDOFileCache::__set_state(array(
'xpdo' => NULL,
'options' =>
array (
'cache_key' => 'context_settings',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_format' => 0,
),
'key' => 'context_settings',
'initialized' => true,
)),
'auto_publish' =>
\xPDO\Cache\xPDOFileCache::__set_state(array(
'xpdo' => NULL,
'options' =>
array (
'cache_key' => 'auto_publish',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
),
'key' => 'auto_publish',
'initialized' => true,
)),
'resource' =>
\xPDO\Cache\xPDOFileCache::__set_state(array(
'xpdo' => NULL,
'options' =>
array (
'cache_key' => 'resource',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_format' => 0,
),
'key' => 'resource',
'initialized' => true,
)),
'lexicon_topics' =>
\xPDO\Cache\xPDOFileCache::__set_state(array(
'xpdo' => NULL,
'options' =>
array (
'cache_key' => 'lexicon_topics',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_format' => 0,
),
'key' => 'lexicon_topics',
'initialized' => true,
)),
),
'options' =>
array (
),
'_umask' => 18,
'modx' => NULL,
)),
'cachePath' => '/home4/silksto1/public_html/core/cache/',
'services' =>
\MODX\Revolution\Services\Container::__set_state(array(
'values' =>
array (
'config' =>
array (
'cache_key' => 'default',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_path' => '/home4/silksto1/public_html/core/cache/',
'table_prefix' => 'modx_',
'hydrate_fields' => true,
'hydrate_related_objects' => true,
'hydrate_adhoc_fields' => true,
'validator_class' => 'MODX\\Revolution\\Validation\\modValidator',
'validate_on_save' => true,
'cache_system_settings' => true,
'cache_system_settings_key' => 'system_settings',
'load_deprecated_global_class_aliases' => true,
'connections' =>
array (
0 =>
array (
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'username' => 'silksto1_ss_user',
'password' => '!Kx9TV5Gbwyp',
'options' =>
array (
'connection_mutable' => true,
),
'driverOptions' =>
array (
3 => 0,
),
),
),
),
'session_handler' =>
\MODX\Revolution\modSessionHandler::__set_state(array(
'modx' => NULL,
'gcMaxLifetime' => 604800,
'cacheLifetime' => false,
'session' =>
\MODX\Revolution\mysql\modSession::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modSession',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'MODX\\Revolution\\modSession',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_session`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => '3af911608e78cdac2b506c129e962773',
'access' => 1776895260,
'data' => 'modx.user.0.resourceGroups|a:1:{s:2:"zh";a:0:{}}modx.user.0.attributes|a:1:{s:2:"zh";a:5:{s:32:"MODX\\Revolution\\modAccessContext";a:3:{s:2:"en";a:1:{i:0;a:3:{s:9:"principal";i:0;s:9:"authority";i:0;s:6:"policy";a:1:{s:4:"load";b:1;}}}s:3:"web";a:1:{i:0;a:3:{s:9:"principal";i:0;s:9:"authority";i:0;s:6:"policy";a:1:{s:4:"load";b:1;}}}s:2:"zh";a:1:{i:0;a:3:{s:9:"principal";i:0;s:9:"authority";i:0;s:6:"policy";a:1:{s:4:"load";b:1;}}}}s:38:"MODX\\Revolution\\modAccessResourceGroup";a:0:{}s:33:"MODX\\Revolution\\modAccessCategory";a:0:{}s:44:"MODX\\Revolution\\Sources\\modAccessMediaSource";a:0:{}s:34:"MODX\\Revolution\\modAccessNamespace";a:0:{}}}csrf_token|s:64:"82b06f16f91d0d2e8c7069e5311df3011e675e028418b3889e269ff8459e7221";modx.user.contextTokens|a:0:{}',
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'index' => 'pk',
'default' => '',
),
'access' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'attributes' => 'unsigned',
),
'data' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'string',
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
),
'_validator' =>
\MODX\Revolution\Validation\modValidator::__set_state(array(
'object' => NULL,
'results' =>
array (
'id' => true,
),
'messages' =>
array (
),
)),
'_validationRules' =>
array (
'id' =>
array (
'invalid' =>
array (
'type' => 'preg_match',
'rule' => '/^[0-9a-zA-Z,-]{22,191}$/',
'parameters' =>
array (
'message' => 'session_err_invalid_id',
),
),
),
),
'_validated' =>
array (
),
'_validationLoaded' => true,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
)),
'errorHandler' =>
\MODX\Revolution\Error\modErrorHandler::__set_state(array(
'modx' => NULL,
'stack' =>
array (
),
)),
'Psr\\Http\\Client\\ClientInterface' =>
\Closure::__set_state(array(
)),
'Psr\\Http\\Message\\ServerRequestFactoryInterface' =>
\Closure::__set_state(array(
)),
'Psr\\Http\\Message\\RequestFactoryInterface' =>
\Closure::__set_state(array(
)),
'Psr\\Http\\Message\\ResponseFactoryInterface' =>
\Closure::__set_state(array(
)),
'Psr\\Http\\Message\\StreamFactoryInterface' =>
\Closure::__set_state(array(
)),
'Psr\\Http\\Message\\UploadedFileFactoryInterface' =>
\Closure::__set_state(array(
)),
'Psr\\Http\\Message\\UriFactoryInterface' =>
\Closure::__set_state(array(
)),
'lexicon' =>
\MODX\Revolution\modLexicon::__set_state(array(
'modx' => NULL,
'config' =>
array (
),
'_lexicon' =>
array (
'zh' =>
array (
'breadcrumb_snippet_from_desc' => 'Resource ID of the first crumb.',
'breadcrumb_snippet_to_desc' => 'Resource ID of the last crumb.',
'breadcrumb_snippet_maxcrumbs_desc' => 'Max crumbs shown in breadcrumb',
'breadcrumb_snippet_showhidden_desc' => 'Show hidden resources in breadcrumb.',
'breadcrumb_snippet_showcontainer_desc' => 'Show container resources in breadcrumb.',
'breadcrumb_snippet_showunpub_desc' => 'Show unpublished resources in breadcrumb.',
'breadcrumb_snippet_showcurrentcrumb_desc' => 'Show current resource as a crumb.',
'breadcrumb_snippet_showbreadcrumbatHome_desc' => 'Show BreadCrumb on the home page.',
'breadcrumb_snippet_showhomecrumb_desc' => 'Show the home page as a crumb.',
'breadcrumb_snippet_useweblinkurl_desc' => 'Use the weblink url instead of the url to the weblink.',
'breadcrumb_snippet_direction_desc' => 'Direction or breadcrumb : Left To Right (ltr) or Right To Left (rtl) for Arabic language for example.',
'breadcrumb_snippet_scheme_desc' => 'URL Generation Scheme.',
'breadcrumb_snippet_containertpl_desc' => 'Container template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_homecrumbtpl_desc' => 'Home crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_currentcrumbtpl_desc' => 'Current crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_linkcrumbtpl_desc' => 'Default crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_categorycrumbtpl_desc' => 'Default category crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_maxcrumbtpl_desc' => 'Max delimiter crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
),
'en' =>
array (
'breadcrumb_snippet_from_desc' => 'Resource ID of the first crumb.',
'breadcrumb_snippet_to_desc' => 'Resource ID of the last crumb.',
'breadcrumb_snippet_maxcrumbs_desc' => 'Max crumbs shown in breadcrumb',
'breadcrumb_snippet_showhidden_desc' => 'Show hidden resources in breadcrumb.',
'breadcrumb_snippet_showcontainer_desc' => 'Show container resources in breadcrumb.',
'breadcrumb_snippet_showunpub_desc' => 'Show unpublished resources in breadcrumb.',
'breadcrumb_snippet_showcurrentcrumb_desc' => 'Show current resource as a crumb.',
'breadcrumb_snippet_showbreadcrumbatHome_desc' => 'Show BreadCrumb on the home page.',
'breadcrumb_snippet_showhomecrumb_desc' => 'Show the home page as a crumb.',
'breadcrumb_snippet_useweblinkurl_desc' => 'Use the weblink url instead of the url to the weblink.',
'breadcrumb_snippet_direction_desc' => 'Direction or breadcrumb : Left To Right (ltr) or Right To Left (rtl) for Arabic language for example.',
'breadcrumb_snippet_scheme_desc' => 'URL Generation Scheme.',
'breadcrumb_snippet_containertpl_desc' => 'Container template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_homecrumbtpl_desc' => 'Home crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_currentcrumbtpl_desc' => 'Current crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_linkcrumbtpl_desc' => 'Default crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_categorycrumbtpl_desc' => 'Default category crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_maxcrumbtpl_desc' => 'Max delimiter crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
),
),
'_paths' =>
array (
'core' => '/home4/silksto1/public_html/core/cache/lexicon/',
),
'_loadedTopics' =>
array (
0 => 'en:breadcrumb:properties',
1 => 'breadcrumb:properties',
),
)),
'registry' =>
\MODX\Revolution\Registry\modRegistry::__set_state(array(
'modx' => NULL,
'_options' =>
array (
),
'_invalidKeys' =>
array (
0 => 'modx',
),
'_registers' =>
array (
),
'_loggingRegister' => NULL,
'_prevLogTarget' => NULL,
'_prevLogLevel' => NULL,
)),
'MODX\\Revolution\\Formatter\\modManagerDateFormatter' =>
\Closure::__set_state(array(
)),
'parser' =>
\MODX\Revolution\modParser::__set_state(array(
'modx' => NULL,
'_processingTag' => false,
'_processingElement' => false,
'_processingUncacheable' => false,
'_removingUnprocessed' => false,
'_startedProcessingUncacheable' => true,
)),
),
'factories' =>
\SplObjectStorage::__set_state(array(
)),
'protected' =>
\SplObjectStorage::__set_state(array(
)),
'frozen' =>
array (
),
'raw' =>
array (
),
'keys' =>
array (
'config' => true,
'session_handler' => true,
'errorHandler' => true,
'Psr\\Http\\Client\\ClientInterface' => true,
'Psr\\Http\\Message\\ServerRequestFactoryInterface' => true,
'Psr\\Http\\Message\\RequestFactoryInterface' => true,
'Psr\\Http\\Message\\ResponseFactoryInterface' => true,
'Psr\\Http\\Message\\StreamFactoryInterface' => true,
'Psr\\Http\\Message\\UploadedFileFactoryInterface' => true,
'Psr\\Http\\Message\\UriFactoryInterface' => true,
'lexicon' => true,
'registry' => true,
'MODX\\Revolution\\Formatter\\modManagerDateFormatter' => true,
'parser' => true,
),
)),
'startTime' => 1776895260.521421909332275390625,
'executedQueries' => 17,
'queryTime' => 0.0012800693511962890625,
'classMap' =>
array (
'xPDO\\Om\\xPDOObject' =>
array (
0 => 'xPDO\\Om\\xPDOSimpleObject',
1 => 'MODX\\Revolution\\modAccessibleObject',
2 => 'MODX\\Revolution\\modActiveUser',
3 => 'MODX\\Revolution\\modCategoryClosure',
4 => 'MODX\\Revolution\\modContextSetting',
5 => 'MODX\\Revolution\\modContextResource',
6 => 'MODX\\Revolution\\modDashboardWidgetPlacement',
7 => 'MODX\\Revolution\\modElementPropertySet',
8 => 'MODX\\Revolution\\modEvent',
9 => 'MODX\\Revolution\\modFormCustomizationProfileUserGroup',
10 => 'MODX\\Revolution\\modPluginEvent',
11 => 'MODX\\Revolution\\modSession',
12 => 'MODX\\Revolution\\modSystemSetting',
13 => 'MODX\\Revolution\\modTemplateVarTemplate',
14 => 'MODX\\Revolution\\modUserGroupSetting',
15 => 'MODX\\Revolution\\modUserSetting',
16 => 'MODX\\Revolution\\Registry\\Db\\modDbRegisterMessage',
17 => 'MODX\\Revolution\\Sources\\modMediaSourceContext',
18 => 'MODX\\Revolution\\Sources\\modMediaSourceElement',
19 => 'MODX\\Revolution\\Transport\\modTransportPackage',
),
'xPDO\\Om\\xPDOSimpleObject' =>
array (
0 => 'MODX\\Revolution\\modAccess',
1 => 'MODX\\Revolution\\modAccessPolicy',
2 => 'MODX\\Revolution\\modAccessPolicyTemplate',
3 => 'MODX\\Revolution\\modAccessPolicyTemplateGroup',
4 => 'MODX\\Revolution\\modAccessPermission',
5 => 'MODX\\Revolution\\modActionField',
6 => 'MODX\\Revolution\\modContentType',
7 => 'MODX\\Revolution\\modDashboard',
8 => 'MODX\\Revolution\\modDashboardWidget',
9 => 'MODX\\Revolution\\modFormCustomizationProfile',
10 => 'MODX\\Revolution\\modFormCustomizationSet',
11 => 'MODX\\Revolution\\modLexiconEntry',
12 => 'MODX\\Revolution\\modManagerLog',
13 => 'MODX\\Revolution\\modExtensionPackage',
14 => 'MODX\\Revolution\\modPrincipal',
15 => 'MODX\\Revolution\\modPropertySet',
16 => 'MODX\\Revolution\\modResourceGroupResource',
17 => 'MODX\\Revolution\\modTemplateVarResource',
18 => 'MODX\\Revolution\\modTemplateVarResourceGroup',
19 => 'MODX\\Revolution\\modUserGroupMember',
20 => 'MODX\\Revolution\\modUserGroupRole',
21 => 'MODX\\Revolution\\modUserMessage',
22 => 'MODX\\Revolution\\modUserProfile',
23 => 'MODX\\Revolution\\modWorkspace',
24 => 'MODX\\Revolution\\modDeprecatedMethod',
25 => 'MODX\\Revolution\\modDeprecatedCall',
26 => 'MODX\\Revolution\\Registry\\Db\\modDbRegisterQueue',
27 => 'MODX\\Revolution\\Registry\\Db\\modDbRegisterTopic',
28 => 'MODX\\Revolution\\Transport\\modTransportProvider',
),
'MODX\\Revolution\\modAccess' =>
array (
0 => 'MODX\\Revolution\\modAccessActionDom',
1 => 'MODX\\Revolution\\modAccessCategory',
2 => 'MODX\\Revolution\\modAccessNamespace',
3 => 'MODX\\Revolution\\modAccessContext',
4 => 'MODX\\Revolution\\modAccessElement',
5 => 'MODX\\Revolution\\modAccessMenu',
6 => 'MODX\\Revolution\\modAccessResource',
7 => 'MODX\\Revolution\\modAccessResourceGroup',
8 => 'MODX\\Revolution\\Sources\\modAccessMediaSource',
),
'MODX\\Revolution\\modAccessElement' =>
array (
0 => 'MODX\\Revolution\\modAccessTemplateVar',
),
'MODX\\Revolution\\modAccessibleObject' =>
array (
0 => 'MODX\\Revolution\\modAccessibleSimpleObject',
1 => 'MODX\\Revolution\\modContext',
2 => 'MODX\\Revolution\\modMenu',
3 => 'MODX\\Revolution\\modNamespace',
),
'MODX\\Revolution\\modAccessibleSimpleObject' =>
array (
0 => 'MODX\\Revolution\\modActionDom',
1 => 'MODX\\Revolution\\modCategory',
2 => 'MODX\\Revolution\\modElement',
3 => 'MODX\\Revolution\\modResource',
4 => 'MODX\\Revolution\\modResourceGroup',
5 => 'MODX\\Revolution\\Sources\\modMediaSource',
),
'MODX\\Revolution\\modElement' =>
array (
0 => 'MODX\\Revolution\\modChunk',
1 => 'MODX\\Revolution\\modScript',
2 => 'MODX\\Revolution\\modTemplate',
3 => 'MODX\\Revolution\\modTemplateVar',
),
'MODX\\Revolution\\modResource' =>
array (
0 => 'MODX\\Revolution\\modDocument',
1 => 'MODX\\Revolution\\modStaticResource',
2 => 'MODX\\Revolution\\modSymLink',
3 => 'MODX\\Revolution\\modWebLink',
),
'MODX\\Revolution\\modScript' =>
array (
0 => 'MODX\\Revolution\\modPlugin',
1 => 'MODX\\Revolution\\modSnippet',
),
'MODX\\Revolution\\modPrincipal' =>
array (
0 => 'MODX\\Revolution\\modUser',
1 => 'MODX\\Revolution\\modUserGroup',
),
'MODX\\Revolution\\Sources\\modMediaSource' =>
array (
0 => 'MODX\\Revolution\\Sources\\modFileMediaSource',
1 => 'MODX\\Revolution\\Sources\\modS3MediaSource',
2 => 'MODX\\Revolution\\Sources\\modFTPMediaSource',
),
),
'connection' =>
\xPDO\xPDOConnection::__set_state(array(
'xpdo' => NULL,
'config' =>
array (
'cache_key' => 'default',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_path' => '/home4/silksto1/public_html/core/cache/',
'table_prefix' => 'modx_',
'hydrate_fields' => true,
'hydrate_related_objects' => true,
'hydrate_adhoc_fields' => true,
'validator_class' => 'MODX\\Revolution\\Validation\\modValidator',
'validate_on_save' => true,
'cache_system_settings' => true,
'cache_system_settings_key' => 'system_settings',
'load_deprecated_global_class_aliases' => true,
'connections' =>
array (
0 =>
array (
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'username' => 'silksto1_ss_user',
'password' => '!Kx9TV5Gbwyp',
'options' =>
array (
'connection_mutable' => true,
),
'driverOptions' =>
array (
3 => 0,
),
),
),
'connection_mutable' => true,
'dbtype' => 'mysql',
'host' => 'localhost',
'dbname' => 'silksto1_silkstory',
'charset' => 'utf8',
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'username' => 'silksto1_ss_user',
'password' => '!Kx9TV5Gbwyp',
'driverOptions' =>
array (
3 => 0,
),
),
'pdo' =>
\PDO::__set_state(array(
)),
'_mutable' => true,
)),
'_connections' =>
array (
0 =>
\xPDO\xPDOConnection::__set_state(array(
'xpdo' => NULL,
'config' =>
array (
'cache_key' => 'default',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_path' => '/home4/silksto1/public_html/core/cache/',
'table_prefix' => 'modx_',
'hydrate_fields' => true,
'hydrate_related_objects' => true,
'hydrate_adhoc_fields' => true,
'validator_class' => 'MODX\\Revolution\\Validation\\modValidator',
'validate_on_save' => true,
'cache_system_settings' => true,
'cache_system_settings_key' => 'system_settings',
'load_deprecated_global_class_aliases' => true,
'connections' =>
array (
0 =>
array (
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'username' => 'silksto1_ss_user',
'password' => '!Kx9TV5Gbwyp',
'options' =>
array (
'connection_mutable' => true,
),
'driverOptions' =>
array (
3 => 0,
),
),
),
'connection_mutable' => true,
'dbtype' => 'mysql',
'host' => 'localhost',
'dbname' => 'silksto1_silkstory',
'charset' => 'utf8',
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'username' => 'silksto1_ss_user',
'password' => '!Kx9TV5Gbwyp',
'driverOptions' =>
array (
3 => 0,
),
),
'pdo' =>
\PDO::__set_state(array(
)),
'_mutable' => true,
)),
),
'logLevel' => 1,
'logTarget' =>
array (
'target' => 'FILE',
'options' =>
array (
'filename' => 'error.log',
),
),
'_debug' => false,
'_cacheEnabled' => true,
'_escapeCharOpen' => '`',
'_escapeCharClose' => '`',
'_quoteChar' => '\'',
'context' =>
\MODX\Revolution\mysql\modContext::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modContext',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'MODX\\Revolution\\modContext',
'_pk' => NULL,
'_pktype' => NULL,
'_table' => '`modx_context`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'key' => 'key',
'name' => 'name',
'description' => 'description',
'rank' => 'rank',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'key' => 'zh',
'name' => NULL,
'description' => NULL,
'rank' => 0,
),
'_fieldMeta' =>
array (
'key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'index' => 'pk',
),
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'index' => 'index',
),
'description' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
),
'rank' =>
array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
),
'_composites' =>
array (
'ContextResources' =>
array (
'class' => 'MODX\\Revolution\\modContextResource',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'ContextSettings' =>
array (
'class' => 'MODX\\Revolution\\modContextSetting',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'SourceElements' =>
array (
'class' => 'MODX\\Revolution\\Sources\\modMediaSourceElement',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'Acls' =>
array (
'class' => 'MODX\\Revolution\\modAccessContext',
'local' => 'key',
'foreign' => 'target',
'owner' => 'local',
'cardinality' => 'many',
),
),
'_relatedObjects' =>
array (
'ContextResources' =>
array (
),
'ContextSettings' =>
array (
),
'SourceElements' =>
array (
),
'Acls' =>
array (
),
),
'_validator' =>
\MODX\Revolution\Validation\modValidator::__set_state(array(
'object' => NULL,
'results' =>
array (
'key' => true,
),
'messages' =>
array (
),
)),
'_validationRules' =>
array (
'key' =>
array (
'key' =>
array (
'type' => 'preg_match',
'rule' => '/^[a-zA-Z\\x7f-\\xff][a-zA-Z0-9\\x2d-\\x2f\\x7f-\\xff]*$/',
'parameters' =>
array (
'message' => 'context_err_ns_key',
),
),
),
),
'_validated' =>
array (
'key' => 'key',
),
'_validationLoaded' => true,
'_new' => true,
'_cacheFlag' => true,
'_options' =>
array (
),
'_policies' =>
array (
'MODX\\Revolution\\modAccessContext' =>
array (
'zh' =>
array (
0 =>
array (
'principal' => 0,
'authority' => 9999,
'policy' =>
array (
'load' => true,
),
),
1 =>
array (
'principal' => 1,
'authority' => 9999,
'policy' =>
array (
'load' => true,
'list' => true,
'view' => true,
'save' => true,
'remove' => true,
'copy' => true,
'view_unpublished' => true,
),
),
),
),
'zh' =>
array (
'MODX\\Revolution\\modAccessContext' =>
array (
'zh' =>
array (
0 =>
array (
'principal' => 0,
'authority' => 9999,
'policy' =>
array (
'load' => true,
),
),
1 =>
array (
'principal' => 1,
'authority' => 9999,
'policy' =>
array (
'load' => true,
'list' => true,
'view' => true,
'save' => true,
'remove' => true,
'copy' => true,
'view_unpublished' => true,
),
),
),
),
),
),
'config' =>
array (
'base_url' => '/zh/',
'cultureKey' => 'zh',
'site_start' => '10',
'site_url' => 'https://www.silkstory.net/zh/',
),
'aliasMap' =>
array (
'home' => 10,
'bushou' => 11,
'ziyuan' => 12,
'story-of-chinese-character' => 14,
'radical-info' => 15,
'all-characters' => 16,
),
'resourceMap' =>
array (
0 =>
array (
0 => 10,
1 => 11,
2 => 12,
3 => 14,
4 => 15,
5 => 16,
),
),
'webLinkMap' =>
array (
),
'eventMap' =>
array (
'OnContextRemove' =>
array (
1 => '1',
),
'OnContextSave' =>
array (
1 => '1',
),
'OnDocFormPrerender' =>
array (
1 => '1',
),
'OnDocFormSave' =>
array (
1 => '1',
),
'OnEmptyTrash' =>
array (
1 => '1',
),
'OnHandleRequest' =>
array (
2 => '2',
),
'OnResourceDuplicate' =>
array (
1 => '1',
),
'OnResourceSort' =>
array (
1 => '1',
),
'OnSiteRefresh' =>
array (
1 => '1',
),
),
'pluginCache' =>
array (
1 =>
array (
'id' => 1,
'source' => 0,
'property_preprocess' => 0,
'name' => 'Babel',
'description' => 'Links and synchronizes multilingual resources.',
'editor_type' => 0,
'category' => 1,
'cache_type' => 0,
'plugincode' => '/**
* Babel Plugin
*
* @package babel
* @subpackage plugin
*
* @var modX $modx
* @var array $scriptProperties
*/
$className = \'mikrobi\\Babel\\Plugins\\Events\\\\\' . $modx->event->name;
$corePath = $modx->getOption(\'babel.core_path\', null, $modx->getOption(\'core_path\') . \'components/babel/\');
/** @var Babel $babel */
$babel = $modx->getService(\'babel\', Babel::class, $corePath . \'model/babel/\', [
\'core_path\' => $corePath
]);
if ($babel) {
if (class_exists($className)) {
$handler = new $className($modx, $scriptProperties);
if (get_class($handler) == $className) {
$handler->run();
} else {
$modx->log(xPDO::LOG_LEVEL_ERROR, $className . \' could not be initialized!\', \'\', \'Babel Plugin\');
}
} else {
$modx->log(xPDO::LOG_LEVEL_ERROR, $className . \' was not found!\', \'\', \'Babel Plugin\');
}
}
return;',
'locked' => 0,
'properties' => 'a:0:{}',
'disabled' => 0,
'moduleguid' => '',
'static' => 0,
'static_file' => '',
),
2 =>
array (
'id' => 2,
'source' => 1,
'property_preprocess' => 0,
'name' => 'gatewaySwitch',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'plugincode' => 'if ($modx->context->get(\'key\') != "mgr") {
switch ($_REQUEST[\'cultureKey\']) {
case \'en\':
$modx->switchContext(\'en\');
break;
case \'zh\':
$modx->switchContext(\'zh\');
break;
default:
$modx->switchContext(\'web\');
break;
}
unset($_GET[\'cultureKey\']);
}',
'locked' => 0,
'properties' => 'a:0:{}',
'disabled' => 0,
'moduleguid' => '',
'static' => 0,
'static_file' => '',
),
),
'_cacheKey' => 'zh/context',
)),
'contexts' =>
array (
'web' =>
\MODX\Revolution\mysql\modContext::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modContext',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'MODX\\Revolution\\modContext',
'_pk' => NULL,
'_pktype' => NULL,
'_table' => '`modx_context`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'key' => 'key',
'name' => 'name',
'description' => 'description',
'rank' => 'rank',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'key' => 'web',
'name' => NULL,
'description' => NULL,
'rank' => 0,
),
'_fieldMeta' =>
array (
'key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'index' => 'pk',
),
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'index' => 'index',
),
'description' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
),
'rank' =>
array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
),
'_composites' =>
array (
'ContextResources' =>
array (
'class' => 'MODX\\Revolution\\modContextResource',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'ContextSettings' =>
array (
'class' => 'MODX\\Revolution\\modContextSetting',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'SourceElements' =>
array (
'class' => 'MODX\\Revolution\\Sources\\modMediaSourceElement',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'Acls' =>
array (
'class' => 'MODX\\Revolution\\modAccessContext',
'local' => 'key',
'foreign' => 'target',
'owner' => 'local',
'cardinality' => 'many',
),
),
'_relatedObjects' =>
array (
'ContextResources' =>
array (
),
'ContextSettings' =>
array (
),
'SourceElements' =>
array (
),
'Acls' =>
array (
),
),
'_validator' =>
\MODX\Revolution\Validation\modValidator::__set_state(array(
'object' => NULL,
'results' =>
array (
'key' => true,
),
'messages' =>
array (
),
)),
'_validationRules' =>
array (
'key' =>
array (
'key' =>
array (
'type' => 'preg_match',
'rule' => '/^[a-zA-Z\\x7f-\\xff][a-zA-Z0-9\\x2d-\\x2f\\x7f-\\xff]*$/',
'parameters' =>
array (
'message' => 'context_err_ns_key',
),
),
),
),
'_validated' =>
array (
'key' => 'key',
),
'_validationLoaded' => true,
'_new' => true,
'_cacheFlag' => true,
'_options' =>
array (
),
'_policies' =>
array (
'MODX\\Revolution\\modAccessContext' =>
array (
'web' =>
array (
0 =>
array (
'principal' => 0,
'authority' => 9999,
'policy' =>
array (
'load' => true,
),
),
1 =>
array (
'principal' => 1,
'authority' => 0,
'policy' =>
array (
'about' => true,
'access_permissions' => true,
'actions' => true,
'change_password' => true,
'change_profile' => true,
'charsets' => true,
'class_map' => true,
'components' => true,
'content_types' => true,
'countries' => true,
'create' => true,
'credits' => true,
'customize_forms' => true,
'dashboards' => true,
'database' => true,
'database_truncate' => true,
'delete_category' => true,
'delete_chunk' => true,
'delete_context' => true,
'delete_document' => true,
'delete_eventlog' => true,
'delete_plugin' => true,
'delete_propertyset' => true,
'delete_role' => true,
'delete_snippet' => true,
'delete_static_resource' => true,
'delete_symlink' => true,
'delete_template' => true,
'delete_tv' => true,
'delete_user' => true,
'delete_weblink' => true,
'directory_chmod' => true,
'directory_create' => true,
'directory_list' => true,
'directory_remove' => true,
'directory_update' => true,
'edit_category' => true,
'edit_chunk' => true,
'edit_context' => true,
'edit_document' => true,
'edit_locked' => true,
'edit_plugin' => true,
'edit_propertyset' => true,
'edit_role' => true,
'edit_snippet' => true,
'edit_static_resource' => true,
'edit_symlink' => true,
'edit_template' => true,
'edit_tv' => true,
'edit_user' => true,
'edit_weblink' => true,
'element_tree' => true,
'empty_cache' => true,
'error_log_erase' => true,
'error_log_view' => true,
'events' => true,
'export_static' => true,
'file_create' => true,
'file_list' => true,
'file_manager' => true,
'file_remove' => true,
'file_tree' => true,
'file_unpack' => true,
'file_update' => true,
'file_upload' => true,
'file_view' => true,
'flush_sessions' => true,
'frames' => true,
'help' => true,
'home' => true,
'language' => true,
'languages' => true,
'lexicons' => true,
'list' => true,
'load' => true,
'logout' => true,
'mgr_log_view' => true,
'mgr_log_erase' => true,
'menu_reports' => true,
'menu_security' => true,
'menu_site' => true,
'menu_support' => true,
'menu_system' => true,
'menu_tools' => true,
'menu_trash' => true,
'menu_user' => true,
'menus' => true,
'messages' => true,
'namespaces' => true,
'new_category' => true,
'new_chunk' => true,
'new_context' => true,
'new_document' => true,
'new_document_in_root' => true,
'new_plugin' => true,
'new_propertyset' => true,
'new_role' => true,
'new_snippet' => true,
'new_static_resource' => true,
'new_symlink' => true,
'new_template' => true,
'new_tv' => true,
'new_user' => true,
'new_weblink' => true,
'packages' => true,
'policy_delete' => true,
'policy_edit' => true,
'policy_new' => true,
'policy_save' => true,
'policy_template_delete' => true,
'policy_template_edit' => true,
'policy_template_new' => true,
'policy_template_save' => true,
'policy_template_view' => true,
'policy_view' => true,
'property_sets' => true,
'providers' => true,
'publish_document' => true,
'purge_deleted' => true,
'remove' => true,
'remove_locks' => true,
'resource_duplicate' => true,
'resource_quick_create' => true,
'resource_quick_update' => true,
'resource_tree' => true,
'resourcegroup_delete' => true,
'resourcegroup_edit' => true,
'resourcegroup_new' => true,
'resourcegroup_resource_edit' => true,
'resourcegroup_resource_list' => true,
'resourcegroup_save' => true,
'resourcegroup_view' => true,
'save' => true,
'save_category' => true,
'save_chunk' => true,
'save_context' => true,
'save_document' => true,
'save_plugin' => true,
'save_propertyset' => true,
'save_role' => true,
'save_snippet' => true,
'save_template' => true,
'save_tv' => true,
'save_user' => true,
'search' => true,
'set_sudo' => true,
'settings' => true,
'source_delete' => true,
'source_edit' => true,
'source_save' => true,
'source_view' => true,
'sources' => true,
'steal_locks' => true,
'tree_show_element_ids' => true,
'tree_show_resource_ids' => true,
'undelete_document' => true,
'unlock_element_properties' => true,
'unpublish_document' => true,
'usergroup_delete' => true,
'usergroup_edit' => true,
'usergroup_new' => true,
'usergroup_save' => true,
'usergroup_user_edit' => true,
'usergroup_user_list' => true,
'usergroup_view' => true,
'view' => true,
'view_category' => true,
'view_chunk' => true,
'view_context' => true,
'view_document' => true,
'view_element' => true,
'view_eventlog' => true,
'view_offline' => true,
'view_plugin' => true,
'view_propertyset' => true,
'view_role' => true,
'view_snippet' => true,
'view_sysinfo' => true,
'view_template' => true,
'view_tv' => true,
'view_unpublished' => true,
'view_user' => true,
'workspaces' => true,
),
),
),
),
),
'config' =>
array (
),
'aliasMap' =>
array (
'index' => 1,
),
'resourceMap' =>
array (
0 =>
array (
0 => 1,
),
),
'webLinkMap' =>
array (
),
'eventMap' =>
array (
'OnContextRemove' =>
array (
1 => '1',
),
'OnContextSave' =>
array (
1 => '1',
),
'OnDocFormPrerender' =>
array (
1 => '1',
),
'OnDocFormSave' =>
array (
1 => '1',
),
'OnEmptyTrash' =>
array (
1 => '1',
),
'OnHandleRequest' =>
array (
2 => '2',
),
'OnResourceDuplicate' =>
array (
1 => '1',
),
'OnResourceSort' =>
array (
1 => '1',
),
'OnSiteRefresh' =>
array (
1 => '1',
),
),
'pluginCache' =>
array (
1 =>
array (
'id' => 1,
'source' => 0,
'property_preprocess' => 0,
'name' => 'Babel',
'description' => 'Links and synchronizes multilingual resources.',
'editor_type' => 0,
'category' => 1,
'cache_type' => 0,
'plugincode' => '/**
* Babel Plugin
*
* @package babel
* @subpackage plugin
*
* @var modX $modx
* @var array $scriptProperties
*/
$className = \'mikrobi\\Babel\\Plugins\\Events\\\\\' . $modx->event->name;
$corePath = $modx->getOption(\'babel.core_path\', null, $modx->getOption(\'core_path\') . \'components/babel/\');
/** @var Babel $babel */
$babel = $modx->getService(\'babel\', Babel::class, $corePath . \'model/babel/\', [
\'core_path\' => $corePath
]);
if ($babel) {
if (class_exists($className)) {
$handler = new $className($modx, $scriptProperties);
if (get_class($handler) == $className) {
$handler->run();
} else {
$modx->log(xPDO::LOG_LEVEL_ERROR, $className . \' could not be initialized!\', \'\', \'Babel Plugin\');
}
} else {
$modx->log(xPDO::LOG_LEVEL_ERROR, $className . \' was not found!\', \'\', \'Babel Plugin\');
}
}
return;',
'locked' => 0,
'properties' => 'a:0:{}',
'disabled' => 0,
'moduleguid' => '',
'static' => 0,
'static_file' => '',
),
2 =>
array (
'id' => 2,
'source' => 1,
'property_preprocess' => 0,
'name' => 'gatewaySwitch',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'plugincode' => 'if ($modx->context->get(\'key\') != "mgr") {
switch ($_REQUEST[\'cultureKey\']) {
case \'en\':
$modx->switchContext(\'en\');
break;
case \'zh\':
$modx->switchContext(\'zh\');
break;
default:
$modx->switchContext(\'web\');
break;
}
unset($_GET[\'cultureKey\']);
}',
'locked' => 0,
'properties' => 'a:0:{}',
'disabled' => 0,
'moduleguid' => '',
'static' => 0,
'static_file' => '',
),
),
'_cacheKey' => 'web/context',
)),
'zh' =>
\MODX\Revolution\mysql\modContext::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modContext',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'MODX\\Revolution\\modContext',
'_pk' => NULL,
'_pktype' => NULL,
'_table' => '`modx_context`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'key' => 'key',
'name' => 'name',
'description' => 'description',
'rank' => 'rank',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'key' => 'zh',
'name' => NULL,
'description' => NULL,
'rank' => 0,
),
'_fieldMeta' =>
array (
'key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'index' => 'pk',
),
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'index' => 'index',
),
'description' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
),
'rank' =>
array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
),
'_composites' =>
array (
'ContextResources' =>
array (
'class' => 'MODX\\Revolution\\modContextResource',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'ContextSettings' =>
array (
'class' => 'MODX\\Revolution\\modContextSetting',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'SourceElements' =>
array (
'class' => 'MODX\\Revolution\\Sources\\modMediaSourceElement',
'local' => 'key',
'foreign' => 'context_key',
'cardinality' => 'many',
'owner' => 'local',
),
'Acls' =>
array (
'class' => 'MODX\\Revolution\\modAccessContext',
'local' => 'key',
'foreign' => 'target',
'owner' => 'local',
'cardinality' => 'many',
),
),
'_relatedObjects' =>
array (
'ContextResources' =>
array (
),
'ContextSettings' =>
array (
),
'SourceElements' =>
array (
),
'Acls' =>
array (
),
),
'_validator' =>
\MODX\Revolution\Validation\modValidator::__set_state(array(
'object' => NULL,
'results' =>
array (
'key' => true,
),
'messages' =>
array (
),
)),
'_validationRules' =>
array (
'key' =>
array (
'key' =>
array (
'type' => 'preg_match',
'rule' => '/^[a-zA-Z\\x7f-\\xff][a-zA-Z0-9\\x2d-\\x2f\\x7f-\\xff]*$/',
'parameters' =>
array (
'message' => 'context_err_ns_key',
),
),
),
),
'_validated' =>
array (
'key' => 'key',
),
'_validationLoaded' => true,
'_new' => true,
'_cacheFlag' => true,
'_options' =>
array (
),
'_policies' =>
array (
'MODX\\Revolution\\modAccessContext' =>
array (
'zh' =>
array (
0 =>
array (
'principal' => 0,
'authority' => 9999,
'policy' =>
array (
'load' => true,
),
),
1 =>
array (
'principal' => 1,
'authority' => 9999,
'policy' =>
array (
'load' => true,
'list' => true,
'view' => true,
'save' => true,
'remove' => true,
'copy' => true,
'view_unpublished' => true,
),
),
),
),
'zh' =>
array (
'MODX\\Revolution\\modAccessContext' =>
array (
'zh' =>
array (
0 =>
array (
'principal' => 0,
'authority' => 9999,
'policy' =>
array (
'load' => true,
),
),
1 =>
array (
'principal' => 1,
'authority' => 9999,
'policy' =>
array (
'load' => true,
'list' => true,
'view' => true,
'save' => true,
'remove' => true,
'copy' => true,
'view_unpublished' => true,
),
),
),
),
),
),
'config' =>
array (
'base_url' => '/zh/',
'cultureKey' => 'zh',
'site_start' => '10',
'site_url' => 'https://www.silkstory.net/zh/',
),
'aliasMap' =>
array (
'home' => 10,
'bushou' => 11,
'ziyuan' => 12,
'story-of-chinese-character' => 14,
'radical-info' => 15,
'all-characters' => 16,
),
'resourceMap' =>
array (
0 =>
array (
0 => 10,
1 => 11,
2 => 12,
3 => 14,
4 => 15,
5 => 16,
),
),
'webLinkMap' =>
array (
),
'eventMap' =>
array (
'OnContextRemove' =>
array (
1 => '1',
),
'OnContextSave' =>
array (
1 => '1',
),
'OnDocFormPrerender' =>
array (
1 => '1',
),
'OnDocFormSave' =>
array (
1 => '1',
),
'OnEmptyTrash' =>
array (
1 => '1',
),
'OnHandleRequest' =>
array (
2 => '2',
),
'OnResourceDuplicate' =>
array (
1 => '1',
),
'OnResourceSort' =>
array (
1 => '1',
),
'OnSiteRefresh' =>
array (
1 => '1',
),
),
'pluginCache' =>
array (
1 =>
array (
'id' => 1,
'source' => 0,
'property_preprocess' => 0,
'name' => 'Babel',
'description' => 'Links and synchronizes multilingual resources.',
'editor_type' => 0,
'category' => 1,
'cache_type' => 0,
'plugincode' => '/**
* Babel Plugin
*
* @package babel
* @subpackage plugin
*
* @var modX $modx
* @var array $scriptProperties
*/
$className = \'mikrobi\\Babel\\Plugins\\Events\\\\\' . $modx->event->name;
$corePath = $modx->getOption(\'babel.core_path\', null, $modx->getOption(\'core_path\') . \'components/babel/\');
/** @var Babel $babel */
$babel = $modx->getService(\'babel\', Babel::class, $corePath . \'model/babel/\', [
\'core_path\' => $corePath
]);
if ($babel) {
if (class_exists($className)) {
$handler = new $className($modx, $scriptProperties);
if (get_class($handler) == $className) {
$handler->run();
} else {
$modx->log(xPDO::LOG_LEVEL_ERROR, $className . \' could not be initialized!\', \'\', \'Babel Plugin\');
}
} else {
$modx->log(xPDO::LOG_LEVEL_ERROR, $className . \' was not found!\', \'\', \'Babel Plugin\');
}
}
return;',
'locked' => 0,
'properties' => 'a:0:{}',
'disabled' => 0,
'moduleguid' => '',
'static' => 0,
'static_file' => '',
),
2 =>
array (
'id' => 2,
'source' => 1,
'property_preprocess' => 0,
'name' => 'gatewaySwitch',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'plugincode' => 'if ($modx->context->get(\'key\') != "mgr") {
switch ($_REQUEST[\'cultureKey\']) {
case \'en\':
$modx->switchContext(\'en\');
break;
case \'zh\':
$modx->switchContext(\'zh\');
break;
default:
$modx->switchContext(\'web\');
break;
}
unset($_GET[\'cultureKey\']);
}',
'locked' => 0,
'properties' => 'a:0:{}',
'disabled' => 0,
'moduleguid' => '',
'static' => 0,
'static_file' => '',
),
),
'_cacheKey' => 'zh/context',
)),
),
'request' =>
\MODX\Revolution\modRequest::__set_state(array(
'modx' => NULL,
'method' => NULL,
'parameters' =>
array (
'GET' =>
array (
'q' => 'radical-info',
'radicalId' => '134',
'radicalType' => 'ziyuan',
),
'POST' =>
array (
),
'COOKIE' =>
array (
'PHPSESSID' => '3af911608e78cdac2b506c129e962773',
),
'REQUEST' =>
array (
'cultureKey' => 'zh',
'q' => 'radical-info',
'radicalId' => '134',
'radicalType' => 'ziyuan',
),
),
'headers' => NULL,
)),
'response' =>
\MODX\Revolution\modResponse::__set_state(array(
'modx' => NULL,
'header' => NULL,
'body' => NULL,
'contentType' =>
\MODX\Revolution\mysql\modContentType::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modContentType',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'ContentType',
'_pk' => NULL,
'_pktype' => NULL,
'_table' => '`modx_content_type`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'id' => 'id',
'name' => 'name',
'description' => 'description',
'mime_type' => 'mime_type',
'file_extensions' => 'file_extensions',
'icon' => 'icon',
'headers' => 'headers',
'binary' => 'binary',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 1,
'name' => 'HTML',
'description' => 'HTML content',
'mime_type' => 'text/html',
'file_extensions' => '',
'icon' => '',
'headers' => NULL,
'binary' => 0,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'index' => 'unique',
),
'description' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
'null' => true,
),
'mime_type' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
),
'file_extensions' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
),
'icon' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
'null' => true,
),
'headers' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'array',
),
'binary' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Resources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'content_type',
'owner' => 'local',
'cardinality' => 'many',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Resources' =>
array (
),
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => true,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
)),
'parser' =>
\MODX\Revolution\modParser::__set_state(array(
'modx' => NULL,
'_processingTag' => false,
'_processingElement' => false,
'_processingUncacheable' => false,
'_removingUnprocessed' => false,
'_startedProcessingUncacheable' => true,
)),
'resourceListing' => NULL,
'resourceMap' =>
array (
0 =>
array (
0 => 10,
1 => 11,
2 => 12,
3 => 14,
4 => 15,
5 => 16,
),
),
'aliasMap' =>
array (
'home' => 10,
'bushou' => 11,
'ziyuan' => 12,
'story-of-chinese-character' => 14,
'radical-info' => 15,
'all-characters' => 16,
),
'event' =>
\MODX\Revolution\modSystemEvent::__set_state(array(
'name' => 'OnHandleRequest',
'activePlugin' => '',
'plugin' => NULL,
'propertySet' => '',
'_propagate' => true,
'_output' => '',
'activated' => true,
'returnedValues' => NULL,
)),
'eventMap' =>
array (
'OnContextRemove' =>
array (
1 => '1',
),
'OnContextSave' =>
array (
1 => '1',
),
'OnDocFormPrerender' =>
array (
1 => '1',
),
'OnDocFormSave' =>
array (
1 => '1',
),
'OnEmptyTrash' =>
array (
1 => '1',
),
'OnHandleRequest' =>
array (
2 => '2',
),
'OnResourceDuplicate' =>
array (
1 => '1',
),
'OnResourceSort' =>
array (
1 => '1',
),
'OnSiteRefresh' =>
array (
1 => '1',
),
),
'elementCache' =>
array (
'[[$googleAnalytics]]' => '<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-79W9MR2WZM"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(\'js\', new Date());
gtag(\'config\', \'G-79W9MR2WZM\');
</script>',
'[[*longtitle]]' => 'Radical Information',
'[[*description]]' => '',
'[[*introtext]]' => '',
'[[*ExtraHeadScripts]]' => '',
'[[*bodyId]]' => '',
'[[*bodyClass]]' => '',
'[[$shareThis]]' => '<script type=\'text/javascript\' src=\'https://platform-api.sharethis.com/js/sharethis.js#property=5e805c309f548d001a3832ba&product=sop\' async=\'async\'></script>',
'[[Wayfinder? &startId=`0`&level=`1`&outerTpl=`menuOuterTpl`&rowTpl=`menuRowTpl`]]' => '<ul class="nav navbar-nav "><li class="nav-item"><a class="nav-link first" href="https://www.silkstory.net/zh/">主頁</a></li>
<li class="nav-item"><a class="nav-link " href="bushou">康熙部首</a></li>
<li class="nav-item"><a class="nav-link " href="ziyuan">字源分類</a></li>
<li class="nav-item"><a class="nav-link last" href="all-characters">查看全部</a></li>
<li class="nav-item"><a class="nav-link search" href="#" data-bs-target="#search" data-bs-toggle="modal"><i class="bi bi-search search"></i></a></li></ul>',
'[[*showBreadcrumbs]]' => '1',
'[[$breadcrumbs]]' => '<div class="container">
<div class="row">
<div class="col-md-12 pt-3">[[!BreadCrumb? &containerTpl=`BreadCrumbContainerTpl` &homeCrumbTpl=`myLinkCrumbTpl` &linkCrumbTpl=`myLinkCrumbTpl` ¤tCrumbTpl=`myCurrentCrumbTpl` &showHidden=`1` &showHomeCrumb=`1`]]</div>
</div>
</div>',
'[[$top]]' => '<!DOCTYPE html>
<html lang="[[!GetCurrentLanguage]]">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-79W9MR2WZM"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(\'js\', new Date());
gtag(\'config\', \'G-79W9MR2WZM\');
</script>[[!GetOgTags]]
<base href="https://www.silkstory.net/zh/">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>SilkStory - Radical Information</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta property="og:title" content="SilkStory - Radical Information">
<meta property="og:description" content="">
<meta property="og:image" content="">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/styles.css?v=3">
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8212661150885235" crossorigin="anonymous"></script>
</head>
<body id="" class="">
<script type=\'text/javascript\' src=\'https://platform-api.sharethis.com/js/sharethis.js#property=5e805c309f548d001a3832ba&product=sop\' async=\'async\'></script>
<header>
<section class="navbar2">
<div class="container d-xxl-flex justify-content-xxl-end">
<div class="d-flex d-sm-flex d-md-flex justify-content-end sec-nav">[[!LanguageSwitcher]]</div>
</div>
</section>
<nav class="navbar navbar-light navbar-expand-md">
<div class="container">
<a class="navbar-brand" href="/[[!GetCurrentLanguage]]">
<span class="en">SilkStory</span>
<span class="zh">
絲傳
</span>
</a>
<a
class="nav-link search d-block d-sm-none"
href="#"
data-bs-target="#search"
data-bs-toggle="modal"
style="margin-left: auto;padding-right: 20px; font-size:26px;"
>
<i class="bi bi-search search"></i>
</a>
<button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-1">
<span class="visually-hidden">
Toggle
navigation
</span>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse d-md-flex d-xxl-flex justify-content-md-end" id="navcol-1">
<ul class="nav navbar-nav "><li class="nav-item"><a class="nav-link first" href="https://www.silkstory.net/zh/">主頁</a></li>
<li class="nav-item"><a class="nav-link " href="bushou">康熙部首</a></li>
<li class="nav-item"><a class="nav-link " href="ziyuan">字源分類</a></li>
<li class="nav-item"><a class="nav-link last" href="all-characters">查看全部</a></li>
<li class="nav-item"><a class="nav-link search" href="#" data-bs-target="#search" data-bs-toggle="modal"><i class="bi bi-search search"></i></a></li></ul>
</div>
</div>
</nav>
</header>
<main>
[[!If? &subject=`1` &operator=`EQ` &operand=`1` &then=`<div class="container">
<div class="row">
<div class="col-md-12 pt-3">[[!BreadCrumb? &containerTpl=`BreadCrumbContainerTpl` &homeCrumbTpl=`myLinkCrumbTpl` &linkCrumbTpl=`myLinkCrumbTpl` ¤tCrumbTpl=`myCurrentCrumbTpl` &showHidden=`1` &showHomeCrumb=`1`]]</div>
</div>
</div>`]]
',
'[[*BeforeBodyScripts]]' => '',
'[[$bottom]]' => '</main>[[!searchBox]]
<footer class="text-center py-4">
<div class="container">
<div class="row">
<div class="col d-xxl-flex justify-content-xxl-start">
<p class="text-muted my-2">Copyright © [[!GetYear]] SilkStory</p>
</div>
<div class="col d-flex justify-content-end social-icons">
<ul class="list-inline my-2">
<li class="list-inline-item me-4">Follow Us</li>
<li class="list-inline-item me-4"><a href="https://www.facebook.com/meizai.chou" target="_blank"><i class="bi bi-facebook"></i></a></li>
<li class="list-inline-item me-4"><a href="https://www.youtube.com/user/choumeizai" target="_blank"><i class="bi bi-youtube"></i></li>
<li class="list-inline-item me-4"><a href="mailto:info@smallboy.net" target="_blank"><i class="bi bi-envelope"></i></li>
</ul>
</div>
</div>
</div>
</footer>
<script src=" https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</body>',
),
'placeholders' =>
array (
'modx.user.id' => 0,
'modx.user.username' => '(anonymous)',
'+access_category_enabled' => '1',
'+access_context_enabled' => '1',
'+access_policies_version' => '1.0',
'+access_resource_group_enabled' => '1',
'+allow_forward_across_contexts' => '',
'+allow_manager_login_forgot_password' => '1',
'+allow_multiple_emails' => '1',
'+allow_tags_in_post' => '',
'+anonymous_sessions' => '1',
'+archive_with' => '',
'+assets_path' => '/home4/silksto1/public_html/assets/',
'+assets_url' => '/assets/',
'+auto_check_pkg_updates' => '1',
'+auto_check_pkg_updates_cache_expire' => '15',
'+auto_isfolder' => '1',
'+auto_menuindex' => '1',
'+automatic_alias' => '1',
'+automatic_template_assignment' => 'sibling',
'+babel.babelTvName' => 'babelLanguageLinks',
'+babel.contextKeys' => 'web,en,zh',
'+babel.debug' => '0',
'+babel.displayChunk' => 'tplBabelContextMenu',
'+babel.displayText' => 'language',
'+babel.restrictToGroup' => '1',
'+babel.syncFields' => '',
'+babel.syncTvs' => '',
'+base_help_url' => '//docs.modx.com/help/',
'+base_path' => '/home4/silksto1/public_html/',
'+base_url' => '/zh/',
'+blocked_minutes' => '60',
'+cache_alias_map' => '1',
'+cache_context_settings' => '1',
'+cache_db' => '',
'+cache_db_expires' => '0',
'+cache_db_session' => '',
'+cache_db_session_lifetime' => '',
'+cache_default' => '1',
'+cache_expires' => '0',
'+cache_format' => '0',
'+cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'+cache_key' => 'default',
'+cache_lang_js' => '1',
'+cache_lexicon_topics' => '1',
'+cache_noncore_lexicon_topics' => '1',
'+cache_resource' => '1',
'+cache_resource_clear_partial' => '',
'+cache_resource_expires' => '0',
'+cache_scripts' => '1',
'+cache_system_settings' => true,
'+cache_system_settings_key' => 'system_settings',
'+charset' => 'utf8',
'+clear_cache_refresh_trees' => '',
'+compress_css' => '1',
'+compress_js' => '1',
'+confirm_navigation' => '1',
'+connector_url' => '/connectors/index.php',
'+connectors_url' => '/connectors/',
'+container_suffix' => '/',
'+context_tree_sort' => '1',
'+context_tree_sortby' => 'rank',
'+context_tree_sortdir' => 'ASC',
'+core_path' => '/home4/silksto1/public_html/core/',
'+cultureKey' => 'zh',
'+date_timezone' => '',
'+dbtype' => 'mysql',
'+debug' => '',
'+default_content_type' => '1',
'+default_context' => 'web',
'+default_duplicate_publish_option' => 'preserve',
'+default_media_source' => '1',
'+default_media_source_type' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'+default_per_page' => '20',
'+default_template' => '2',
'+default_username' => '(anonymous)',
'+emailsender' => 'sunny.uy@gmail.com',
'+enable_dragdrop' => '1',
'+enable_gravatar' => '',
'+enable_template_picker_in_tree' => '1',
'+error_handler_class' => 'MODX\\Revolution\\Error\\modErrorHandler',
'+error_log_filename' => 'error.log',
'+error_log_filepath' => '',
'+error_page' => '1',
'+failed_login_attempts' => '5',
'+feed_modx_news' => 'https://feeds.feedburner.com/modx-announce',
'+feed_modx_news_enabled' => '1',
'+feed_modx_security' => 'https://forums.modx.com/board.xml?board=294',
'+feed_modx_security_enabled' => '1',
'+form_customization_use_all_groups' => '',
'+forward_merge_excludes' => 'type,published,class_key',
'+friendly_alias_lowercase_only' => '1',
'+friendly_alias_max_length' => '0',
'+friendly_alias_realtime' => '1',
'+friendly_alias_restrict_chars' => 'pattern',
'+friendly_alias_restrict_chars_pattern' => '/[\\0\\x0B\\t\\n\\r\\f\\a&=+%#<>"~:`@\\?\\[\\]\\{\\}\\|\\^\'\\\\]/',
'+friendly_alias_strip_element_tags' => '1',
'+friendly_alias_translit' => 'none',
'+friendly_alias_translit_class' => 'translit.modTransliterate',
'+friendly_alias_trim_chars' => '/.-_',
'+friendly_alias_word_delimiter' => '-',
'+friendly_alias_word_delimiters' => '-_',
'+friendly_urls' => '1',
'+friendly_urls_strict' => '',
'+global_duplicate_uri_check' => '',
'+hidemenu_default' => '',
'+http_host' => 'www.silkstory.net',
'+https_port' => 443,
'+hydrate_adhoc_fields' => true,
'+hydrate_fields' => true,
'+hydrate_related_objects' => true,
'+inline_help' => '1',
'+link_tag_scheme' => '-1',
'+load_deprecated_global_class_aliases' => true,
'+locale' => '',
'+lock_ttl' => '360',
'+log_deprecated' => '1',
'+log_level' => '1',
'+log_snippet_not_found' => '1',
'+log_target' => 'FILE',
'+login_background_image' => '',
'+login_help_button' => '',
'+login_logo' => '',
'+mail_charset' => 'UTF-8',
'+mail_dkim_domain' => '',
'+mail_dkim_identity' => '',
'+mail_dkim_passphrase' => '',
'+mail_dkim_privatekeyfile' => '',
'+mail_dkim_privatekeystring' => '',
'+mail_dkim_selector' => '',
'+mail_encoding' => '8bit',
'+mail_inlinestyle_inline' => '1',
'+mail_inlinestyle_remove_style_tags' => '',
'+mail_smtp_auth' => '',
'+mail_smtp_autotls' => '1',
'+mail_smtp_helo' => '',
'+mail_smtp_hosts' => 'localhost',
'+mail_smtp_keepalive' => '',
'+mail_smtp_port' => '587',
'+mail_smtp_secure' => '',
'+mail_smtp_single_to' => '',
'+mail_smtp_timeout' => '10',
'+mail_use_smtp' => '',
'+main_nav_parent' => 'topnav',
'+manager_date_format' => 'Y-m-d',
'+manager_datetime_empty_value' => '—',
'+manager_datetime_separator' => ', ',
'+manager_direction' => 'ltr',
'+manager_favicon_url' => 'favicon.ico',
'+manager_login_url_alternate' => '',
'+manager_logo' => '',
'+manager_theme' => 'default',
'+manager_time_format' => 'H:i',
'+manager_tooltip_delay' => '2300',
'+manager_tooltip_enable' => '1',
'+manager_url' => '/manager/',
'+manager_use_fullname' => '',
'+manager_week_start' => '0',
'+mgr_source_icon' => 'icon-folder-open-o',
'+mgr_tree_icon_context' => 'tree-context',
'+modx_browser_default_sort' => 'name',
'+modx_browser_default_viewmode' => 'grid',
'+modx_browser_tree_hide_files' => '1',
'+modx_browser_tree_hide_tooltips' => '1',
'+modx_charset' => 'UTF-8',
'+package_installer_at_top' => '1',
'+parser_recurse_uncacheable' => '1',
'+password_generated_length' => '10',
'+password_min_length' => '8',
'+passwordless_activated' => '',
'+passwordless_expiration' => '3600',
'+photo_profile_source' => '',
'+phpthumb_allow_src_above_docroot' => '',
'+phpthumb_cache_maxage' => '30',
'+phpthumb_cache_maxfiles' => '10000',
'+phpthumb_cache_maxsize' => '100',
'+phpthumb_cache_source_enabled' => '',
'+phpthumb_document_root' => '',
'+phpthumb_error_bgcolor' => 'CCCCFF',
'+phpthumb_error_fontsize' => '1',
'+phpthumb_error_textcolor' => 'FF0000',
'+phpthumb_far' => 'C',
'+phpthumb_imagemagick_path' => '',
'+phpthumb_nohotlink_enabled' => '1',
'+phpthumb_nohotlink_erase_image' => '1',
'+phpthumb_nohotlink_text_message' => 'Off-server thumbnailing is not allowed',
'+phpthumb_nohotlink_valid_domains' => 'www.silkstory.net',
'+phpthumb_nooffsitelink_enabled' => '',
'+phpthumb_nooffsitelink_erase_image' => '1',
'+phpthumb_nooffsitelink_require_refer' => '',
'+phpthumb_nooffsitelink_text_message' => 'Off-server linking is not allowed',
'+phpthumb_nooffsitelink_valid_domains' => 'www.silkstory.net',
'+phpthumb_nooffsitelink_watermark_src' => '',
'+phpthumb_zoomcrop' => '0',
'+preserve_menuindex' => '',
'+principal_targets' => 'MODX\\Revolution\\modAccessContext,MODX\\Revolution\\modAccessResourceGroup,MODX\\Revolution\\modAccessCategory,MODX\\Revolution\\Sources\\modAccessMediaSource,MODX\\Revolution\\modAccessNamespace',
'+proxy_auth_type' => 'BASIC',
'+proxy_host' => '',
'+proxy_port' => '',
'+publish_default' => '',
'+quick_search_in_content' => '1',
'+quick_search_result_max' => '10',
'+request_controller' => 'index.php',
'+request_method_strict' => '',
'+request_param_alias' => 'q',
'+request_param_id' => 'id',
'+resource_static_allow_absolute' => '0',
'+resource_static_path' => '/home4/silksto1/public_html/assets/',
'+resource_tree_node_name' => 'pagetitle',
'+resource_tree_node_name_fallback' => 'alias',
'+resource_tree_node_tooltip' => '',
'+richtext_default' => '1',
'+search_default' => '1',
'+send_poweredby_header' => '',
'+server_offset_time' => '0',
'+server_port' => '443',
'+session_cookie_domain' => '',
'+session_cookie_httponly' => '1',
'+session_cookie_lifetime' => '604800',
'+session_cookie_path' => '',
'+session_cookie_samesite' => '',
'+session_cookie_secure' => '',
'+session_gc_maxlifetime' => '604800',
'+session_handler_class' => 'MODX\\Revolution\\modSessionHandler',
'+set_header' => '1',
'+settings_distro' => 'traditional',
'+settings_version' => '3.2.0-pl',
'+show_tv_categories_header' => '1',
'+site_name' => 'MODX Revolution',
'+site_start' => '10',
'+site_status' => '1',
'+site_unavailable_message' => '[[%site_unavailable_message]]',
'+site_unavailable_page' => '0',
'+site_url' => 'https://www.silkstory.net/zh/',
'+static_elements_automate_chunks' => '',
'+static_elements_automate_plugins' => '',
'+static_elements_automate_snippets' => '',
'+static_elements_automate_templates' => '',
'+static_elements_automate_tvs' => '',
'+static_elements_basepath' => '',
'+static_elements_default_category' => '0',
'+static_elements_default_mediasource' => '0',
'+static_elements_html_extension' => '.tpl',
'+symlink_merge_fields' => '1',
'+syncsite_default' => '1',
'+topmenu_show_descriptions' => '1',
'+tree_default_sort' => 'menuindex',
'+tree_root_id' => '0',
'+tvs_below_content' => '',
'+unauthorized_page' => '1',
'+upload_file_exists' => '1',
'+upload_files' => 'txt,html,htm,xml,js,js.map,css,scss,less,css.map,zip,gz,rar,z,tgz,tar,mp3,mp4,aac,wav,au,wmv,avi,mpg,mpeg,pdf,doc,docx,xls,xlsx,ppt,pptx,jpg,jpeg,png,tiff,svg,svgz,gif,psd,ico,bmp,webp,odt,ods,odp,odb,odg,odf,md,ttf,woff,woff2,eot',
'+upload_images' => 'jpg,jpeg,png,gif,psd,ico,bmp,tiff,svg,svgz,webp',
'+upload_maxsize' => '33554432',
'+upload_media' => 'mp3,wav,au,wmv,avi,mpg,mpeg',
'+upload_translit' => '1',
'+upload_translit_restrict_chars_pattern' => '/[\\0\\x0B\\t\\n\\r\\f\\a&=+%#<>"~:`@\\?\\[\\]\\{\\}\\|\\^\'\\\\]/',
'+url_scheme' => 'https://',
'+use_alias_path' => '',
'+use_context_resource_table' => '1',
'+use_editor' => '1',
'+use_frozen_parent_uris' => '',
'+use_multibyte' => '1',
'+use_weblink_target' => '',
'+user_nav_parent' => 'usernav',
'+validate_on_save' => true,
'+validator_class' => 'MODX\\Revolution\\Validation\\modValidator',
'+welcome_action' => 'welcome',
'+welcome_namespace' => 'core',
'+welcome_screen' => '',
'+welcome_screen_url' => '//misc.modx.com/revolution/welcome.30.html ',
'+which_editor' => '',
'+which_element_editor' => '',
'+xhtml_urls' => '1',
'+cache_path' => '/home4/silksto1/public_html/core/cache/',
'+connection_mutable' => true,
'+connections0dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'+connections0username' => 'silksto1_ss_user',
'+connections0password' => '!Kx9TV5Gbwyp',
'+connections0optionsconnection_mutable' => true,
'+connections0driverOptions3' => 0,
'+connectors_path' => '/home4/silksto1/public_html/connectors/',
'+driverOptions3' => 0,
'+dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'+friendly_alias_translit_class_path' => '/home4/silksto1/public_html/core/components/',
'+mail_smtp_pass' => '',
'+mail_smtp_user' => '',
'+manager_path' => '/home4/silksto1/public_html/manager/',
'+processors_path' => '/home4/silksto1/public_html/core/src/Revolution/Processors/',
'+proxy_password' => '',
'+proxy_username' => '',
'+session_name' => '',
'+table_prefix' => 'modx_',
),
'resource' =>
\MODX\Revolution\mysql\modDocument::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDocument',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'MODX\\Revolution\\modDocument',
'_pk' => NULL,
'_pktype' => NULL,
'_table' => '`modx_site_content`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'id' => 'id',
'type' => 'type',
'pagetitle' => 'pagetitle',
'longtitle' => 'longtitle',
'description' => 'description',
'alias' => 'alias',
'link_attributes' => 'link_attributes',
'published' => 'published',
'pub_date' => 'pub_date',
'unpub_date' => 'unpub_date',
'parent' => 'parent',
'isfolder' => 'isfolder',
'introtext' => 'introtext',
'content' => 'content',
'richtext' => 'richtext',
'template' => 'template',
'menuindex' => 'menuindex',
'searchable' => 'searchable',
'cacheable' => 'cacheable',
'createdby' => 'createdby',
'createdon' => 'createdon',
'editedby' => 'editedby',
'editedon' => 'editedon',
'deleted' => 'deleted',
'deletedon' => 'deletedon',
'deletedby' => 'deletedby',
'publishedon' => 'publishedon',
'publishedby' => 'publishedby',
'menutitle' => 'menutitle',
'content_dispo' => 'content_dispo',
'hidemenu' => 'hidemenu',
'class_key' => 'class_key',
'context_key' => 'context_key',
'content_type' => 'content_type',
'uri' => 'uri',
'uri_override' => 'uri_override',
'hide_children_in_tree' => 'hide_children_in_tree',
'show_in_tree' => 'show_in_tree',
'properties' => 'properties',
'alias_visible' => 'alias_visible',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 15,
'type' => 'document',
'pagetitle' => 'Radical Information',
'longtitle' => 'Radical Information',
'description' => '',
'alias' => 'radical-info',
'link_attributes' => '',
'published' => 1,
'pub_date' => 0,
'unpub_date' => 0,
'parent' => 0,
'isfolder' => 0,
'introtext' => '',
'content' => '<div class="container">
<div class="row">
<div class="col">
<div class="row mb-4">
<div class="col-lg-3 d-none d-lg-inline">
<nav id="nav-radical">
<div class="grid-radicals smaller">[[!ListRadicalNavigation]]</div>
</nav>
</div>
<div class="col">[[!GetRadicalInfo]]</div>
</div>
</div>
</div>
</div>',
'richtext' => 1,
'template' => 2,
'menuindex' => 5,
'searchable' => 1,
'cacheable' => 1,
'createdby' => 1,
'createdon' => 1694263006,
'editedby' => 1,
'editedon' => 1695609846,
'deleted' => 0,
'deletedon' => 0,
'deletedby' => 0,
'publishedon' => 1694256000,
'publishedby' => 1,
'menutitle' => '',
'content_dispo' => 0,
'hidemenu' => 1,
'class_key' => 'MODX\\Revolution\\modDocument',
'context_key' => 'zh',
'content_type' => 1,
'uri' => 'radical-info',
'uri_override' => 0,
'hide_children_in_tree' => 0,
'show_in_tree' => 1,
'properties' => NULL,
'alias_visible' => 1,
'bodyId' =>
array (
0 => 'bodyId',
1 => '',
2 => 'default',
3 => NULL,
4 => 'text',
),
'bodyClass' =>
array (
0 => 'bodyClass',
1 => '',
2 => 'default',
3 => NULL,
4 => 'text',
),
'showBreadcrumbs' =>
array (
0 => 'showBreadcrumbs',
1 => '1',
2 => 'default',
3 => NULL,
4 => 'checkbox',
),
'extraHeadScripts' =>
array (
0 => 'extraHeadScripts',
1 => '',
2 => 'default',
3 => NULL,
4 => 'text',
),
'beforeBodyScripts' =>
array (
0 => 'beforeBodyScripts',
1 => '',
2 => 'default',
3 => NULL,
4 => 'text',
),
'_content' => '<!DOCTYPE html>
<html lang="[[!GetCurrentLanguage]]">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-79W9MR2WZM"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(\'js\', new Date());
gtag(\'config\', \'G-79W9MR2WZM\');
</script>[[!GetOgTags]]
<base href="https://www.silkstory.net/zh/">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>SilkStory - Radical Information</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta property="og:title" content="SilkStory - Radical Information">
<meta property="og:description" content="">
<meta property="og:image" content="">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/styles.css?v=3">
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8212661150885235" crossorigin="anonymous"></script>
</head>
<body id="" class="">
<script type=\'text/javascript\' src=\'https://platform-api.sharethis.com/js/sharethis.js#property=5e805c309f548d001a3832ba&product=sop\' async=\'async\'></script>
<header>
<section class="navbar2">
<div class="container d-xxl-flex justify-content-xxl-end">
<div class="d-flex d-sm-flex d-md-flex justify-content-end sec-nav">[[!LanguageSwitcher]]</div>
</div>
</section>
<nav class="navbar navbar-light navbar-expand-md">
<div class="container">
<a class="navbar-brand" href="/[[!GetCurrentLanguage]]">
<span class="en">SilkStory</span>
<span class="zh">
絲傳
</span>
</a>
<a
class="nav-link search d-block d-sm-none"
href="#"
data-bs-target="#search"
data-bs-toggle="modal"
style="margin-left: auto;padding-right: 20px; font-size:26px;"
>
<i class="bi bi-search search"></i>
</a>
<button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-1">
<span class="visually-hidden">
Toggle
navigation
</span>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse d-md-flex d-xxl-flex justify-content-md-end" id="navcol-1">
<ul class="nav navbar-nav "><li class="nav-item"><a class="nav-link first" href="https://www.silkstory.net/zh/">主頁</a></li>
<li class="nav-item"><a class="nav-link " href="bushou">康熙部首</a></li>
<li class="nav-item"><a class="nav-link " href="ziyuan">字源分類</a></li>
<li class="nav-item"><a class="nav-link last" href="all-characters">查看全部</a></li>
<li class="nav-item"><a class="nav-link search" href="#" data-bs-target="#search" data-bs-toggle="modal"><i class="bi bi-search search"></i></a></li></ul>
</div>
</div>
</nav>
</header>
<main>
[[!If? &subject=`1` &operator=`EQ` &operand=`1` &then=`<div class="container">
<div class="row">
<div class="col-md-12 pt-3">[[!BreadCrumb? &containerTpl=`BreadCrumbContainerTpl` &homeCrumbTpl=`myLinkCrumbTpl` &linkCrumbTpl=`myLinkCrumbTpl` ¤tCrumbTpl=`myCurrentCrumbTpl` &showHidden=`1` &showHomeCrumb=`1`]]</div>
</div>
</div>`]]
<div class="container">
<div class="row">
<div class="col">
<div class="row mb-4">
<div class="col-lg-3 d-none d-lg-inline">
<nav id="nav-radical">
<div class="grid-radicals smaller">[[!ListRadicalNavigation]]</div>
</nav>
</div>
<div class="col">[[!GetRadicalInfo]]</div>
</div>
</div>
</div>
</div></main>[[!searchBox]]
<footer class="text-center py-4">
<div class="container">
<div class="row">
<div class="col d-xxl-flex justify-content-xxl-start">
<p class="text-muted my-2">Copyright © [[!GetYear]] SilkStory</p>
</div>
<div class="col d-flex justify-content-end social-icons">
<ul class="list-inline my-2">
<li class="list-inline-item me-4">Follow Us</li>
<li class="list-inline-item me-4"><a href="https://www.facebook.com/meizai.chou" target="_blank"><i class="bi bi-facebook"></i></a></li>
<li class="list-inline-item me-4"><a href="https://www.youtube.com/user/choumeizai" target="_blank"><i class="bi bi-youtube"></i></li>
<li class="list-inline-item me-4"><a href="mailto:info@smallboy.net" target="_blank"><i class="bi bi-envelope"></i></li>
</ul>
</div>
</div>
</div>
</footer>
<script src=" https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</body>',
'_isForward' => false,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
),
'type' =>
array (
'dbtype' => 'varchar',
'precision' => '20',
'phptype' => 'string',
'null' => false,
'default' => 'document',
),
'pagetitle' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fulltext',
'indexgrp' => 'content_ft_idx',
),
'longtitle' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fulltext',
'indexgrp' => 'content_ft_idx',
),
'description' =>
array (
'dbtype' => 'text',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'fulltext',
'indexgrp' => 'content_ft_idx',
),
'alias' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => true,
'default' => '',
'index' => 'index',
),
'link_attributes' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'published' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'pub_date' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
'index' => 'index',
),
'unpub_date' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
'index' => 'index',
),
'parent' =>
array (
'dbtype' => 'int',
'precision' => '10',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'isfolder' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'introtext' =>
array (
'dbtype' => 'text',
'phptype' => 'string',
'index' => 'fulltext',
'indexgrp' => 'content_ft_idx',
),
'content' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'string',
'index' => 'fulltext',
'indexgrp' => 'content_ft_idx',
),
'richtext' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 1,
),
'template' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'menuindex' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'searchable' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 1,
'index' => 'index',
),
'cacheable' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 1,
'index' => 'index',
),
'createdby' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'createdon' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
),
'editedby' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'editedon' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
),
'deleted' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
),
'deletedon' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
),
'deletedby' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'publishedon' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
),
'publishedby' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'menutitle' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'content_dispo' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'hidemenu' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
'index' => 'index',
),
'class_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'MODX\\Revolution\\modDocument',
'index' => 'index',
),
'context_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'web',
'index' => 'index',
),
'content_type' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 1,
),
'uri' =>
array (
'dbtype' => 'text',
'phptype' => 'string',
'null' => true,
'index' => 'index',
),
'uri_override' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'hide_children_in_tree' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 0,
'index' => 'index',
),
'show_in_tree' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'integer',
'null' => false,
'default' => 1,
'index' => 'index',
),
'properties' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'json',
'null' => true,
),
'alias_visible' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 1,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Parent' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'parent',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'CreatedBy' =>
array (
'class' => 'MODX\\Revolution\\modUser',
'local' => 'createdby',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'EditedBy' =>
array (
'class' => 'MODX\\Revolution\\modUser',
'local' => 'editedby',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'DeletedBy' =>
array (
'class' => 'MODX\\Revolution\\modUser',
'local' => 'deletedby',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'PublishedBy' =>
array (
'class' => 'MODX\\Revolution\\modUser',
'local' => 'publishedby',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'Template' =>
array (
'class' => 'MODX\\Revolution\\modTemplate',
'local' => 'template',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
'TemplateVars' =>
array (
'class' => 'MODX\\Revolution\\modTemplateVar',
'local' => 'id:template',
'foreign' => 'contentid:templateid',
'cardinality' => 'many',
'owner' => 'local',
),
'TemplateVarTemplates' =>
array (
'class' => 'MODX\\Revolution\\modTemplateVarTemplate',
'local' => 'template',
'foreign' => 'templateid',
'cardinality' => 'many',
'owner' => 'local',
),
'ContentType' =>
array (
'class' => 'MODX\\Revolution\\modContentType',
'local' => 'content_type',
'foreign' => 'id',
'owner' => 'foreign',
'cardinality' => 'one',
),
'Context' =>
array (
'class' => 'MODX\\Revolution\\modContext',
'local' => 'context_key',
'foreign' => 'key',
'owner' => 'foreign',
'cardinality' => 'one',
),
),
'_composites' =>
array (
'Children' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'parent',
'cardinality' => 'many',
'owner' => 'local',
),
'TemplateVarResources' =>
array (
'class' => 'MODX\\Revolution\\modTemplateVarResource',
'local' => 'id',
'foreign' => 'contentid',
'cardinality' => 'many',
'owner' => 'local',
),
'ResourceGroupResources' =>
array (
'class' => 'MODX\\Revolution\\modResourceGroupResource',
'local' => 'id',
'foreign' => 'document',
'cardinality' => 'many',
'owner' => 'local',
),
'Acls' =>
array (
'class' => 'MODX\\Revolution\\modAccessResource',
'local' => 'id',
'foreign' => 'target',
'owner' => 'local',
'cardinality' => 'many',
),
'ContextResources' =>
array (
'class' => 'MODX\\Revolution\\modContextResource',
'local' => 'id',
'foreign' => 'resource',
'cardinality' => 'many',
'owner' => 'local',
),
),
'_relatedObjects' =>
array (
'Parent' => NULL,
'CreatedBy' => NULL,
'EditedBy' => NULL,
'DeletedBy' => NULL,
'PublishedBy' => NULL,
'Template' => NULL,
'TemplateVars' =>
array (
),
'TemplateVarTemplates' =>
array (
),
'ContentType' =>
\MODX\Revolution\mysql\modContentType::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modContentType',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'ContentType',
'_pk' => NULL,
'_pktype' => NULL,
'_table' => '`modx_content_type`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'id' => 'id',
'name' => 'name',
'description' => 'description',
'mime_type' => 'mime_type',
'file_extensions' => 'file_extensions',
'icon' => 'icon',
'headers' => 'headers',
'binary' => 'binary',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 1,
'name' => 'HTML',
'description' => 'HTML content',
'mime_type' => 'text/html',
'file_extensions' => '',
'icon' => '',
'headers' => NULL,
'binary' => 0,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'name' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'index' => 'unique',
),
'description' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
'null' => true,
),
'mime_type' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
),
'file_extensions' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
),
'icon' =>
array (
'dbtype' => 'tinytext',
'phptype' => 'string',
'null' => true,
),
'headers' =>
array (
'dbtype' => 'mediumtext',
'phptype' => 'array',
),
'binary' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'attributes' => 'unsigned',
'phptype' => 'boolean',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Resources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'content_type',
'owner' => 'local',
'cardinality' => 'many',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Resources' =>
array (
),
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => true,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
'Context' => NULL,
'Children' =>
array (
),
'TemplateVarResources' =>
array (
),
'ResourceGroupResources' =>
array (
),
'Acls' =>
array (
),
'ContextResources' =>
array (
),
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => true,
'_cacheFlag' => true,
'_options' =>
array (
),
'_policies' =>
array (
'zh' =>
array (
),
),
'_content' => '<!DOCTYPE html>
<html lang="[[!GetCurrentLanguage]]">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-79W9MR2WZM"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(\'js\', new Date());
gtag(\'config\', \'G-79W9MR2WZM\');
</script>[[!GetOgTags]]
<base href="https://www.silkstory.net/zh/">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>SilkStory - Radical Information</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta property="og:title" content="SilkStory - Radical Information">
<meta property="og:description" content="">
<meta property="og:image" content="">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/styles.css?v=3">
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8212661150885235" crossorigin="anonymous"></script>
</head>
<body id="" class="">
<script type=\'text/javascript\' src=\'https://platform-api.sharethis.com/js/sharethis.js#property=5e805c309f548d001a3832ba&product=sop\' async=\'async\'></script>
<header>
<section class="navbar2">
<div class="container d-xxl-flex justify-content-xxl-end">
<div class="d-flex d-sm-flex d-md-flex justify-content-end sec-nav">[[!LanguageSwitcher]]</div>
</div>
</section>
<nav class="navbar navbar-light navbar-expand-md">
<div class="container">
<a class="navbar-brand" href="/[[!GetCurrentLanguage]]">
<span class="en">SilkStory</span>
<span class="zh">
絲傳
</span>
</a>
<a
class="nav-link search d-block d-sm-none"
href="#"
data-bs-target="#search"
data-bs-toggle="modal"
style="margin-left: auto;padding-right: 20px; font-size:26px;"
>
<i class="bi bi-search search"></i>
</a>
<button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-1">
<span class="visually-hidden">
Toggle
navigation
</span>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse d-md-flex d-xxl-flex justify-content-md-end" id="navcol-1">
<ul class="nav navbar-nav "><li class="nav-item"><a class="nav-link first" href="https://www.silkstory.net/zh/">主頁</a></li>
<li class="nav-item"><a class="nav-link " href="bushou">康熙部首</a></li>
<li class="nav-item"><a class="nav-link " href="ziyuan">字源分類</a></li>
<li class="nav-item"><a class="nav-link last" href="all-characters">查看全部</a></li>
<li class="nav-item"><a class="nav-link search" href="#" data-bs-target="#search" data-bs-toggle="modal"><i class="bi bi-search search"></i></a></li></ul>
</div>
</div>
</nav>
</header>
<main>
[[!If? &subject=`1` &operator=`EQ` &operand=`1` &then=`<div class="container">
<div class="row">
<div class="col-md-12 pt-3">[[!BreadCrumb? &containerTpl=`BreadCrumbContainerTpl` &homeCrumbTpl=`myLinkCrumbTpl` &linkCrumbTpl=`myLinkCrumbTpl` ¤tCrumbTpl=`myCurrentCrumbTpl` &showHidden=`1` &showHomeCrumb=`1`]]</div>
</div>
</div>`]]
<div class="container">
<div class="row">
<div class="col">
<div class="row mb-4">
<div class="col-lg-3 d-none d-lg-inline">
<nav id="nav-radical">
<div class="grid-radicals smaller">[[!ListRadicalNavigation]]</div>
</nav>
</div>
<div class="col">[[!GetRadicalInfo]]</div>
</div>
</div>
</div>
</div></main>[[!searchBox]]
<footer class="text-center py-4">
<div class="container">
<div class="row">
<div class="col d-xxl-flex justify-content-xxl-start">
<p class="text-muted my-2">Copyright © [[!GetYear]] SilkStory</p>
</div>
<div class="col d-flex justify-content-end social-icons">
<ul class="list-inline my-2">
<li class="list-inline-item me-4">Follow Us</li>
<li class="list-inline-item me-4"><a href="https://www.facebook.com/meizai.chou" target="_blank"><i class="bi bi-facebook"></i></a></li>
<li class="list-inline-item me-4"><a href="https://www.youtube.com/user/choumeizai" target="_blank"><i class="bi bi-youtube"></i></li>
<li class="list-inline-item me-4"><a href="mailto:info@smallboy.net" target="_blank"><i class="bi bi-envelope"></i></li>
</ul>
</div>
</div>
</div>
</footer>
<script src=" https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</body>',
'_output' => '<!DOCTYPE html>
<html lang="zh">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-79W9MR2WZM"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(\'js\', new Date());
gtag(\'config\', \'G-79W9MR2WZM\');
</script>
<base href="https://www.silkstory.net/zh/">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>SilkStory - Radical Information</title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta property="og:title" content="SilkStory - Radical Information">
<meta property="og:description" content="">
<meta property="og:image" content="">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/styles.css?v=3">
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8212661150885235" crossorigin="anonymous"></script>
</head>
<body id="" class="">
<script type=\'text/javascript\' src=\'https://platform-api.sharethis.com/js/sharethis.js#property=5e805c309f548d001a3832ba&product=sop\' async=\'async\'></script>
<header>
<section class="navbar2">
<div class="container d-xxl-flex justify-content-xxl-end">
<div class="d-flex d-sm-flex d-md-flex justify-content-end sec-nav"><div class="d-flex d-sm-flex d-md-flex justify-content-end sec-nav"><a href="https://www.silkstory.net/en/ziyuan/134">Eng</a><a href="https://www.silkstory.net/zh/ziyuan/134">中文</a></div></div>
</div>
</section>
<nav class="navbar navbar-light navbar-expand-md">
<div class="container">
<a class="navbar-brand" href="/zh">
<span class="en">SilkStory</span>
<span class="zh">
絲傳
</span>
</a>
<a
class="nav-link search d-block d-sm-none"
href="#"
data-bs-target="#search"
data-bs-toggle="modal"
style="margin-left: auto;padding-right: 20px; font-size:26px;"
>
<i class="bi bi-search search"></i>
</a>
<button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-1">
<span class="visually-hidden">
Toggle
navigation
</span>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse d-md-flex d-xxl-flex justify-content-md-end" id="navcol-1">
<ul class="nav navbar-nav "><li class="nav-item"><a class="nav-link first" href="https://www.silkstory.net/zh/">主頁</a></li>
<li class="nav-item"><a class="nav-link " href="bushou">康熙部首</a></li>
<li class="nav-item"><a class="nav-link " href="ziyuan">字源分類</a></li>
<li class="nav-item"><a class="nav-link last" href="all-characters">查看全部</a></li>
<li class="nav-item"><a class="nav-link search" href="#" data-bs-target="#search" data-bs-toggle="modal"><i class="bi bi-search search"></i></a></li></ul>
</div>
</div>
</nav>
</header>
<main>
<div class="container">
<div class="row">
<div class="col-md-12 pt-3"><nav aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="https://www.silkstory.net/zh/">Home</a></li><li class="breadcrumb-item active">Radical Information</li></ol></nav></div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col">
<div class="row mb-4">
<div class="col-lg-3 d-none d-lg-inline">
<nav id="nav-radical">
<div class="grid-radicals smaller">
<a href="/zh/ziyuan/1#1" name="1">乙<span class="description">說文:「草木冤曲而出也。」</span></a><a href="/zh/ziyuan/2#2" name="2">一<span class="description">說文:「惟初大始,道立於一。造分天地,化成萬物。 」</span></a><a href="/zh/ziyuan/3#3" name="3">匕<span class="description">說文:「匕 , 與比敘也。 」
詩·小雅:「有捄棘匕。 」</span></a><a href="/zh/ziyuan/4#4" name="4">几<span class="description">說文:「几,坐所以憑也。」</span></a><a href="/zh/ziyuan/5#5" name="5">ト<span class="description">說文:「象龜兆之縱橫也。 」</span></a><a href="/zh/ziyuan/6#6" name="6">力<span class="description">詩經˙邶風˙簡兮:「有力如虎,執轡如組。」</span></a><a href="/zh/ziyuan/7#7" name="7">刀<span class="description">玉篇:「所以割也。 」</span></a><a href="/zh/ziyuan/8#8" name="8">人<span class="description">說文:「人,天地之性最貴者也。」
呂氏春秋·舉難:「故君子責人則以人,責己則以義。」</span></a><a href="/zh/ziyuan/9#9" name="9">又<span class="description">說文:「又,手也,象形。」
詩·小雅·小宛:「天命不又。」</span></a><a href="/zh/ziyuan/10#10" name="10">丁<span class="description">說文:「丁,鑽也。象形。今俗以釘為之。」</span></a><a href="/zh/ziyuan/11#11" name="11">厶<span class="description">韓非子:「古者倉頡之作書也,自環者謂之厶,背厶謂之公。」</span></a><a href="/zh/ziyuan/12#12" name="12">九<span class="description">楚辭·九辨·序:「九者,陽之數,道之綱紀也。」</span></a><a href="/zh/ziyuan/13#13" name="13">八<span class="description">說文:「八,別也。像分別相背之形。」
玉篇:「八,數也。」</span></a><a href="/zh/ziyuan/14#14" name="14">冖<span class="description">說文:「冖,覆也。」
玉篇:「以巾覆物。」
正字通:「今作羃,楷作冪。」</span></a><a href="/zh/ziyuan/15#15" name="15">入<span class="description">說文:「入,內也。」
詩·唐風·山有樞:「他人入室。」</span></a><a href="/zh/ziyuan/16#16" name="16">凵<span class="description">正字通:「魏校曰:『凵,受物之器。』」</span></a><a href="/zh/ziyuan/17#17" name="17">十<span class="description">左傳·僖公四年·疏:「十是數之小成。」</span></a><a href="/zh/ziyuan/18#18" name="18">勹<span class="description">說文:「裹也。像人曲形,有所包裹。」</span></a><a href="/zh/ziyuan/19#19" name="19">卩<span class="description">玉篇:「古文節字。」</span></a><a href="/zh/ziyuan/20#20" name="20">儿<span class="description">說文解字.儿部:「儿,古文奇字人也。」</span></a><a href="/zh/ziyuan/21#21" name="21">乃<span class="description">韓非子:「古者倉頡之作書也,自環者謂之厶,背厶謂之公。」</span></a><a href="/zh/ziyuan/22#22" name="22">大<span class="description">說文:「大,天大地大人亦大,故大象人形。」</span></a><a href="/zh/ziyuan/23#23" name="23">小<span class="description">說文:「小,物之微也。」
韓非子·飭令:「朝廷之事,小者不毀。」</span></a><a href="/zh/ziyuan/24#24" name="24">山<span class="description">說文:「山,土有石而高。」
國語·周語:「山,土之聚也。」</span></a><a href="/zh/ziyuan/25#25" name="25">川<span class="description">說文:「川,贯川通流水也。 」</span></a><a href="/zh/ziyuan/26#26" name="26">土<span class="description">說文:「土,地之吐生物者也。 」</span></a><a href="/zh/ziyuan/27#27" name="27">凡<span class="description">廣雅:「凡,皆也。」
廣韻:「凡,輕也。」</span></a><a href="/zh/ziyuan/28#28" name="28">囗<span class="description">玉篇:「古文圍字。」
字彙:「古文國字。」
商子:「民弱囗强,囗强民弱,有道之囗,務在弱民。」</span></a><a href="/zh/ziyuan/29#29" name="29">口<span class="description">說文:「口,人所以言食也。 」</span></a><a href="/zh/ziyuan/30#30" name="30">干<span class="description">書·胤征:「以干先王之誅。」
書˙牧誓:「稱爾戈,比爾干,立爾矛,予其誓。」</span></a><a href="/zh/ziyuan/31#31" name="31">亡<span class="description">說文:「亡,逃也。」
資治通鑒:「劉表新亡,二子不協」
戰國策:「亡趙自危」
韓非子·說林下:「人不能自止於足,而亡其富之涯乎」
詩·唐風·葛生:「予美亡此,誰與獨處。」</span></a><a href="/zh/ziyuan/32#32" name="32">屮<span class="description">說文:「屮,艸木初生也。 」</span></a><a href="/zh/ziyuan/33#33" name="33">亼<span class="description">說文:「亼,三合也,從人一,象三合之形。」</span></a><a href="/zh/ziyuan/34#34" name="34">弓<span class="description">說文:「弓,兵也,所以發矢。」</span></a><a href="/zh/ziyuan/35#35" name="35">巾<span class="description">戰國策·魏策:「兒女共沾巾。」
周禮·巾車:「巾,猶衣也。」</span></a><a href="/zh/ziyuan/36#36" name="36">子<span class="description">春秋繁露基義:「子者,父之合也。」
列子·湯問:「孀妻弱子。」
荀子·正論:「聖王之子也,有天下之後也,執籍之所在也,天下之宗室也。」</span></a><a href="/zh/ziyuan/37#37" name="37">女<span class="description">詩·衛風·氓:「女也不爽,士貳其行。」
論語·為政:「子曰:『由!誨女知之乎?』」</span></a><a href="/zh/ziyuan/38#38" name="38">寸<span class="description">說文:「寸,十分也。人手卻一寸,動脈謂之寸口。」</span></a><a href="/zh/ziyuan/39#39" name="39">广<span class="description">釋名:「衾,广也。其下廣大,如广受人也。」</span></a><a href="/zh/ziyuan/40#40" name="40">宀<span class="description">說文:「交覆深屋也。 」</span></a><a href="/zh/ziyuan/41#41" name="41">千<span class="description">說文:「千,十百也。」
管子·四時:「四政曰端險阻修封疆,正千伯。」</span></a><a href="/zh/ziyuan/42#42" name="42">工<span class="description">論語·衛靈公:「工欲善其事,必先利其器。」</span></a><a href="/zh/ziyuan/43#43" name="43">己<span class="description">孫子兵法:「知己知彼,百戰不殆。」</span></a><a href="/zh/ziyuan/44#44" name="44">夕<span class="description">書·洪範·五行·注:「初昏為夕。」
詩·唐風·綢繆:「今夕何夕。」</span></a><a href="/zh/ziyuan/45#45" name="45">也<span class="description">說文:「女陰也。像形。」</span></a><a href="/zh/ziyuan/46#46" name="46">廾<span class="description">說文解字:「廾,竦手也。」</span></a><a href="/zh/ziyuan/47#47" name="47">彡<span class="description">廣韻:「毛長也。」</span></a><a href="/zh/ziyuan/48#48" name="48">乞<span class="description">論語˙公冶長:「乞諸其鄰而與之。」
史記˙卷八十六˙刺客傳˙豫讓傳:「行乞於市,其妻不識也。」</span></a><a href="/zh/ziyuan/50#50" name="50">木<span class="description">春秋繁露:「木者,春生之性。農之本也。」
論語:「朽木不可雕也。」</span></a><a href="/zh/ziyuan/51#51" name="51">犬<span class="description">禮記·曲禮:「效犬者,左牽之。」</span></a><a href="/zh/ziyuan/52#52" name="52">手<span class="description">說文:「手,拳也。」</span></a><a href="/zh/ziyuan/53#53" name="53">心<span class="description">說文:「心,人心也。在身之中,像形。」
詩·小雅·杕杜:「日月陽止,女心傷止。」
孟子:「心之官則思。」</span></a><a href="/zh/ziyuan/54#54" name="54">火<span class="description">論衡·詰術:「火,日氣也。」</span></a><a href="/zh/ziyuan/55#55" name="55">水<span class="description">荀子·勸學:「冰,水為之,而寒於水。」
詩·秦風·蒹葭:「在水之湄。」</span></a><a href="/zh/ziyuan/56#56" name="56">月<span class="description">說文:「月,太陰之精也。」</span></a><a href="/zh/ziyuan/57#57" name="57">日<span class="description">說文:「日,太陽之精也。」</span></a><a href="/zh/ziyuan/58#58" name="58">戈<span class="description">說文:「戈,平頭戟也。」
禮·檀弓下:「能執干戈以衛社稷。」</span></a><a href="/zh/ziyuan/59#59" name="59">牙<span class="description">說文:「牙,牡齒也。像上下相錯之形。」
管子·版法:「外之有徒,禍乃始牙。」</span></a><a href="/zh/ziyuan/60#60" name="60">牛<span class="description">說文:「牛,大牲也。」</span></a><a href="/zh/ziyuan/61#61" name="61">云<span class="description">說文:「云,山川氣也。」
國語·晉語:「誰云救之。」</span></a><a href="/zh/ziyuan/62#62" name="62">爪<span class="description">六書故:「爪,人之指叉或亦通作爪。」
荀子·勸學:「蚓無爪牙之利。」</span></a><a href="/zh/ziyuan/63#63" name="63">毛<span class="description"></span></a><a href="/zh/ziyuan/64#64" name="64">父<span class="description">說文:「父,家長舉教者。」</span></a><a href="/zh/ziyuan/65#65" name="65">斤<span class="description">說文:「今,斫木斧也。」
漢書·律歷志:「十六兩為一斤。」</span></a><a href="/zh/ziyuan/66#66" name="66">之<span class="description">說文:「之,出也。」
詩·衛風·伯兮:「自伯之東。」
左傳·僖公三十二年:「鄭商人弦高將市於周,遇之。」</span></a><a href="/zh/ziyuan/67#67" name="67">丑<span class="description">說文:「醜,紐也。十二月萬物動用事。」</span></a><a href="/zh/ziyuan/68#68" name="68">王<span class="description">詩·小雅·北土:「溥天之下,莫非王土。」
說文:「玉,石之美者。」</span></a><a href="/zh/ziyuan/69#69" name="69">氏<span class="description">通志·略·氏族:「男子称氏,妇人称姓。」
说文:「氐,本也。」
史记·律书:「氐者言万物皆至也。」
汉书·食货志下:「封君皆氐首仰给焉。」</span></a><a href="/zh/ziyuan/70#70" name="70">止<span class="description">廣韻:「止,停也,息也。」
漢書˙卷二十三˙刑法志:「當劓者,笞三百;當斬左止者,笞五百。」</span></a><a href="/zh/ziyuan/71#71" name="71">爻<span class="description">說文:「爻,交也。像易六爻,頭交也。」
易·系辭上:「爻者,言乎變者也。」</span></a><a href="/zh/ziyuan/72#72" name="72">中<span class="description">說文:「中,和也。」
荀子·非相:「五帝之中無傳政。」
晏子春秋:「衣冠不中,不敢以入朝。」
戰國策·齊策二:「是秦之計中,齊燕之計過矣。」
孝經·聖治:「難進而盡中。」</span></a><a href="/zh/ziyuan/73#73" name="73">井<span class="description">易·井:「改邑不改井。」
荀子·儒效:「井井兮其有理也。」</span></a><a href="/zh/ziyuan/74#74" name="74">片<span class="description">說文:「片,判木也。從半木。」</span></a><a href="/zh/ziyuan/75#75" name="75">爿<span class="description">說文:「爿,判木也。从反片。指事。」</span></a><a href="/zh/ziyuan/76#76" name="76">夭<span class="description">國語˙魯語上:「且夫山不槎櫱,澤不伐夭。」
詩經˙小雅˙正月:「民今之無祿,天夭是椓。」
書經˙高宗肜日:「降年有永有不永,非天夭民,民中絕命。」
管子˙禁藏:「毋伐木,毋夭英</span></a><a href="/zh/ziyuan/77#77" name="77">不<span class="description">戰國策·趙策:「老婦不聞也。」
詩·周頌·清廟:「不顯不承,無射於人斯。」</span></a><a href="/zh/ziyuan/78#78" name="78">六<span class="description">管子·五行:「人道以六制。」
國語·周語:「夫六中色也。」</span></a><a href="/zh/ziyuan/79#79" name="79">五<span class="description">書·舜典:「五載一巡守。」
商君書·畫策:「行間之治,連以五,辨之以章,束之以令。」</span></a><a href="/zh/ziyuan/80#80" name="80">午<span class="description">左傳·僖公三十二年:「午戰於彼。」
禮記·哀公問:「午其眾以伐有道,求得當欲,不以其所。」</span></a><a href="/zh/ziyuan/81#81" name="81">丰<span class="description">廣韻:「豐,茂也,盛也。」
詩·小雅·湛露:「在彼豐草。」</span></a><a href="/zh/ziyuan/82#82" name="82">殳<span class="description">《詩經.衛風.伯兮》:「伯也執殳,為王前驅。」
《淮南子.齊俗》:「昔武王執戈秉鉞以伐紂勝殷,搢笏杖殳以臨朝。」</span></a><a href="/zh/ziyuan/83#83" name="83">戶<span class="description">《玉篇》:「戶,所以出入也。一扉曰戶,兩扉曰門。」</span></a><a href="/zh/ziyuan/84#84" name="84">方<span class="description">淮南子.本經:「戴圓履方,抱表懷繩。」</span></a><a href="/zh/ziyuan/85#85" name="85">歹<span class="description">說文解字:「歹,古文歺。歺,列骨之殘也。」</span></a><a href="/zh/ziyuan/86#86" name="86">气<span class="description">說文解字:「气,雲氣也。」</span></a><a href="/zh/ziyuan/87#87" name="87">尒<span class="description">《說文》尒,詞之必然也。</span></a><a href="/zh/ziyuan/88#88" name="88">母<span class="description">詩·小雅:「母兮鞠我。」</span></a><a href="/zh/ziyuan/89#89" name="89">禾<span class="description">詩·豳風:「十月納禾稼,黍稷重穋,禾麻菽麥。 」</span></a><a href="/zh/ziyuan/90#90" name="90">皿<span class="description">說文:「皿,飯器之用器也。」</span></a><a href="/zh/ziyuan/91#91" name="91">冊<span class="description">尚書:「有册有典。」</span></a><a href="/zh/ziyuan/92#92" name="92">生<span class="description">易義:「自無出有曰生。」
論語·顏淵:「愛之欲其生,惡之欲其死。」
詩·小雅·正月:「父母生我。」</span></a><a href="/zh/ziyuan/93#93" name="93">卯<span class="description"></span></a><a href="/zh/ziyuan/94#94" name="94">田<span class="description">蒼頡篇:「田,種禾稼也。」</span></a><a href="/zh/ziyuan/95#95" name="95">目<span class="description">說文:「目,人眼,像形。」</span></a><a href="/zh/ziyuan/96#96" name="96">矢<span class="description">廣雅:「矢,箭也。」
詩·小雅·小東:「其直如矢。」
詩·衛風·考槃:「永矢弗諼。」</span></a><a href="/zh/ziyuan/97#97" name="97">丙<span class="description">廣雅·釋天:「丙剛丁柔。」
淮南子˙天文:「其日丙丁。」高誘˙注:「丙丁,皆火也。」</span></a><a href="/zh/ziyuan/98#98" name="98">穴<span class="description">說文:「穴,土室也。」</span></a><a href="/zh/ziyuan/99#99" name="99">瓜<span class="description">詩·豳風·七月:「七月食瓜,八月斷壺。」</span></a><a href="/zh/ziyuan/100#100" name="100">甘<span class="description">說文:「甘,美也。」
楚辭·招魂:「辛甘行些。」</span></a><a href="/zh/ziyuan/101#101" name="101">申<span class="description">說文:「申,束身也。」
荀子·解蔽:「形可劫而使詘申。」
莊子·刻意:「熊經鳥申,為壽而已矣。」</span></a><a href="/zh/ziyuan/102#102" name="102">立<span class="description">易·恆:「君子以立不易方。」
戰國策:「乃立宗廟於薛。」
韓非子·內儲說上:「乃為壇場大水之上,而與王立之焉。」
管子·地員:「五種天不宜,其立後而手實。」
商君書·更法:「代立</span></a><a href="/zh/ziyuan/103#103" name="103">示<span class="description">說文:「示,天垂象,見吉凶,所以示人也。」
蒼頡篇:「示,現也。」</span></a><a href="/zh/ziyuan/104#104" name="104">疒<span class="description">《說文》:「疒,倚也。人有疾病,象倚箸之形。」</span></a><a href="/zh/ziyuan/105#105" name="105">用<span class="description">《論語.學而》:「禮之用,和為貴。」
《論語.陽貨》:「如有用我者,吾其為東周乎!」
《左傳.襄公二十六年》:「雖楚有材,晉實用之。」</span></a><a href="/zh/ziyuan/106#106" name="106">令<span class="description">孟子.梁惠王下:「王速出令,反其旄倪。」
論語.子路:「其身正,不令而行,其身不正,雖令不從。」
戰國策.趙策四:「有復言令長安君為質者,老婦必唾其面。」</span></a><a href="/zh/ziyuan/107#107" name="107">冎<span class="description">說文:「剔人肉,置其骨也。」</span></a><a href="/zh/ziyuan/108#108" name="108">玉<span class="description">說文:「玉,石之美者。」</span></a><a href="/zh/ziyuan/109#109" name="109">召<span class="description">左傳˙僖公三十二年:「召孟明、西乞、白乙,使出師於東門之外。」
書經˙微子:「降監殷民,用乂讎斂,召敵讎不怠。」</span></a><a href="/zh/ziyuan/110#110" name="110">甲<span class="description">孟子˙梁惠王上:「兵刃既接,棄甲曳兵而走。」
六書故:「甲像草木戴種而出之形。」</span></a><a href="/zh/ziyuan/111#111" name="111">石<span class="description">釋名:「山體曰石。」</span></a><a href="/zh/ziyuan/112#112" name="112">癶<span class="description">《說文》:「足剌癶也。」</span></a><a href="/zh/ziyuan/113#113" name="113">羽<span class="description">說文:「羽,鳥長毛也。象形。」</span></a><a href="/zh/ziyuan/114#114" name="114">兆<span class="description">說文:「兆卜,灼龜拆也。」</span></a><a href="/zh/ziyuan/115#115" name="115">衣<span class="description">說文:「衣,所以蔽體者也。」
書經˙康誥:「今民將在祇遹乃文考,紹聞衣德言。」</span></a><a href="/zh/ziyuan/116#116" name="116">羊<span class="description">大戴禮記·少牢:「羊曰少牢。」
墨子:「有恐後世子孫,不能敬莙以取羊。」
馬王堆漢墓帛書:「臣願王與下吏羊計某言而竺(篤)慮之也。」</span></a><a href="/zh/ziyuan/117#117" name="117">竹<span class="description">說文:「竹,冬生草也。像形。」</span></a><a href="/zh/ziyuan/118#118" name="118">肉<span class="description">孟子·梁惠王上:「七十者可食肉矣。」</span></a><a href="/zh/ziyuan/119#119" name="119">自<span class="description">說文:「自,鼻也。」
詩·小雅 ·節南山:「不自為政,卒勞百姓。」</span></a><a href="/zh/ziyuan/120#120" name="120">耳<span class="description">說文:「耳,主聽也。」</span></a><a href="/zh/ziyuan/121#121" name="121">臼<span class="description">說文:「臼,舂也。」
易·系辭下:「斷木為杵,掘地為臼。」</span></a><a href="/zh/ziyuan/122#122" name="122">老<span class="description">說文:「老,考也。七十曰老。」
禮記·曲禮:「七十以上曰老。」</span></a><a href="/zh/ziyuan/123#123" name="123">吕<span class="description">說文:「吕,脊骨也。像形。」
急就篇:「尻髖脊膂腰背吕。」</span></a><a href="/zh/ziyuan/125#125" name="125">舟<span class="description">說文:「舟,船也。」</span></a><a href="/zh/ziyuan/126#126" name="126">西<span class="description">說文:「西,鳥在巢上,象形。」</span></a><a href="/zh/ziyuan/127#127" name="127">虫<span class="description">列子·黃帝:「禽獸蟲蛾。」</span></a><a href="/zh/ziyuan/128#128" name="128">糸<span class="description">說文:「絲,蠶所吐也。」</span></a><a href="/zh/ziyuan/129#129" name="129">合<span class="description">戰國策˙燕策二:「蚌合而拑其喙。」
呂氏春秋˙孝行覽˙遇合:「合大夫而告之。」</span></a><a href="/zh/ziyuan/130#130" name="130">并<span class="description">文選˙曹冏˙六代論:「自此之後,轉相攻伐,吳并於越。」
戰國策˙燕策二:「(蚌、鷸)兩者不肯相舍,漁者得而并禽之。」</span></a><a href="/zh/ziyuan/131#131" name="131">行<span class="description">論語:「三人行,必有我師焉?」
詩經˙小弁:「行有死人,尚或墐之。」</span></a><a href="/zh/ziyuan/132#132" name="132">而<span class="description">說文解字:「而,須也。」
淮南子˙原道:「行柔而剛,用弱而強。」
論語˙陽貨:「年四十而見惡焉,其終也已。」
易經˙繫辭下:「君子見幾而作,不俟終日。」</span></a><a href="/zh/ziyuan/133#133" name="133">艮<span class="description">易經˙艮卦˙彖曰:「艮,止也。」
廣雅疏證˙卷一下˙釋詁:「艮,堅也。」
太玄·守:「像艮有守。」</span></a><a href="/zh/ziyuan/134#134" class="active" name="134">网<span class="description">說文:「网,庖犧所結繩以漁。」
廣雅:「网,謂之罟。」</span></a><a href="/zh/ziyuan/135#135" name="135">臣<span class="description">說文:「臣,事君者也。」
韓非子·五蠹:「雖臣虜之勞不苦於此矣。」</span></a><a href="/zh/ziyuan/136#136" name="136">米<span class="description">說文:「米,粟實也。像禾實之形。」</span></a><a href="/zh/ziyuan/137#137" name="137">龹<span class="description"></span></a><a href="/zh/ziyuan/138#138" name="138">聿<span class="description">說文解字:「聿,所以書也。」
唐˙柳宗元˙湘源二妃廟碑:「咸執牘聿,至于祠下。」
</span></a><a href="/zh/ziyuan/139#139" name="139">交<span class="description">孟子˙滕文公上:「獸蹄鳥跡之道,交於中國。」
楚辭˙屈原˙九歌˙國殤:「矢交墜兮士爭先。」</span></a><a href="/zh/ziyuan/140#140" name="140">丞<span class="description">戰國策:「堯有九佐,舜有七友,禹有五丞,湯有三輔。」
漢書˙卷九十三˙佞幸傳:「會大將軍王鳳病,長侍病,晨夜扶丞左右,甚有甥舅之恩。」
</span></a><a href="/zh/ziyuan/141#141" name="141">角<span class="description">說文:「角,獸角也」</span></a><a href="/zh/ziyuan/142#142" name="142">身<span class="description">禮記·祭義:「身也者,父母之遺體也。」</span></a><a href="/zh/ziyuan/143#143" name="143">貝<span class="description">說文:「海介蟲也。古者貨貝而寶龜,周而有泉,至秦廢貝行錢。 」</span></a><a href="/zh/ziyuan/144#144" name="144">豆<span class="description">說文:「豆,古食肉器也。」
博雅:「大豆,菽也。小豆,荅也。」</span></a><a href="/zh/ziyuan/145#145" name="145">車<span class="description">說文:「 輿輪之緫名。 」</span></a><a href="/zh/ziyuan/146#146" name="146">豕<span class="description">說文:「豕,彘也。」</span></a><a href="/zh/ziyuan/147#147" name="147">束<span class="description">說文:「束,縛也。」</span></a><a href="/zh/ziyuan/148#148" name="148">冏<span class="description">玉篇˙囧部:「囧,大明也。」</span></a><a href="/zh/ziyuan/149#149" name="149">皀<span class="description">《說文》:「皀,穀之馨香也。」</span></a><a href="/zh/ziyuan/150#150" name="150">臼<span class="description">説文:「</span></a><a href="/zh/ziyuan/151#151" name="151">卵<span class="description">説文:「凡物無乳者卵生。」</span></a><a href="/zh/ziyuan/152#152" name="152">辛<span class="description">文選˙左思˙蜀都賦:「甘蔗辛薑。」
周書:「柔武以匡辛苦。」</span></a><a href="/zh/ziyuan/153#153" name="153">甫<span class="description">說文:「甫,男子美稱也。」
詩·小雅·車攻:「東有甫草,駕言行狩。」</span></a><a href="/zh/ziyuan/154#154" name="154">酉<span class="description">說文:「酉,就也。八月黍成,可為酎酒。」</span></a><a href="/zh/ziyuan/155#155" name="155">卒<span class="description">詩經˙豳風˙七月:「無衣無褐,何以卒歲?」
左傳:「大叔完聚,繕甲兵,具卒乘,將襲鄭。」
漢書˙杜周傳:「卒搖易之則民心惑,若是者誠難施也。」</span></a><a href="/zh/ziyuan/156#156" name="156">阜<span class="description">詩·小雅·天保:「如山如阜,如岡如陵。」
晉·常璩·華陽國志:「是時世平道治,民物阜康。」</span></a><a href="/zh/ziyuan/157#157" name="157">長<span class="description">楚辭·屈原·九歌·國殤:「帶長劍兮挾秦弓,首身離兮心不懲。」
孟子·告子上:「苟得其養,無物不長。」
國語·晉語四:「齊侯長矣,而欲親晉。」</span></a><a href="/zh/ziyuan/159#159" name="159">隹<span class="description">說文:「隹,鳥之短尾總名也。」</span></a><a href="/zh/ziyuan/160#160" name="160">雨<span class="description">說文:「雨,水從雲下也。」</span></a><a href="/zh/ziyuan/161#161" name="161">門<span class="description">玉篇:「門,人所出入也。」
</span></a><a href="/zh/ziyuan/162#162" name="162">金<span class="description">爾雅·釋地:「西南之美者,有華山之金石焉。」
戰國策·齊策四:「金五百斤。」
</span></a><a href="/zh/ziyuan/163#163" name="163">舍<span class="description">左傳.宣公二年:「宣子田於首山,舍于翳桑。」
荀子.勸學:「鍥而不舍,金石可鏤。」</span></a><a href="/zh/ziyuan/164#164" name="164">京<span class="description">爾雅.釋詁:「京,大也。」
公羊傳.桓公九年:「京師者何?天子之居也。」</span></a><a href="/zh/ziyuan/165#165" name="165">帚<span class="description">玉篇:「掃除糞穢也。」</span></a><a href="/zh/ziyuan/166#166" name="166">亟<span class="description">戰國策.齊策三:「可以令楚王亟入下東國。」
左傳.隱公元年:「亟請於武公。」</span></a><a href="/zh/ziyuan/167#167" name="167">承<span class="description">左傳.成公十六年:「承寡君之命以請。」
左傳.僖公十五年:「君之未入,寡人懼之;入而未定列,猶吾憂也;苟列定矣,敢不承命。」
詩經.小雅.天保:「如松柏之茂,無不爾或承。」</span></a><a href="/zh/ziyuan/168#168" name="168">並<span class="description">戰國策˙秦策一:「文士並飭,諸侯亂惑。」
楚辭˙東方朔˙七諫˙自悲:「冰炭不可以相並兮,吾固知乎命之不長。」</span></a><a href="/zh/ziyuan/169#169" name="169">畀<span class="description">詩·鄘風·干旄:「彼姝者子,何以畀之。」
左傳:「分曹衛之田以畀宋人。」</span></a><a href="/zh/ziyuan/170#170" name="170">幸<span class="description">說文:「幸,吉而免凶也。」
小爾雅:「非分而得謂之幸。」
呂氏春秋·至忠:「王必幸臣與臣之母,願先生之勿患也。」</span></a><a href="/zh/ziyuan/171#171" name="171">㚔<span class="description">說文:「所以驚人也。一曰俗以盜不止爲㚔。」</span></a><a href="/zh/ziyuan/172#172" name="172">壴<span class="description">說文解字:「壴,陳樂立而上見也。」</span></a><a href="/zh/ziyuan/173#173" name="173">食<span class="description">說文:「革,獸皮治去其毛。 」
玉篇:「革,改也。」</span></a><a href="/zh/ziyuan/174#174" name="174">革<span class="description">說文:「革,獸皮治去其毛。 」
玉篇:「革,改也。」</span></a><a href="/zh/ziyuan/175#175" name="175">面<span class="description">說文:「面,颜前也。 」
玉藻:「唯君面尊。」</span></a><a href="/zh/ziyuan/176#176" name="176">高<span class="description">説文:「高,崇也,像臺覻高之形。」
荀子·勸學:「不登高山,不知天之高也。」</span></a><a href="/zh/ziyuan/177#177" name="177">兼<span class="description">左傳˙昭公八年:「孺子長矣,而相吾室,欲兼我也。」
荀子˙正名:「單足以喻則單,單不足以喻則兼。」
韓非子˙難四:「夫日兼照天下,一物不能當也。」</span></a><a href="/zh/ziyuan/178#178" name="178">鬲<span class="description">漢書·五行志中:「鬲閉門戶,毋得擅上。」
夢溪筆談:「古鼎中有三足皆空,中可容物者,所謂鬲也。」</span></a><a href="/zh/ziyuan/179#179" name="179">鬥<span class="description">說文:「鬥,兩士相對,兵杖在後,像鬥之形。」
列子·湯問:「見兩小兒辯鬥。」</span></a><a href="/zh/ziyuan/180#180" name="180">馬<span class="description">說文:「像馬頭髦尾四足之形。」</span></a><a href="/zh/ziyuan/181#181" name="181">堇<span class="description">說文:「鳥,長尾禽總名也。」</span></a><a href="/zh/ziyuan/182#182" name="182">鳥<span class="description">說文:「鳥,長尾禽總名也。」</span></a><a href="/zh/ziyuan/183#183" name="183">魚<span class="description">說文:「魚,水蟲也。」</span></a><a href="/zh/ziyuan/184#184" name="184">華<span class="description">《詩經.周南.桃夭》:「桃之夭夭,灼灼其華。」
《史記.卷六八.商君傳》:「有功者顯榮,無功者雖富無所芬華。」</span></a><a href="/zh/ziyuan/185#185" name="185">黃<span class="description">說文:「黃,地之色也。」</span></a><a href="/zh/ziyuan/186#186" name="186">單<span class="description">史記·魏公子列傳:「今單車來代之。」</span></a><a href="/zh/ziyuan/187#187" name="187">鼎<span class="description">《說文解字.鼎部》:「鼎,三足兩耳,和五味之寶器也。」
《玉篇.鼎部》:「鼎,器也,所以熟食者。」</span></a><a href="/zh/ziyuan/188#188" name="188">爾<span class="description">詩經.衛風.氓:「爾卜爾筮,體無咎言,以爾車來,以我賄遷。」
禮記˙檀弓上:「夫子何善爾也?」</span></a><a href="/zh/ziyuan/189#189" name="189">文<span class="description"></span></a><a href="/zh/ziyuan/190#190" name="190">㐭<span class="description">說文:「宗廟粢盛,倉黃㐭而取之,故謂之㐭。」</span></a><a href="/zh/ziyuan/191#191" name="191">回<span class="description">唐.王翰〈涼州詞〉二首之一:「醉臥沙場君莫笑,古來征戰幾人回?」</span></a><a href="/zh/ziyuan/192#192" name="192">來<span class="description">《論語.學而》:「有朋自遠方來,不亦樂乎?」
唐.孟浩然《春曉》:「夜來風雨聲,花落知多少?」
《文選.陸機.短歌行》:「來日苦短,去日苦多。」</span></a><a href="/zh/ziyuan/193#193" name="193">危<span class="description">《左傳.昭公十八年》:「小國忘守則危,況有災乎?」
《莊子.盜跖》:「使子路去其危冠,解其長劍,而受教於子。」
《戰國策.西周策》:「夫本末更盛,虛實有時,竊為君危之。」</span></a><a href="/zh/ziyuan/194#194" name="194">厄<span class="description">《文選.左思.魏都賦》:「英辯榮枯,能濟其厄。」
《詩經.大雅.韓奕》:「鞹鞃淺幭,䩦革金厄。」</span></a><a href="/zh/ziyuan/195#195" name="195">仌<span class="description">《說文》:「象水凝之形。」</span></a><a href="/zh/ziyuan/196#196" name="196">勿<span class="description">《論語.衛靈公》:「己所不欲,勿施於人!」
《論語.雍也》:「犁牛之子,騂且角,雖欲勿用,山川其舍諸?」</span></a><a href="/zh/ziyuan/197#197" name="197">屰<span class="description">逆、不順
《說文》:「不順也。」</span></a><a href="/zh/ziyuan/198#198" name="198">丮<span class="description">《說文》:「持也,象手有所丮據也。」</span></a><a href="/zh/ziyuan/199#199" name="199">叀<span class="description">《說文》:「叀,專小謹也。叀。」</span></a><a href="/zh/ziyuan/200#200" name="200">尺<span class="description">十寸</span></a><a href="/zh/ziyuan/201#201" name="201">非<span class="description">不是</span></a><a href="/zh/ziyuan/202#202" name="202">丘<span class="description">小陵</span></a><a href="/zh/ziyuan/203#203" name="203">虎<span class="description"></span></a><a href="/zh/ziyuan/204#204" name="204">黑<span class="description"></span></a><a href="/zh/ziyuan/205#205" name="205">才<span class="description"></span></a><a href="/zh/ziyuan/206#206" name="206">士<span class="description"></span></a><a href="/zh/ziyuan/207#207" name="207">㐱<span class="description">疹、病</span></a><a href="/zh/ziyuan/208#208" name="208">叟<span class="description"></span></a><a href="/zh/ziyuan/209#209" name="209">叒<span class="description"></span></a><a href="/zh/ziyuan/210#210" name="210">毌<span class="description"></span></a><a href="/zh/ziyuan/211#211" name="211">尼<span class="description"></span></a><a href="/zh/ziyuan/212#212" name="212">四<span class="description"></span></a><a href="/zh/ziyuan/213#213" name="213">幺<span class="description"></span></a><a href="/zh/ziyuan/214#214" name="214">亙<span class="description"></span></a><a href="/zh/ziyuan/215#215" name="215">亘<span class="description"></span></a><a href="/zh/ziyuan/216#216" name="216">赤<span class="description"></span></a><a href="/zh/ziyuan/217#217" name="217">尸<span class="description"></span></a><a href="/zh/ziyuan/218#218" name="218">至<span class="description"></span></a><a href="/zh/ziyuan/219#219" name="219">巠<span class="description"></span></a><a href="/zh/ziyuan/220#220" name="220">谷<span class="description"></span></a><a href="/zh/ziyuan/221#221" name="221">巳<span class="description"></span></a><a href="/zh/ziyuan/222#222" name="222">丱<span class="description">卝</span></a><a href="/zh/ziyuan/223#223" name="223">鄉<span class="description"></span></a><a href="/zh/ziyuan/224#224" name="224">尹<span class="description"></span></a><a href="/zh/ziyuan/225#225" name="225">兄<span class="description"></span></a><a href="/zh/ziyuan/226#226" name="226">夏<span class="description"></span></a><a href="/zh/ziyuan/227#227" name="227">㕣<span class="description"></span></a><a href="/zh/ziyuan/228#228" name="228">皮<span class="description"></span></a><a href="/zh/ziyuan/229#229" name="229">䇂<span class="description"></span></a><a href="/zh/ziyuan/230#230" name="230">卣<span class="description"></span></a><a href="/zh/ziyuan/231#231" name="231">鬼<span class="description"></span></a><a href="/zh/ziyuan/232#232" name="232">冃<span class="description"></span></a><a href="/zh/ziyuan/233#233" name="233">免<span class="description"></span></a><a href="/zh/ziyuan/234#234" name="234">兔<span class="description"></span></a><a href="/zh/ziyuan/235#235" name="235">冂<span class="description"></span></a><a href="/zh/ziyuan/236#236" name="236">龜<span class="description"></span></a><a href="/zh/ziyuan/237#237" name="237">句<span class="description"></span></a><a href="/zh/ziyuan/238#238" name="238">囪<span class="description"></span></a><a href="/zh/ziyuan/239#239" name="239">夬<span class="description"></span></a><a href="/zh/ziyuan/240#240" name="240">缶<span class="description"></span></a><a href="/zh/ziyuan/241#241" name="241">史<span class="description"></span></a><a href="/zh/ziyuan/242#242" name="242">重<span class="description"></span></a><a href="/zh/ziyuan/243#243" name="243">更<span class="description"></span></a><a href="/zh/ziyuan/244#244" name="244">巨<span class="description"></span></a><a href="/zh/ziyuan/245#245" name="245">厂<span class="description"></span></a><a href="/zh/ziyuan/246#246" name="246">它<span class="description"></span></a><a href="/zh/ziyuan/247#247" name="247">先<span class="description"></span></a><a href="/zh/ziyuan/248#248" name="248">丂<span class="description"></span></a><a href="/zh/ziyuan/249#249" name="249">匚<span class="description"></span></a><a href="/zh/ziyuan/250#250" name="250">世<span class="description"></span></a><a href="/zh/ziyuan/251#251" name="251">具<span class="description"></span></a><a href="/zh/ziyuan/252#252" name="252">要<span class="description"></span></a><a href="/zh/ziyuan/253#253" name="253">平<span class="description"></span></a><a href="/zh/ziyuan/254#254" name="254">夊<span class="description"></span></a><a href="/zh/ziyuan/255#255" name="255">能<span class="description"></span></a><a href="/zh/ziyuan/256#256" name="256">良<span class="description"></span></a><a href="/zh/ziyuan/257#257" name="257">盾<span class="description"></span></a><a href="/zh/ziyuan/258#258" name="258">乍<span class="description"></span></a><a href="/zh/ziyuan/259#259" name="259">象<span class="description"></span></a><a href="/zh/ziyuan/260#260" name="260">由<span class="description"></span></a><a href="/zh/ziyuan/261#261" name="261">畾<span class="description"></span></a><a href="/zh/ziyuan/262#262" name="262">且<span class="description"></span></a><a href="/zh/ziyuan/263#263" name="263">主<span class="description"></span></a><a href="/zh/ziyuan/264#264" name="264">朕<span class="description"></span></a><a href="/zh/ziyuan/265#265" name="265">耒<span class="description"></span></a><a href="/zh/ziyuan/266#266" name="266">离<span class="description"></span></a></div>
</nav>
</div>
<div class="col"><div class="d-flex align-items-start mb-3 radical-header"><div class="d-xxl-flex justify-content-xxl-center" style="padding: 0px 10px;"><h1 class="radical">网</h1></div><div><h3>Ziyuan #134</h3><p class="radical-meaning">說文:「网,庖犧所結繩以漁。」
廣雅:「网,謂之罟。」</p></div></div><div><h2 style="font-size: 1.2rem; margin-bottom:18px;">Characters under the Ziyuan 网:</h2></div><div class="silk-character-cards-grid compact"><a class="silk-character-card silk-character-card--no-label" href="/zh/story-of-chinese-character/325"><span class="silk-card-strokes">6</span><span class="silk-card-top"><span class="silk-card-char">网</span><div class="silk-card-illustration"><img src="/assets/images/icons/%E7%BD%91.svg" alt="" loading="lazy"></div></span></a><a class="silk-character-card silk-character-card--no-label" href="/zh/story-of-chinese-character/358"><span class="silk-card-strokes">8</span><span class="silk-card-top"><span class="silk-card-char">罔</span></span></a><a class="silk-character-card silk-character-card--no-label" href="/zh/story-of-chinese-character/359"><span class="silk-card-strokes">11</span><span class="silk-card-top"><span class="silk-card-char">惘</span></span></a><a class="silk-character-card silk-character-card--no-label" href="/zh/story-of-chinese-character/812"><span class="silk-card-strokes">13</span><span class="silk-card-top"><span class="silk-card-char">置</span></span></a><a class="silk-character-card silk-character-card--no-label" href="/zh/story-of-chinese-character/360"><span class="silk-card-strokes">14</span><span class="silk-card-top"><span class="silk-card-char">網</span></span></a><a class="silk-character-card silk-character-card--no-label" href="/zh/story-of-chinese-character/369"><span class="silk-card-strokes">19</span><span class="silk-card-top"><span class="silk-card-char">羅</span></span></a><a class="silk-character-card silk-character-card--no-label" href="/zh/story-of-chinese-character/1953"><span class="silk-card-strokes">24</span><span class="silk-card-top"><span class="silk-card-char">羈</span></span></a></div></div>
</div>
</div>
</div>
</div></main>
<div id="search" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog modal-xl" role="document">
<div class="modal-content">
<div class="modal-header">
<input
id="searchKeywords"
type="search"
inputmode="search"
enterkeyhint="search"
autocomplete="off"
autocapitalize="none"
autocorrect="off"
spellcheck="false"
v-model.trim="searchKeywords"
@input="onInput"
placeholder="在這裡搜索角色。"
/><button
class="btn-close"
type="button"
aria-label="Close"
data-bs-dismiss="modal"
></button>
</div>
<div class="modal-body">
<div v-if="isLoading" class="py-2">Loading…</div>
<div v-else-if="hasTyped && characters.length === 0" class="py-2">
No results
</div>
<div v-else class="grid-characters smaller">
<a
v-for="character in characters"
:key="character.id"
:href="\'/zh/story-of-chinese-character/\'+character.id"
>{{character.character}}<span class="meaning"><br>{{character.cn_meaning}}</span>
<span class="strokes">{{character.strokes}}</span></a
>
</div>
</div>
</div>
</div>
</div>
<script>
let app = {
data() {
return {
characters: [],
searchKeywords: "",
isLoading: false,
hasTyped: false,
abortController: null,
searchDebounced: null,
};
},
methods: {
debounce(fn, delay) {
let timerId;
return function (...args) {
clearTimeout(timerId);
timerId = setTimeout(() => fn.apply(this, args), delay);
};
},
onInput() {
this.hasTyped = true;
this.searchDebounced && this.searchDebounced();
},
searchNow() {
const query = (this.searchKeywords || "").trim();
const isSingleAsciiLetter = /^[A-Za-z]$/.test(query);
if (query.length === 0 || isSingleAsciiLetter) {
// clear
this.characters = [];
this.hasTyped = false;
if (this.abortController) {
this.abortController.abort();
this.abortController = null;
}
this.isLoading = false;
return;
}
if (this.abortController) {
this.abortController.abort();
}
this.abortController = new AbortController();
this.isLoading = true;
fetch(
"/_qcube4/views/search-query.php?searchKeywords=" +
encodeURIComponent(query),
{ signal: this.abortController.signal }
)
.then((response) => response.json())
.then((data) => {
this.characters = Array.isArray(data) ? data : [];
})
.catch((err) => {
if (err.name !== "AbortError") {
console.log(err.message);
}
})
.finally(() => {
this.isLoading = false;
});
},
},
created() {
this.searchDebounced = this.debounce(this.searchNow, 250);
},
};
const vm = Vue.createApp(app).mount("#search");
var myModal = document.getElementById("search");
var myInput = document.getElementById("searchKeywords");
myModal.addEventListener("shown.bs.modal", function () {
setTimeout(function () {
myInput.focus();
if (myInput && myInput.setSelectionRange) {
try {
var len = myInput.value.length;
myInput.setSelectionRange(len, len);
} catch (e) {}
}
document.documentElement.scrollTop = 0;
document.body.scrollTop = 0;
}, 250);
});
myModal.addEventListener("hidden.bs.modal", function () {
if (vm && vm.abortController) {
try { vm.abortController.abort(); } catch (e) {}
vm.abortController = null;
}
vm.searchKeywords = "";
vm.characters = [];
vm.isLoading = false;
vm.hasTyped = false;
});
</script>
<footer class="text-center py-4">
<div class="container">
<div class="row">
<div class="col d-xxl-flex justify-content-xxl-start">
<p class="text-muted my-2">Copyright © 2026 SilkStory</p>
</div>
<div class="col d-flex justify-content-end social-icons">
<ul class="list-inline my-2">
<li class="list-inline-item me-4">Follow Us</li>
<li class="list-inline-item me-4"><a href="https://www.facebook.com/meizai.chou" target="_blank"><i class="bi bi-facebook"></i></a></li>
<li class="list-inline-item me-4"><a href="https://www.youtube.com/user/choumeizai" target="_blank"><i class="bi bi-youtube"></i></li>
<li class="list-inline-item me-4"><a href="mailto:info@smallboy.net" target="_blank"><i class="bi bi-envelope"></i></li>
</ul>
</div>
</div>
</div>
</footer>
<script src=" https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</body>',
'_contextKey' => 'zh',
'_processed' => true,
'_cacheKey' => '[contextKey]/resources/[id]',
'_refreshCache' => true,
'_isForward' => false,
'_jscripts' =>
array (
),
'_sjscripts' =>
array (
),
'_loadedjscripts' =>
array (
),
'showInContextMenu' => true,
'allowDrop' => -1,
'allowListingInClassKeyDropdown' => true,
'allowChildrenResources' => true,
)),
'cultureKey' => 'zh',
'lexicon' =>
\MODX\Revolution\modLexicon::__set_state(array(
'modx' => NULL,
'config' =>
array (
),
'_lexicon' =>
array (
'zh' =>
array (
'breadcrumb_snippet_from_desc' => 'Resource ID of the first crumb.',
'breadcrumb_snippet_to_desc' => 'Resource ID of the last crumb.',
'breadcrumb_snippet_maxcrumbs_desc' => 'Max crumbs shown in breadcrumb',
'breadcrumb_snippet_showhidden_desc' => 'Show hidden resources in breadcrumb.',
'breadcrumb_snippet_showcontainer_desc' => 'Show container resources in breadcrumb.',
'breadcrumb_snippet_showunpub_desc' => 'Show unpublished resources in breadcrumb.',
'breadcrumb_snippet_showcurrentcrumb_desc' => 'Show current resource as a crumb.',
'breadcrumb_snippet_showbreadcrumbatHome_desc' => 'Show BreadCrumb on the home page.',
'breadcrumb_snippet_showhomecrumb_desc' => 'Show the home page as a crumb.',
'breadcrumb_snippet_useweblinkurl_desc' => 'Use the weblink url instead of the url to the weblink.',
'breadcrumb_snippet_direction_desc' => 'Direction or breadcrumb : Left To Right (ltr) or Right To Left (rtl) for Arabic language for example.',
'breadcrumb_snippet_scheme_desc' => 'URL Generation Scheme.',
'breadcrumb_snippet_containertpl_desc' => 'Container template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_homecrumbtpl_desc' => 'Home crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_currentcrumbtpl_desc' => 'Current crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_linkcrumbtpl_desc' => 'Default crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_categorycrumbtpl_desc' => 'Default category crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_maxcrumbtpl_desc' => 'Max delimiter crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
),
'en' =>
array (
'breadcrumb_snippet_from_desc' => 'Resource ID of the first crumb.',
'breadcrumb_snippet_to_desc' => 'Resource ID of the last crumb.',
'breadcrumb_snippet_maxcrumbs_desc' => 'Max crumbs shown in breadcrumb',
'breadcrumb_snippet_showhidden_desc' => 'Show hidden resources in breadcrumb.',
'breadcrumb_snippet_showcontainer_desc' => 'Show container resources in breadcrumb.',
'breadcrumb_snippet_showunpub_desc' => 'Show unpublished resources in breadcrumb.',
'breadcrumb_snippet_showcurrentcrumb_desc' => 'Show current resource as a crumb.',
'breadcrumb_snippet_showbreadcrumbatHome_desc' => 'Show BreadCrumb on the home page.',
'breadcrumb_snippet_showhomecrumb_desc' => 'Show the home page as a crumb.',
'breadcrumb_snippet_useweblinkurl_desc' => 'Use the weblink url instead of the url to the weblink.',
'breadcrumb_snippet_direction_desc' => 'Direction or breadcrumb : Left To Right (ltr) or Right To Left (rtl) for Arabic language for example.',
'breadcrumb_snippet_scheme_desc' => 'URL Generation Scheme.',
'breadcrumb_snippet_containertpl_desc' => 'Container template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_homecrumbtpl_desc' => 'Home crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_currentcrumbtpl_desc' => 'Current crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_linkcrumbtpl_desc' => 'Default crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_categorycrumbtpl_desc' => 'Default category crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'breadcrumb_snippet_maxcrumbtpl_desc' => 'Max delimiter crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
),
),
'_paths' =>
array (
'core' => '/home4/silksto1/public_html/core/cache/lexicon/',
),
'_loadedTopics' =>
array (
0 => 'en:breadcrumb:properties',
1 => 'breadcrumb:properties',
),
)),
'user' =>
\MODX\Revolution\mysql\modUser::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modUser',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'MODX\\Revolution\\modUser',
'_pk' => NULL,
'_pktype' => NULL,
'_table' => '`modx_users`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'id' => 'id',
'username' => 'username',
'password' => 'password',
'cachepwd' => 'cachepwd',
'class_key' => 'class_key',
'active' => 'active',
'remote_key' => 'remote_key',
'remote_data' => 'remote_data',
'hash_class' => 'hash_class',
'salt' => 'salt',
'primary_group' => 'primary_group',
'session_stale' => 'session_stale',
'sudo' => 'sudo',
'createdon' => 'createdon',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 0,
'username' => '(anonymous)',
'password' => '',
'cachepwd' => '',
'class_key' => 'MODX\\Revolution\\modUser',
'active' => 1,
'remote_key' => NULL,
'remote_data' => NULL,
'hash_class' => 'MODX\\Revolution\\Hashing\\modNative',
'salt' => '',
'primary_group' => 0,
'session_stale' => NULL,
'sudo' => 0,
'createdon' => 0,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'username' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => '',
'index' => 'unique',
),
'password' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'cachepwd' =>
array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'class_key' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'MODX\\Revolution\\modUser',
'index' => 'index',
),
'active' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'boolean',
'attributes' => 'unsigned',
'null' => false,
'default' => 1,
),
'remote_key' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => true,
'index' => 'index',
),
'remote_data' =>
array (
'dbtype' => 'text',
'phptype' => 'json',
'null' => true,
),
'hash_class' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => 'MODX\\Revolution\\Hashing\\modNative',
),
'salt' =>
array (
'dbtype' => 'varchar',
'precision' => '100',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'primary_group' =>
array (
'dbtype' => 'int',
'precision' => '10',
'phptype' => 'integer',
'attributes' => 'unsigned',
'null' => false,
'default' => 0,
'index' => 'index',
),
'session_stale' =>
array (
'dbtype' => 'text',
'phptype' => 'array',
'null' => true,
),
'sudo' =>
array (
'dbtype' => 'tinyint',
'precision' => '1',
'phptype' => 'boolean',
'attributes' => 'unsigned',
'null' => false,
'default' => 0,
),
'createdon' =>
array (
'dbtype' => 'int',
'precision' => '20',
'phptype' => 'timestamp',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'CreatedResources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'createdby',
'cardinality' => 'many',
'owner' => 'local',
),
'EditedResources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'editedby',
'cardinality' => 'many',
'owner' => 'local',
),
'DeletedResources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'deletedby',
'cardinality' => 'many',
'owner' => 'local',
),
'PublishedResources' =>
array (
'class' => 'MODX\\Revolution\\modResource',
'local' => 'id',
'foreign' => 'publishedby',
'cardinality' => 'many',
'owner' => 'local',
),
'SentMessages' =>
array (
'class' => 'MODX\\Revolution\\modUserMessage',
'local' => 'id',
'foreign' => 'sender',
'cardinality' => 'many',
'owner' => 'local',
),
'ReceivedMessages' =>
array (
'class' => 'MODX\\Revolution\\modUserMessage',
'local' => 'id',
'foreign' => 'recipient',
'cardinality' => 'many',
'owner' => 'local',
),
'PrimaryGroup' =>
array (
'class' => 'MODX\\Revolution\\modUserGroup',
'local' => 'primary_group',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
'Acls' =>
array (
'class' => 'modAccess',
'local' => 'id',
'foreign' => 'principal',
'cardinality' => 'many',
'owner' => 'local',
),
'Profile' =>
array (
'class' => 'MODX\\Revolution\\modUserProfile',
'local' => 'id',
'foreign' => 'internalKey',
'cardinality' => 'one',
'owner' => 'local',
),
'UserSettings' =>
array (
'class' => 'MODX\\Revolution\\modUserSetting',
'local' => 'id',
'foreign' => 'user',
'cardinality' => 'many',
'owner' => 'local',
),
'UserGroupMembers' =>
array (
'class' => 'MODX\\Revolution\\modUserGroupMember',
'local' => 'id',
'foreign' => 'member',
'cardinality' => 'many',
'owner' => 'local',
),
'ActiveUsers' =>
array (
'class' => 'MODX\\Revolution\\modActiveUser',
'local' => 'id',
'foreign' => 'internalKey',
'cardinality' => 'many',
'owner' => 'local',
),
'DashboardWidgets' =>
array (
'class' => 'MODX\\Revolution\\modDashboardWidgetPlacement',
'local' => 'id',
'foreign' => 'user',
'cardinality' => 'many',
'owner' => 'local',
),
),
'_relatedObjects' =>
array (
'CreatedResources' =>
array (
),
'EditedResources' =>
array (
),
'DeletedResources' =>
array (
),
'PublishedResources' =>
array (
),
'SentMessages' =>
array (
),
'ReceivedMessages' =>
array (
),
'PrimaryGroup' => NULL,
'Acls' =>
array (
),
'Profile' => NULL,
'UserSettings' =>
array (
),
'UserGroupMembers' =>
array (
),
'ActiveUsers' =>
array (
),
'DashboardWidgets' =>
array (
),
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => true,
'_cacheFlag' => true,
'_options' =>
array (
),
'_attributes' =>
array (
),
'sessionContexts' =>
array (
),
)),
'contentTypes' => NULL,
'resourceIdentifier' => 15,
'resourceMethod' => 'id',
'resourceGenerated' => false,
'version' => NULL,
'site_id' => 'modx69b8dec798b933.73097230',
'uuid' => 'bbab6a33-5fd0-4a3f-80d2-686932cf714a',
'_initialized' => true,
'sjscripts' =>
array (
),
'jscripts' =>
array (
),
'loadedjscripts' =>
array (
),
'virtualDir' => NULL,
'errorHandler' =>
\MODX\Revolution\Error\modErrorHandler::__set_state(array(
'modx' => NULL,
'stack' =>
array (
),
)),
'error' =>
\MODX\Revolution\Error\modError::__set_state(array(
'errors' =>
array (
),
'message' => '',
'modx' => NULL,
'total' => 0,
'status' => false,
'_objects' =>
array (
),
)),
'controller' => NULL,
'registry' =>
\MODX\Revolution\Registry\modRegistry::__set_state(array(
'modx' => NULL,
'_options' =>
array (
),
'_invalidKeys' =>
array (
0 => 'modx',
),
'_registers' =>
array (
),
'_loggingRegister' => NULL,
'_prevLogTarget' => NULL,
'_prevLogLevel' => NULL,
)),
'mail' => NULL,
'smarty' => NULL,
'processors' =>
array (
),
'sanitizePatterns' =>
array (
'scripts' => '@<script[^>]*?>.*?</script>@si',
'entities' => '@&#(\\d+);@',
'tags1' => '@\\[\\[(?:(?!(\\[\\[|\\]\\])).)*\\]\\]@si',
'tags2' => '@(\\[\\[|\\]\\])@si',
),
'_sessionState' => 1,
'_config' =>
array (
'cache_key' => 'default',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_path' => '/home4/silksto1/public_html/core/cache/',
'table_prefix' => 'modx_',
'hydrate_fields' => true,
'hydrate_related_objects' => true,
'hydrate_adhoc_fields' => true,
'validator_class' => 'MODX\\Revolution\\Validation\\modValidator',
'validate_on_save' => true,
'cache_system_settings' => true,
'cache_system_settings_key' => 'system_settings',
'load_deprecated_global_class_aliases' => true,
'connections' =>
array (
0 =>
array (
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'username' => 'silksto1_ss_user',
'password' => '!Kx9TV5Gbwyp',
'options' =>
array (
'connection_mutable' => true,
),
'driverOptions' =>
array (
3 => 0,
),
),
),
'connection_mutable' => true,
'dbtype' => 'mysql',
'host' => 'localhost',
'dbname' => 'silksto1_silkstory',
'charset' => 'utf8',
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'username' => 'silksto1_ss_user',
'password' => '!Kx9TV5Gbwyp',
'driverOptions' =>
array (
3 => 0,
),
'base_url' => '/',
'base_path' => '/home4/silksto1/public_html/',
'core_path' => '/home4/silksto1/public_html/core/',
'url_scheme' => 'https://',
'http_host' => 'www.silkstory.net',
'site_url' => 'https://www.silkstory.net/',
'manager_path' => '/home4/silksto1/public_html/manager/',
'manager_url' => '/manager/',
'assets_path' => '/home4/silksto1/public_html/assets/',
'assets_url' => '/assets/',
'connectors_path' => '/home4/silksto1/public_html/connectors/',
'connectors_url' => '/connectors/',
'connector_url' => '/connectors/index.php',
'processors_path' => '/home4/silksto1/public_html/core/src/Revolution/Processors/',
'request_param_id' => 'id',
'request_param_alias' => 'q',
'https_port' => 443,
'error_handler_class' => 'MODX\\Revolution\\Error\\modErrorHandler',
'server_port' => '443',
),
'_systemConfig' =>
array (
'cache_key' => 'default',
'cache_handler' => 'xPDO\\Cache\\xPDOFileCache',
'cache_path' => '/home4/silksto1/public_html/core/cache/',
'table_prefix' => 'modx_',
'hydrate_fields' => true,
'hydrate_related_objects' => true,
'hydrate_adhoc_fields' => true,
'validator_class' => 'MODX\\Revolution\\Validation\\modValidator',
'validate_on_save' => true,
'cache_system_settings' => true,
'cache_system_settings_key' => 'system_settings',
'load_deprecated_global_class_aliases' => true,
'connections' =>
array (
0 =>
array (
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'username' => 'silksto1_ss_user',
'password' => '!Kx9TV5Gbwyp',
'options' =>
array (
'connection_mutable' => true,
),
'driverOptions' =>
array (
3 => 0,
),
),
),
'connection_mutable' => true,
'dbtype' => 'mysql',
'host' => 'localhost',
'dbname' => 'silksto1_silkstory',
'charset' => 'utf8',
'dsn' => 'mysql:host=localhost;dbname=silksto1_silkstory;charset=utf8',
'username' => 'silksto1_ss_user',
'password' => '!Kx9TV5Gbwyp',
'driverOptions' =>
array (
3 => 0,
),
'base_url' => '/',
'base_path' => '/home4/silksto1/public_html/',
'core_path' => '/home4/silksto1/public_html/core/',
'url_scheme' => 'https://',
'http_host' => 'www.silkstory.net',
'site_url' => 'https://www.silkstory.net/',
'manager_path' => '/home4/silksto1/public_html/manager/',
'manager_url' => '/manager/',
'assets_path' => '/home4/silksto1/public_html/assets/',
'assets_url' => '/assets/',
'connectors_path' => '/home4/silksto1/public_html/connectors/',
'connectors_url' => '/connectors/',
'connector_url' => '/connectors/index.php',
'processors_path' => '/home4/silksto1/public_html/core/src/Revolution/Processors/',
'request_param_id' => 'id',
'request_param_alias' => 'q',
'https_port' => 443,
'error_handler_class' => 'MODX\\Revolution\\Error\\modErrorHandler',
'server_port' => '443',
'access_category_enabled' => '1',
'access_context_enabled' => '1',
'access_policies_version' => '1.0',
'access_resource_group_enabled' => '1',
'allow_forward_across_contexts' => '',
'allow_manager_login_forgot_password' => '1',
'allow_multiple_emails' => '1',
'allow_tags_in_post' => '',
'anonymous_sessions' => '1',
'archive_with' => '',
'automatic_alias' => '1',
'automatic_template_assignment' => 'sibling',
'auto_check_pkg_updates' => '1',
'auto_check_pkg_updates_cache_expire' => '15',
'auto_isfolder' => '1',
'auto_menuindex' => '1',
'babel.babelTvName' => 'babelLanguageLinks',
'babel.contextKeys' => 'web,en,zh',
'babel.debug' => '0',
'babel.displayChunk' => 'tplBabelContextMenu',
'babel.displayText' => 'language',
'babel.restrictToGroup' => '1',
'babel.syncFields' => '',
'babel.syncTvs' => '',
'base_help_url' => '//docs.modx.com/help/',
'blocked_minutes' => '60',
'cache_alias_map' => '1',
'cache_context_settings' => '1',
'cache_db' => '',
'cache_db_expires' => '0',
'cache_db_session' => '',
'cache_db_session_lifetime' => '',
'cache_default' => '1',
'cache_expires' => '0',
'cache_format' => '0',
'cache_lang_js' => '1',
'cache_lexicon_topics' => '1',
'cache_noncore_lexicon_topics' => '1',
'cache_resource' => '1',
'cache_resource_clear_partial' => '',
'cache_resource_expires' => '0',
'cache_scripts' => '1',
'clear_cache_refresh_trees' => '',
'compress_css' => '1',
'compress_js' => '1',
'confirm_navigation' => '1',
'container_suffix' => '/',
'context_tree_sort' => '1',
'context_tree_sortby' => 'rank',
'context_tree_sortdir' => 'ASC',
'cultureKey' => 'en',
'date_timezone' => '',
'debug' => '',
'default_content_type' => '1',
'default_context' => 'web',
'default_duplicate_publish_option' => 'preserve',
'default_media_source' => '1',
'default_media_source_type' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'default_per_page' => '20',
'default_template' => '2',
'default_username' => '(anonymous)',
'emailsender' => 'sunny.uy@gmail.com',
'enable_dragdrop' => '1',
'enable_gravatar' => '',
'enable_template_picker_in_tree' => '1',
'error_log_filename' => 'error.log',
'error_log_filepath' => '',
'error_page' => '1',
'failed_login_attempts' => '5',
'feed_modx_news' => 'https://feeds.feedburner.com/modx-announce',
'feed_modx_news_enabled' => '1',
'feed_modx_security' => 'https://forums.modx.com/board.xml?board=294',
'feed_modx_security_enabled' => '1',
'form_customization_use_all_groups' => '',
'forward_merge_excludes' => 'type,published,class_key',
'friendly_alias_lowercase_only' => '1',
'friendly_alias_max_length' => '0',
'friendly_alias_realtime' => '1',
'friendly_alias_restrict_chars' => 'pattern',
'friendly_alias_restrict_chars_pattern' => '/[\\0\\x0B\\t\\n\\r\\f\\a&=+%#<>"~:`@\\?\\[\\]\\{\\}\\|\\^\'\\\\]/',
'friendly_alias_strip_element_tags' => '1',
'friendly_alias_translit' => 'none',
'friendly_alias_translit_class' => 'translit.modTransliterate',
'friendly_alias_translit_class_path' => '/home4/silksto1/public_html/core/components/',
'friendly_alias_trim_chars' => '/.-_',
'friendly_alias_word_delimiter' => '-',
'friendly_alias_word_delimiters' => '-_',
'friendly_urls' => '1',
'friendly_urls_strict' => '',
'global_duplicate_uri_check' => '',
'hidemenu_default' => '',
'inline_help' => '1',
'link_tag_scheme' => '-1',
'locale' => '',
'lock_ttl' => '360',
'login_background_image' => '',
'login_help_button' => '',
'login_logo' => '',
'log_deprecated' => '1',
'log_level' => '1',
'log_snippet_not_found' => '1',
'log_target' => 'FILE',
'mail_charset' => 'UTF-8',
'mail_dkim_domain' => '',
'mail_dkim_identity' => '',
'mail_dkim_passphrase' => '',
'mail_dkim_privatekeyfile' => '',
'mail_dkim_privatekeystring' => '',
'mail_dkim_selector' => '',
'mail_encoding' => '8bit',
'mail_inlinestyle_inline' => '1',
'mail_inlinestyle_remove_style_tags' => '',
'mail_smtp_auth' => '',
'mail_smtp_autotls' => '1',
'mail_smtp_helo' => '',
'mail_smtp_hosts' => 'localhost',
'mail_smtp_keepalive' => '',
'mail_smtp_pass' => '',
'mail_smtp_port' => '587',
'mail_smtp_secure' => '',
'mail_smtp_single_to' => '',
'mail_smtp_timeout' => '10',
'mail_smtp_user' => '',
'mail_use_smtp' => '',
'main_nav_parent' => 'topnav',
'manager_datetime_empty_value' => '—',
'manager_datetime_separator' => ', ',
'manager_date_format' => 'Y-m-d',
'manager_direction' => 'ltr',
'manager_favicon_url' => 'favicon.ico',
'manager_login_url_alternate' => '',
'manager_logo' => '',
'manager_theme' => 'default',
'manager_time_format' => 'H:i',
'manager_tooltip_delay' => '2300',
'manager_tooltip_enable' => '1',
'manager_use_fullname' => '',
'manager_week_start' => '0',
'mgr_source_icon' => 'icon-folder-open-o',
'mgr_tree_icon_context' => 'tree-context',
'modx_browser_default_sort' => 'name',
'modx_browser_default_viewmode' => 'grid',
'modx_browser_tree_hide_files' => '1',
'modx_browser_tree_hide_tooltips' => '1',
'modx_charset' => 'UTF-8',
'package_installer_at_top' => '1',
'parser_recurse_uncacheable' => '1',
'passwordless_activated' => '',
'passwordless_expiration' => '3600',
'password_generated_length' => '10',
'password_min_length' => '8',
'photo_profile_source' => '',
'phpthumb_allow_src_above_docroot' => '',
'phpthumb_cache_maxage' => '30',
'phpthumb_cache_maxfiles' => '10000',
'phpthumb_cache_maxsize' => '100',
'phpthumb_cache_source_enabled' => '',
'phpthumb_document_root' => '',
'phpthumb_error_bgcolor' => 'CCCCFF',
'phpthumb_error_fontsize' => '1',
'phpthumb_error_textcolor' => 'FF0000',
'phpthumb_far' => 'C',
'phpthumb_imagemagick_path' => '',
'phpthumb_nohotlink_enabled' => '1',
'phpthumb_nohotlink_erase_image' => '1',
'phpthumb_nohotlink_text_message' => 'Off-server thumbnailing is not allowed',
'phpthumb_nohotlink_valid_domains' => 'www.silkstory.net',
'phpthumb_nooffsitelink_enabled' => '',
'phpthumb_nooffsitelink_erase_image' => '1',
'phpthumb_nooffsitelink_require_refer' => '',
'phpthumb_nooffsitelink_text_message' => 'Off-server linking is not allowed',
'phpthumb_nooffsitelink_valid_domains' => 'www.silkstory.net',
'phpthumb_nooffsitelink_watermark_src' => '',
'phpthumb_zoomcrop' => '0',
'preserve_menuindex' => '',
'principal_targets' => 'MODX\\Revolution\\modAccessContext,MODX\\Revolution\\modAccessResourceGroup,MODX\\Revolution\\modAccessCategory,MODX\\Revolution\\Sources\\modAccessMediaSource,MODX\\Revolution\\modAccessNamespace',
'proxy_auth_type' => 'BASIC',
'proxy_host' => '',
'proxy_password' => '',
'proxy_port' => '',
'proxy_username' => '',
'publish_default' => '',
'quick_search_in_content' => '1',
'quick_search_result_max' => '10',
'request_controller' => 'index.php',
'request_method_strict' => '',
'resource_static_allow_absolute' => '0',
'resource_static_path' => '/home4/silksto1/public_html/assets/',
'resource_tree_node_name' => 'pagetitle',
'resource_tree_node_name_fallback' => 'alias',
'resource_tree_node_tooltip' => '',
'richtext_default' => '1',
'search_default' => '1',
'send_poweredby_header' => '',
'server_offset_time' => '0',
'session_cookie_domain' => '',
'session_cookie_httponly' => '1',
'session_cookie_lifetime' => '604800',
'session_cookie_path' => '',
'session_cookie_samesite' => '',
'session_cookie_secure' => '',
'session_gc_maxlifetime' => '604800',
'session_handler_class' => 'MODX\\Revolution\\modSessionHandler',
'session_name' => '',
'settings_distro' => 'traditional',
'settings_version' => '3.2.0-pl',
'set_header' => '1',
'show_tv_categories_header' => '1',
'site_name' => 'MODX Revolution',
'site_start' => '1',
'site_status' => '1',
'site_unavailable_message' => '[[%site_unavailable_message]]',
'site_unavailable_page' => '0',
'static_elements_automate_chunks' => '',
'static_elements_automate_plugins' => '',
'static_elements_automate_snippets' => '',
'static_elements_automate_templates' => '',
'static_elements_automate_tvs' => '',
'static_elements_basepath' => '',
'static_elements_default_category' => '0',
'static_elements_default_mediasource' => '0',
'static_elements_html_extension' => '.tpl',
'symlink_merge_fields' => '1',
'syncsite_default' => '1',
'topmenu_show_descriptions' => '1',
'tree_default_sort' => 'menuindex',
'tree_root_id' => '0',
'tvs_below_content' => '',
'unauthorized_page' => '1',
'upload_files' => 'txt,html,htm,xml,js,js.map,css,scss,less,css.map,zip,gz,rar,z,tgz,tar,mp3,mp4,aac,wav,au,wmv,avi,mpg,mpeg,pdf,doc,docx,xls,xlsx,ppt,pptx,jpg,jpeg,png,tiff,svg,svgz,gif,psd,ico,bmp,webp,odt,ods,odp,odb,odg,odf,md,ttf,woff,woff2,eot',
'upload_file_exists' => '1',
'upload_images' => 'jpg,jpeg,png,gif,psd,ico,bmp,tiff,svg,svgz,webp',
'upload_maxsize' => '33554432',
'upload_media' => 'mp3,wav,au,wmv,avi,mpg,mpeg',
'upload_translit' => '1',
'upload_translit_restrict_chars_pattern' => '/[\\0\\x0B\\t\\n\\r\\f\\a&=+%#<>"~:`@\\?\\[\\]\\{\\}\\|\\^\'\\\\]/',
'user_nav_parent' => 'usernav',
'use_alias_path' => '',
'use_context_resource_table' => '1',
'use_editor' => '1',
'use_frozen_parent_uris' => '',
'use_multibyte' => '1',
'use_weblink_target' => '',
'welcome_action' => 'welcome',
'welcome_namespace' => 'core',
'welcome_screen' => '',
'welcome_screen_url' => '//misc.modx.com/revolution/welcome.30.html ',
'which_editor' => '',
'which_element_editor' => '',
'xhtml_urls' => '1',
),
'_userConfig' =>
array (
),
'_logSequence' => 0,
'pluginCache' =>
array (
1 =>
array (
'id' => 1,
'source' => 0,
'property_preprocess' => 0,
'name' => 'Babel',
'description' => 'Links and synchronizes multilingual resources.',
'editor_type' => 0,
'category' => 1,
'cache_type' => 0,
'plugincode' => '/**
* Babel Plugin
*
* @package babel
* @subpackage plugin
*
* @var modX $modx
* @var array $scriptProperties
*/
$className = \'mikrobi\\Babel\\Plugins\\Events\\\\\' . $modx->event->name;
$corePath = $modx->getOption(\'babel.core_path\', null, $modx->getOption(\'core_path\') . \'components/babel/\');
/** @var Babel $babel */
$babel = $modx->getService(\'babel\', Babel::class, $corePath . \'model/babel/\', [
\'core_path\' => $corePath
]);
if ($babel) {
if (class_exists($className)) {
$handler = new $className($modx, $scriptProperties);
if (get_class($handler) == $className) {
$handler->run();
} else {
$modx->log(xPDO::LOG_LEVEL_ERROR, $className . \' could not be initialized!\', \'\', \'Babel Plugin\');
}
} else {
$modx->log(xPDO::LOG_LEVEL_ERROR, $className . \' was not found!\', \'\', \'Babel Plugin\');
}
}
return;',
'locked' => 0,
'properties' => 'a:0:{}',
'disabled' => 0,
'moduleguid' => '',
'static' => 0,
'static_file' => '',
),
2 =>
array (
'id' => 2,
'source' => 1,
'property_preprocess' => 0,
'name' => 'gatewaySwitch',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'plugincode' => 'if ($modx->context->get(\'key\') != "mgr") {
switch ($_REQUEST[\'cultureKey\']) {
case \'en\':
$modx->switchContext(\'en\');
break;
case \'zh\':
$modx->switchContext(\'zh\');
break;
default:
$modx->switchContext(\'web\');
break;
}
unset($_GET[\'cultureKey\']);
}',
'locked' => 0,
'properties' => 'a:0:{}',
'disabled' => 0,
'moduleguid' => '',
'static' => 0,
'static_file' => '',
),
),
'sourceCache' =>
array (
'MODX\\Revolution\\modChunk' =>
array (
'top' =>
array (
'fields' =>
array (
'id' => 2,
'source' => 1,
'property_preprocess' => false,
'name' => 'top',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => '<!DOCTYPE html>
<html lang="[[!GetCurrentLanguage]]">
<head>
[[$googleAnalytics]][[!GetOgTags]]
<base href="[[++site_url]]">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>SilkStory - [[*longtitle]]</title>
<meta name="description" content="[[*description]]">
<meta name="keywords" content="[[*introtext]]">
<meta property="og:title" content="SilkStory - [[*longtitle]]">
<meta property="og:description" content="[[*description]]">
<meta property="og:image" content="">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/styles.css?v=3">
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8212661150885235" crossorigin="anonymous"></script>
[[*ExtraHeadScripts]]
</head>
<body id="[[*bodyId]]" class="[[*bodyClass]]">
[[$shareThis]]
<header>
<section class="navbar2">
<div class="container d-xxl-flex justify-content-xxl-end">
<div class="d-flex d-sm-flex d-md-flex justify-content-end sec-nav">[[!LanguageSwitcher]]</div>
</div>
</section>
<nav class="navbar navbar-light navbar-expand-md">
<div class="container">
<a class="navbar-brand" href="/[[!GetCurrentLanguage]]">
<span class="en">SilkStory</span>
<span class="zh">
絲傳
</span>
</a>
<a
class="nav-link search d-block d-sm-none"
href="#"
data-bs-target="#search"
data-bs-toggle="modal"
style="margin-left: auto;padding-right: 20px; font-size:26px;"
>
<i class="bi bi-search search"></i>
</a>
<button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-1">
<span class="visually-hidden">
Toggle
navigation
</span>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse d-md-flex d-xxl-flex justify-content-md-end" id="navcol-1">
[[Wayfinder? &startId=`0`&level=`1`&outerTpl=`menuOuterTpl`&rowTpl=`menuRowTpl`]]
</div>
</div>
</nav>
</header>
<main>
[[!If? &subject=`[[*showBreadcrumbs]]` &operator=`EQ` &operand=`1` &then=`[[$breadcrumbs]]`]]
',
'locked' => false,
'properties' =>
array (
),
'static' => false,
'static_file' => '',
'content' => '<!DOCTYPE html>
<html lang="[[!GetCurrentLanguage]]">
<head>
[[$googleAnalytics]][[!GetOgTags]]
<base href="[[++site_url]]">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>SilkStory - [[*longtitle]]</title>
<meta name="description" content="[[*description]]">
<meta name="keywords" content="[[*introtext]]">
<meta property="og:title" content="SilkStory - [[*longtitle]]">
<meta property="og:description" content="[[*description]]">
<meta property="og:image" content="">
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/styles.css?v=3">
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8212661150885235" crossorigin="anonymous"></script>
[[*ExtraHeadScripts]]
</head>
<body id="[[*bodyId]]" class="[[*bodyClass]]">
[[$shareThis]]
<header>
<section class="navbar2">
<div class="container d-xxl-flex justify-content-xxl-end">
<div class="d-flex d-sm-flex d-md-flex justify-content-end sec-nav">[[!LanguageSwitcher]]</div>
</div>
</section>
<nav class="navbar navbar-light navbar-expand-md">
<div class="container">
<a class="navbar-brand" href="/[[!GetCurrentLanguage]]">
<span class="en">SilkStory</span>
<span class="zh">
絲傳
</span>
</a>
<a
class="nav-link search d-block d-sm-none"
href="#"
data-bs-target="#search"
data-bs-toggle="modal"
style="margin-left: auto;padding-right: 20px; font-size:26px;"
>
<i class="bi bi-search search"></i>
</a>
<button data-bs-toggle="collapse" class="navbar-toggler" data-bs-target="#navcol-1">
<span class="visually-hidden">
Toggle
navigation
</span>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse d-md-flex d-xxl-flex justify-content-md-end" id="navcol-1">
[[Wayfinder? &startId=`0`&level=`1`&outerTpl=`menuOuterTpl`&rowTpl=`menuRowTpl`]]
</div>
</div>
</nav>
</header>
<main>
[[!If? &subject=`[[*showBreadcrumbs]]` &operator=`EQ` &operand=`1` &then=`[[$breadcrumbs]]`]]
',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'googleAnalytics' =>
array (
'fields' =>
array (
'id' => 5,
'source' => 1,
'property_preprocess' => false,
'name' => 'googleAnalytics',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => '<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-79W9MR2WZM"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(\'js\', new Date());
gtag(\'config\', \'G-79W9MR2WZM\');
</script>',
'locked' => false,
'properties' =>
array (
),
'static' => false,
'static_file' => '',
'content' => '<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-79W9MR2WZM"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(\'js\', new Date());
gtag(\'config\', \'G-79W9MR2WZM\');
</script>',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'shareThis' =>
array (
'fields' =>
array (
'id' => 4,
'source' => 1,
'property_preprocess' => false,
'name' => 'shareThis',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => '<script type=\'text/javascript\' src=\'https://platform-api.sharethis.com/js/sharethis.js#property=5e805c309f548d001a3832ba&product=sop\' async=\'async\'></script>',
'locked' => false,
'properties' =>
array (
),
'static' => false,
'static_file' => '',
'content' => '<script type=\'text/javascript\' src=\'https://platform-api.sharethis.com/js/sharethis.js#property=5e805c309f548d001a3832ba&product=sop\' async=\'async\'></script>',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'breadcrumbs' =>
array (
'fields' =>
array (
'id' => 3,
'source' => 1,
'property_preprocess' => false,
'name' => 'breadcrumbs',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => '<div class="container">
<div class="row">
<div class="col-md-12 pt-3">[[!BreadCrumb? &containerTpl=`BreadCrumbContainerTpl` &homeCrumbTpl=`myLinkCrumbTpl` &linkCrumbTpl=`myLinkCrumbTpl` ¤tCrumbTpl=`myCurrentCrumbTpl` &showHidden=`1` &showHomeCrumb=`1`]]</div>
</div>
</div>',
'locked' => false,
'properties' =>
array (
),
'static' => false,
'static_file' => '',
'content' => '<div class="container">
<div class="row">
<div class="col-md-12 pt-3">[[!BreadCrumb? &containerTpl=`BreadCrumbContainerTpl` &homeCrumbTpl=`myLinkCrumbTpl` &linkCrumbTpl=`myLinkCrumbTpl` ¤tCrumbTpl=`myCurrentCrumbTpl` &showHidden=`1` &showHomeCrumb=`1`]]</div>
</div>
</div>',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'bottom' =>
array (
'fields' =>
array (
'id' => 1,
'source' => 1,
'property_preprocess' => false,
'name' => 'bottom',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => '</main>[[*BeforeBodyScripts]][[!searchBox]]
<footer class="text-center py-4">
<div class="container">
<div class="row">
<div class="col d-xxl-flex justify-content-xxl-start">
<p class="text-muted my-2">Copyright © [[!GetYear]] SilkStory</p>
</div>
<div class="col d-flex justify-content-end social-icons">
<ul class="list-inline my-2">
<li class="list-inline-item me-4">Follow Us</li>
<li class="list-inline-item me-4"><a href="https://www.facebook.com/meizai.chou" target="_blank"><i class="bi bi-facebook"></i></a></li>
<li class="list-inline-item me-4"><a href="https://www.youtube.com/user/choumeizai" target="_blank"><i class="bi bi-youtube"></i></li>
<li class="list-inline-item me-4"><a href="mailto:info@smallboy.net" target="_blank"><i class="bi bi-envelope"></i></li>
</ul>
</div>
</div>
</div>
</footer>
<script src=" https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</body>',
'locked' => false,
'properties' =>
array (
),
'static' => false,
'static_file' => '',
'content' => '</main>[[*BeforeBodyScripts]][[!searchBox]]
<footer class="text-center py-4">
<div class="container">
<div class="row">
<div class="col d-xxl-flex justify-content-xxl-start">
<p class="text-muted my-2">Copyright © [[!GetYear]] SilkStory</p>
</div>
<div class="col d-flex justify-content-end social-icons">
<ul class="list-inline my-2">
<li class="list-inline-item me-4">Follow Us</li>
<li class="list-inline-item me-4"><a href="https://www.facebook.com/meizai.chou" target="_blank"><i class="bi bi-facebook"></i></a></li>
<li class="list-inline-item me-4"><a href="https://www.youtube.com/user/choumeizai" target="_blank"><i class="bi bi-youtube"></i></li>
<li class="list-inline-item me-4"><a href="mailto:info@smallboy.net" target="_blank"><i class="bi bi-envelope"></i></li>
</ul>
</div>
</div>
</div>
</footer>
<script src=" https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</body>',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
),
'MODX\\Revolution\\modSnippet' =>
array (
'Wayfinder' =>
array (
'fields' =>
array (
'id' => 5,
'source' => 0,
'property_preprocess' => false,
'name' => 'Wayfinder',
'description' => 'Wayfinder for MODx Revolution 2.0.0-beta-5 and later.',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => '/**
* Wayfinder Snippet to build site navigation menus
*
* Totally refactored from original DropMenu nav builder to make it easier to
* create custom navigation by using chunks as output templates. By using
* templates, many of the paramaters are no longer needed for flexible output
* including tables, unordered- or ordered-lists (ULs or OLs), definition lists
* (DLs) or in any other format you desire.
*
* @version 2.1.1-beta5
* @author Garry Nutting (collabpad.com)
* @author Kyle Jaebker (muddydogpaws.com)
* @author Ryan Thrash (modx.com)
* @author Shaun McCormick (modx.com)
* @author Jason Coward (modx.com)
*
* @example [[Wayfinder? &startId=`0`]]
*
* @var modX $modx
* @var array $scriptProperties
*
* @package wayfinder
*/
$wayfinder_base = $modx->getOption(\'wayfinder.core_path\',$scriptProperties,$modx->getOption(\'core_path\').\'components/wayfinder/\');
/* include a custom config file if specified */
if (isset($scriptProperties[\'config\'])) {
$scriptProperties[\'config\'] = str_replace(\'../\',\'\',$scriptProperties[\'config\']);
$scriptProperties[\'config\'] = $wayfinder_base.\'configs/\'.$scriptProperties[\'config\'].\'.config.php\';
} else {
$scriptProperties[\'config\'] = $wayfinder_base.\'configs/default.config.php\';
}
if (file_exists($scriptProperties[\'config\'])) {
include $scriptProperties[\'config\'];
}
/* include wayfinder class */
include_once $wayfinder_base.\'wayfinder.class.php\';
if (!$modx->loadClass(\'Wayfinder\',$wayfinder_base,true,true)) {
return \'error: Wayfinder class not found\';
}
$wf = new Wayfinder($modx,$scriptProperties);
/* get user class definitions
* TODO: eventually move these into config parameters */
$wf->_css = array(
\'first\' => isset($firstClass) ? $firstClass : \'\',
\'last\' => isset($lastClass) ? $lastClass : \'last\',
\'here\' => isset($hereClass) ? $hereClass : \'active\',
\'parent\' => isset($parentClass) ? $parentClass : \'\',
\'row\' => isset($rowClass) ? $rowClass : \'\',
\'outer\' => isset($outerClass) ? $outerClass : \'\',
\'inner\' => isset($innerClass) ? $innerClass : \'\',
\'level\' => isset($levelClass) ? $levelClass: \'\',
\'self\' => isset($selfClass) ? $selfClass : \'\',
\'weblink\' => isset($webLinkClass) ? $webLinkClass : \'\'
);
/* get user templates
* TODO: eventually move these into config parameters */
$wf->_templates = array(
\'outerTpl\' => isset($outerTpl) ? $outerTpl : \'\',
\'rowTpl\' => isset($rowTpl) ? $rowTpl : \'\',
\'parentRowTpl\' => isset($parentRowTpl) ? $parentRowTpl : \'\',
\'parentRowHereTpl\' => isset($parentRowHereTpl) ? $parentRowHereTpl : \'\',
\'hereTpl\' => isset($hereTpl) ? $hereTpl : \'\',
\'innerTpl\' => isset($innerTpl) ? $innerTpl : \'\',
\'innerRowTpl\' => isset($innerRowTpl) ? $innerRowTpl : \'\',
\'innerHereTpl\' => isset($innerHereTpl) ? $innerHereTpl : \'\',
\'activeParentRowTpl\' => isset($activeParentRowTpl) ? $activeParentRowTpl : \'\',
\'categoryFoldersTpl\' => isset($categoryFoldersTpl) ? $categoryFoldersTpl : \'\',
\'startItemTpl\' => isset($startItemTpl) ? $startItemTpl : \'\'
);
/* process Wayfinder */
$output = $wf->run();
if ($wf->_config[\'debug\']) {
$output .= $wf->renderDebugOutput();
}
/* output results */
if ($wf->_config[\'ph\']) {
$modx->setPlaceholder($wf->_config[\'ph\'],$output);
} else {
return $output;
}',
'locked' => false,
'properties' =>
array (
'level' =>
array (
'name' => 'level',
'desc' => 'prop_wayfinder.level_desc',
'type' => 'textfield',
'options' => '',
'value' => '0',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Depth (number of levels) to build the menu from. 0 goes through all levels.',
'area' => '',
'area_trans' => '',
),
'includeDocs' =>
array (
'name' => 'includeDocs',
'desc' => 'prop_wayfinder.includeDocs_desc',
'type' => 'textfield',
'options' => '',
'value' => '0',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Acts as a filter and will limit the output to only the documents specified in this parameter. The startId is still required.',
'area' => '',
'area_trans' => '',
),
'excludeDocs' =>
array (
'name' => 'excludeDocs',
'desc' => 'prop_wayfinder.excludeDocs_desc',
'type' => 'textfield',
'options' => '',
'value' => '0',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Acts as a filter and will remove the documents specified in this parameter from the output. The startId is still required.',
'area' => '',
'area_trans' => '',
),
'contexts' =>
array (
'name' => 'contexts',
'desc' => 'prop_wayfinder.contexts_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Specify the contexts for the Resources that will be loaded in this menu. Useful when used with startId at 0 to show all first-level items. Note: This will increase load times a bit, but if you set cacheResults to 1, that will offset the load time.',
'area' => '',
'area_trans' => '',
),
'cacheResults' =>
array (
'name' => 'cacheResults',
'desc' => 'prop_wayfinder.cacheResults_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => true,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Cache the generated menu to the MODX Resource cache. Setting this to 1 will speed up the loading of your menus.',
'area' => '',
'area_trans' => '',
),
'cacheTime' =>
array (
'name' => 'cacheTime',
'desc' => 'prop_wayfinder.cacheTime_desc',
'type' => 'textfield',
'options' => '',
'value' => 3600,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'The number of seconds to store the cached menu, if cacheResults is 1. Set to 0 to store indefinitely until cache is manually cleared.',
'area' => '',
'area_trans' => '',
),
'ph' =>
array (
'name' => 'ph',
'desc' => 'prop_wayfinder.ph_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => false,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'To display send the output of Wayfinder to a placeholder set the ph parameter equal to the name of the desired placeholder. All output including the debugging (if on) will be sent to the placeholder specified.',
'area' => '',
'area_trans' => '',
),
'debug' =>
array (
'name' => 'debug',
'desc' => 'prop_wayfinder.debug_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => false,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'With the debug parameter set to 1, Wayfinder will output information on how each Resource was processed.',
'area' => '',
'area_trans' => '',
),
'ignoreHidden' =>
array (
'name' => 'ignoreHidden',
'desc' => 'prop_wayfinder.ignoreHidden_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => false,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'The ignoreHidden parameter allows Wayfinder to ignore the display in menu flag that can be set for each document. With this parameter set to 1, all Resources will be displayed regardless of the Display in Menu flag.',
'area' => '',
'area_trans' => '',
),
'hideSubMenus' =>
array (
'name' => 'hideSubMenus',
'desc' => 'prop_wayfinder.hideSubMenus_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => false,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'The hideSubMenus parameter will remove all non-active submenus from the Wayfinder output if set to 1. This parameter only works if multiple levels are being displayed.',
'area' => '',
'area_trans' => '',
),
'useWeblinkUrl' =>
array (
'name' => 'useWeblinkUrl',
'desc' => 'prop_wayfinder.useWeblinkUrl_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => true,
'lexicon' => 'wayfinder:properties',
'desc_trans' => ' If WebLinks are used in the output, Wayfinder will output the link specified in the WebLink instead of the normal MODx link. To use the standard display of WebLinks (like any other Resource) set this to 0.',
'area' => '',
'area_trans' => '',
),
'fullLink' =>
array (
'name' => 'fullLink',
'desc' => 'prop_wayfinder.fullLink_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => false,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'If set to 1, will display the entire, absolute URL in the link. (It is recommended to use scheme instead.)',
'area' => '',
'area_trans' => '',
),
'scheme' =>
array (
'name' => 'scheme',
'desc' => 'prop_wayfinder.scheme_desc',
'type' => 'list',
'options' =>
array (
0 =>
array (
'text' => 'prop_wayfinder.relative',
'value' => '',
'name' => 'Relative',
),
1 =>
array (
'text' => 'prop_wayfinder.absolute',
'value' => 'abs',
'name' => 'Absolute',
),
2 =>
array (
'text' => 'prop_wayfinder.full',
'value' => 'full',
'name' => 'Full',
),
),
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Determines how URLs are generated for each link. Set to "abs" to show the absolute URL, "full" to show the full URL, and blank to use the relative URL. Defaults to relative.',
'area' => '',
'area_trans' => '',
),
'sortOrder' =>
array (
'name' => 'sortOrder',
'desc' => 'prop_wayfinder.sortOrder_desc',
'type' => 'list',
'options' =>
array (
0 =>
array (
'text' => 'prop_wayfinder.ascending',
'value' => 'ASC',
'name' => 'Ascending',
),
1 =>
array (
'text' => 'prop_wayfinder.descending',
'value' => 'DESC',
'name' => 'Descending',
),
),
'value' => 'ASC',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Allows the menu to be sorted in either ascending or descending order.',
'area' => '',
'area_trans' => '',
),
'sortBy' =>
array (
'name' => 'sortBy',
'desc' => 'prop_wayfinder.sortBy_desc',
'type' => 'textfield',
'options' => '',
'value' => 'menuindex',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Sorts the output by any of the Resource fields on a level by level basis. This means that each submenu will be sorted independently of all other submenus at the same level. Random will sort the output differently every time the page is loaded if the snippet is called uncached.',
'area' => '',
'area_trans' => '',
),
'limit' =>
array (
'name' => 'limit',
'desc' => 'prop_wayfinder.limit_desc',
'type' => 'textfield',
'options' => '',
'value' => '0',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Causes Wayfinder to only process the number of items specified per level.',
'area' => '',
'area_trans' => '',
),
'cssTpl' =>
array (
'name' => 'cssTpl',
'desc' => 'prop_wayfinder.cssTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => false,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'This parameter allows for a chunk containing a link to a style sheet or style information to be inserted into the head section of the generated page.',
'area' => '',
'area_trans' => '',
),
'jsTpl' =>
array (
'name' => 'jsTpl',
'desc' => 'prop_wayfinder.jsTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => false,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'This parameter allows for a chunk containing some Javascript to be inserted into the head section of the generated page.',
'area' => '',
'area_trans' => '',
),
'rowIdPrefix' =>
array (
'name' => 'rowIdPrefix',
'desc' => 'prop_wayfinder.rowIdPrefix_desc',
'type' => 'textfield',
'options' => '',
'value' => false,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'If set, Wayfinder will replace the id placeholder with a unique id consisting of the specified prefix plus the Resource id.',
'area' => '',
'area_trans' => '',
),
'textOfLinks' =>
array (
'name' => 'textOfLinks',
'desc' => 'prop_wayfinder.textOfLinks_desc',
'type' => 'textfield',
'options' => '',
'value' => 'menutitle',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'This field will be inserted into the linktext placeholder.',
'area' => '',
'area_trans' => '',
),
'titleOfLinks' =>
array (
'name' => 'titleOfLinks',
'desc' => 'prop_wayfinder.titleOfLinks_desc',
'type' => 'textfield',
'options' => '',
'value' => 'pagetitle',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'This field will be inserted into the linktitle placeholder.',
'area' => '',
'area_trans' => '',
),
'displayStart' =>
array (
'name' => 'displayStart',
'desc' => 'prop_wayfinder.displayStart_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => false,
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Show the document as referenced by startId in the menu.',
'area' => '',
'area_trans' => '',
),
'firstClass' =>
array (
'name' => 'firstClass',
'desc' => 'prop_wayfinder.firstClass_desc',
'type' => 'textfield',
'options' => '',
'value' => 'first',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'CSS class for the first item at a given menu level.',
'area' => '',
'area_trans' => '',
),
'lastClass' =>
array (
'name' => 'lastClass',
'desc' => 'prop_wayfinder.lastClass_desc',
'type' => 'textfield',
'options' => '',
'value' => 'last',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'CSS class for the last item at a given menu level.',
'area' => '',
'area_trans' => '',
),
'hereClass' =>
array (
'name' => 'hereClass',
'desc' => 'prop_wayfinder.hereClass_desc',
'type' => 'textfield',
'options' => '',
'value' => 'active',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'CSS class for the items showing where you are, all the way up the chain.',
'area' => '',
'area_trans' => '',
),
'parentClass' =>
array (
'name' => 'parentClass',
'desc' => 'prop_wayfinder.parentClass_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'CSS class for menu items that are a container and have children.',
'area' => '',
'area_trans' => '',
),
'rowClass' =>
array (
'name' => 'rowClass',
'desc' => 'prop_wayfinder.rowClass_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'CSS class denoting each output row.',
'area' => '',
'area_trans' => '',
),
'outerClass' =>
array (
'name' => 'outerClass',
'desc' => 'prop_wayfinder.outerClass_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'CSS class for the outer template.',
'area' => '',
'area_trans' => '',
),
'innerClass' =>
array (
'name' => 'innerClass',
'desc' => 'prop_wayfinder.innerClass_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'CSS class for the inner template.',
'area' => '',
'area_trans' => '',
),
'levelClass' =>
array (
'name' => 'levelClass',
'desc' => 'prop_wayfinder.levelClass_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'CSS class denoting every output row level. The level number will be added to the specified class (level1, level2, level3 etc if you specified "level").',
'area' => '',
'area_trans' => '',
),
'selfClass' =>
array (
'name' => 'selfClass',
'desc' => 'prop_wayfinder.selfClass_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'CSS class for the current item.',
'area' => '',
'area_trans' => '',
),
'webLinkClass' =>
array (
'name' => 'webLinkClass',
'desc' => 'prop_wayfinder.webLinkClass_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'CSS class for weblink items.',
'area' => '',
'area_trans' => '',
),
'outerTpl' =>
array (
'name' => 'outerTpl',
'desc' => 'prop_wayfinder.outerTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for the outer most container; if not included, a string including "<ul>[[+wf.wrapper]]</ul>" is assumed.',
'area' => '',
'area_trans' => '',
),
'rowTpl' =>
array (
'name' => 'rowTpl',
'desc' => 'prop_wayfinder.rowTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for the regular row items.',
'area' => '',
'area_trans' => '',
),
'parentRowTpl' =>
array (
'name' => 'parentRowTpl',
'desc' => 'prop_wayfinder.parentRowTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for any Resource that is a container and has children. Remember the [wf.wrapper] placeholder to output the children documents.',
'area' => '',
'area_trans' => '',
),
'parentRowHereTpl' =>
array (
'name' => 'parentRowHereTpl',
'desc' => 'prop_wayfinder.parentRowHereTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for the current Resource if it is a container and has children. Remember the [wf.wrapper] placeholder to output the children documents.',
'area' => '',
'area_trans' => '',
),
'hereTpl' =>
array (
'name' => 'hereTpl',
'desc' => 'prop_wayfinder.hereTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for the current Resource.',
'area' => '',
'area_trans' => '',
),
'innerTpl' =>
array (
'name' => 'innerTpl',
'desc' => 'prop_wayfinder.innerTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for each submenu. If no innerTpl is specified the outerTpl is used in its place.',
'area' => '',
'area_trans' => '',
),
'innerRowTpl' =>
array (
'name' => 'innerRowTpl',
'desc' => 'prop_wayfinder.innerRowTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for the row items in a subfolder.',
'area' => '',
'area_trans' => '',
),
'innerHereTpl' =>
array (
'name' => 'innerHereTpl',
'desc' => 'prop_wayfinder.innerHereTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for the current Resource if it is in a subfolder.',
'area' => '',
'area_trans' => '',
),
'activeParentRowTpl' =>
array (
'name' => 'activeParentRowTpl',
'desc' => 'prop_wayfinder.activeParentRowTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for items that are containers, have children and are currently active in the tree.',
'area' => '',
'area_trans' => '',
),
'categoryFoldersTpl' =>
array (
'name' => 'categoryFoldersTpl',
'desc' => 'prop_wayfinder.categoryFoldersTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for category folders. Category folders are determined by setting the template to blank or by setting the link attributes field to rel="category".',
'area' => '',
'area_trans' => '',
),
'startItemTpl' =>
array (
'name' => 'startItemTpl',
'desc' => 'prop_wayfinder.startItemTpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Name of the chunk containing the template for the start item, if enabled via the &displayStart parameter. Note: the default template shows the start item but does not link it. If you do not need a link, a class can be applied to the default template using the parameter &firstClass=`className`.',
'area' => '',
'area_trans' => '',
),
'permissions' =>
array (
'name' => 'permissions',
'desc' => 'prop_wayfinder.permissions_desc',
'type' => 'textfield',
'options' => '',
'value' => 'list',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Will check for a permission on the Resource. Defaults to "list" - set to blank to skip normal permissions checks.',
'area' => '',
'area_trans' => '',
),
'hereId' =>
array (
'name' => 'hereId',
'desc' => 'prop_wayfinder.hereId_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Optional. If set, will change the "here" Resource to this ID. Defaults to the currently active Resource.',
'area' => '',
'area_trans' => '',
),
'where' =>
array (
'name' => 'where',
'desc' => 'prop_wayfinder.where_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Optional. A JSON object for where conditions for all items selected in the menu.',
'area' => '',
'area_trans' => '',
),
'templates' =>
array (
'name' => 'templates',
'desc' => 'prop_wayfinder.templates_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Optional. A comma-separated list of Template IDs to restrict selected Resources to.',
'area' => '',
'area_trans' => '',
),
'previewUnpublished' =>
array (
'name' => 'previewUnpublished',
'desc' => 'prop_wayfinder.previewunpublished_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'wayfinder:properties',
'desc_trans' => 'Optional. If set to Yes, if you are logged into the mgr and have the view_unpublished permission, it will allow previewing of unpublished resources in your menus in the front-end.',
'area' => '',
'area_trans' => '',
),
),
'moduleguid' => '',
'static' => false,
'static_file' => '',
'content' => '/**
* Wayfinder Snippet to build site navigation menus
*
* Totally refactored from original DropMenu nav builder to make it easier to
* create custom navigation by using chunks as output templates. By using
* templates, many of the paramaters are no longer needed for flexible output
* including tables, unordered- or ordered-lists (ULs or OLs), definition lists
* (DLs) or in any other format you desire.
*
* @version 2.1.1-beta5
* @author Garry Nutting (collabpad.com)
* @author Kyle Jaebker (muddydogpaws.com)
* @author Ryan Thrash (modx.com)
* @author Shaun McCormick (modx.com)
* @author Jason Coward (modx.com)
*
* @example [[Wayfinder? &startId=`0`]]
*
* @var modX $modx
* @var array $scriptProperties
*
* @package wayfinder
*/
$wayfinder_base = $modx->getOption(\'wayfinder.core_path\',$scriptProperties,$modx->getOption(\'core_path\').\'components/wayfinder/\');
/* include a custom config file if specified */
if (isset($scriptProperties[\'config\'])) {
$scriptProperties[\'config\'] = str_replace(\'../\',\'\',$scriptProperties[\'config\']);
$scriptProperties[\'config\'] = $wayfinder_base.\'configs/\'.$scriptProperties[\'config\'].\'.config.php\';
} else {
$scriptProperties[\'config\'] = $wayfinder_base.\'configs/default.config.php\';
}
if (file_exists($scriptProperties[\'config\'])) {
include $scriptProperties[\'config\'];
}
/* include wayfinder class */
include_once $wayfinder_base.\'wayfinder.class.php\';
if (!$modx->loadClass(\'Wayfinder\',$wayfinder_base,true,true)) {
return \'error: Wayfinder class not found\';
}
$wf = new Wayfinder($modx,$scriptProperties);
/* get user class definitions
* TODO: eventually move these into config parameters */
$wf->_css = array(
\'first\' => isset($firstClass) ? $firstClass : \'\',
\'last\' => isset($lastClass) ? $lastClass : \'last\',
\'here\' => isset($hereClass) ? $hereClass : \'active\',
\'parent\' => isset($parentClass) ? $parentClass : \'\',
\'row\' => isset($rowClass) ? $rowClass : \'\',
\'outer\' => isset($outerClass) ? $outerClass : \'\',
\'inner\' => isset($innerClass) ? $innerClass : \'\',
\'level\' => isset($levelClass) ? $levelClass: \'\',
\'self\' => isset($selfClass) ? $selfClass : \'\',
\'weblink\' => isset($webLinkClass) ? $webLinkClass : \'\'
);
/* get user templates
* TODO: eventually move these into config parameters */
$wf->_templates = array(
\'outerTpl\' => isset($outerTpl) ? $outerTpl : \'\',
\'rowTpl\' => isset($rowTpl) ? $rowTpl : \'\',
\'parentRowTpl\' => isset($parentRowTpl) ? $parentRowTpl : \'\',
\'parentRowHereTpl\' => isset($parentRowHereTpl) ? $parentRowHereTpl : \'\',
\'hereTpl\' => isset($hereTpl) ? $hereTpl : \'\',
\'innerTpl\' => isset($innerTpl) ? $innerTpl : \'\',
\'innerRowTpl\' => isset($innerRowTpl) ? $innerRowTpl : \'\',
\'innerHereTpl\' => isset($innerHereTpl) ? $innerHereTpl : \'\',
\'activeParentRowTpl\' => isset($activeParentRowTpl) ? $activeParentRowTpl : \'\',
\'categoryFoldersTpl\' => isset($categoryFoldersTpl) ? $categoryFoldersTpl : \'\',
\'startItemTpl\' => isset($startItemTpl) ? $startItemTpl : \'\'
);
/* process Wayfinder */
$output = $wf->run();
if ($wf->_config[\'debug\']) {
$output .= $wf->renderDebugOutput();
}
/* output results */
if ($wf->_config[\'ph\']) {
$modx->setPlaceholder($wf->_config[\'ph\'],$output);
} else {
return $output;
}',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
),
),
'GetCurrentLanguage' =>
array (
'fields' =>
array (
'id' => 8,
'source' => 1,
'property_preprocess' => false,
'name' => 'GetCurrentLanguage',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => 'return $_REQUEST[\'cultureKey\'];',
'locked' => false,
'properties' =>
array (
),
'moduleguid' => '',
'static' => false,
'static_file' => '',
'content' => 'return $_REQUEST[\'cultureKey\'];',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'GetOgTags' =>
array (
'fields' =>
array (
'id' => 16,
'source' => 1,
'property_preprocess' => false,
'name' => 'GetOgTags',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => 'use QCubed\\Query\\QQ;
require_once($_SERVER[\'DOCUMENT_ROOT\'] . \'/_qcube4/qcubed.inc.php\');
//variables
$strHTML = \'\';
$strCultureKey = $_REQUEST[\'cultureKey\'];
if (isset($_GET[\'characterId\'])) {
//Load Character Object
$objCharacter = SilkCharacters::loadById($_GET[\'characterId\']);
if ($objCharacter) {
$strCharacter = $objCharacter->getCharacter();
if ($strCultureKey == "en") {
$strHTML .= \'<meta name="twitter:card" content="summary_large_image" /><meta name="twitter:site" content="@choumeizai" />\';
$strHTML .= \'<meta property="og:title" content="The Story of \' . $objCharacter->getCharacter() . \'" />\';
$strHTML .= \'<meta property="og:description" content="\' . $objCharacter->getEnInterpretation() . \'" />\';
$strHTML .= \'<meta property="og:url" content="http://\' . $_SERVER[\'HTTP_HOST\'] . $_SERVER[\'REQUEST_URI\'] . \'" />\';
$strHTML .= \'<meta property="og:video" content="https://www.youtube.com/watch?v=\' . $objCharacter->EnYoutube . \'" />\';
$strHTML .= \'<meta property="og:image" content="https://img.youtube.com/vi/\' . $objCharacter->EnYoutube . \'/0.jpg" />\';
} else {
$strHTML .= \'<meta name="twitter:card" content="summary_large_image" /><meta name="twitter:site" content="@choumeizai" />\';
$strHTML .= \'<meta property="og:title" content="的故事「\' . $objCharacter->getCharacter() . \'」" />\';
$strHTML .= \'<meta property="og:description" content="\' . $objCharacter->getCnInterpretation() . \'" />\';
$strHTML .= \'<meta property="og:url" content="http://\' . $_SERVER[\'HTTP_HOST\'] . $_SERVER[\'REQUEST_URI\'] . \'" />\';
$strHTML .= \'<meta property="og:video" content="https://www.youtube.com/watch?v=\' . $objCharacter->CnYoutube . \'" />\';
$strHTML .= \'<meta property="og:image" content="https://img.youtube.com/vi/\' . $objCharacter->CnYoutube . \'/0.jpg" />\';
}
}
echo $strHTML;
}',
'locked' => false,
'properties' =>
array (
),
'moduleguid' => '',
'static' => false,
'static_file' => '',
'content' => 'use QCubed\\Query\\QQ;
require_once($_SERVER[\'DOCUMENT_ROOT\'] . \'/_qcube4/qcubed.inc.php\');
//variables
$strHTML = \'\';
$strCultureKey = $_REQUEST[\'cultureKey\'];
if (isset($_GET[\'characterId\'])) {
//Load Character Object
$objCharacter = SilkCharacters::loadById($_GET[\'characterId\']);
if ($objCharacter) {
$strCharacter = $objCharacter->getCharacter();
if ($strCultureKey == "en") {
$strHTML .= \'<meta name="twitter:card" content="summary_large_image" /><meta name="twitter:site" content="@choumeizai" />\';
$strHTML .= \'<meta property="og:title" content="The Story of \' . $objCharacter->getCharacter() . \'" />\';
$strHTML .= \'<meta property="og:description" content="\' . $objCharacter->getEnInterpretation() . \'" />\';
$strHTML .= \'<meta property="og:url" content="http://\' . $_SERVER[\'HTTP_HOST\'] . $_SERVER[\'REQUEST_URI\'] . \'" />\';
$strHTML .= \'<meta property="og:video" content="https://www.youtube.com/watch?v=\' . $objCharacter->EnYoutube . \'" />\';
$strHTML .= \'<meta property="og:image" content="https://img.youtube.com/vi/\' . $objCharacter->EnYoutube . \'/0.jpg" />\';
} else {
$strHTML .= \'<meta name="twitter:card" content="summary_large_image" /><meta name="twitter:site" content="@choumeizai" />\';
$strHTML .= \'<meta property="og:title" content="的故事「\' . $objCharacter->getCharacter() . \'」" />\';
$strHTML .= \'<meta property="og:description" content="\' . $objCharacter->getCnInterpretation() . \'" />\';
$strHTML .= \'<meta property="og:url" content="http://\' . $_SERVER[\'HTTP_HOST\'] . $_SERVER[\'REQUEST_URI\'] . \'" />\';
$strHTML .= \'<meta property="og:video" content="https://www.youtube.com/watch?v=\' . $objCharacter->CnYoutube . \'" />\';
$strHTML .= \'<meta property="og:image" content="https://img.youtube.com/vi/\' . $objCharacter->CnYoutube . \'/0.jpg" />\';
}
}
echo $strHTML;
}',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'LanguageSwitcher' =>
array (
'fields' =>
array (
'id' => 12,
'source' => 1,
'property_preprocess' => false,
'name' => 'LanguageSwitcher',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => '$actual_link = (empty($_SERVER[\'HTTPS\']) ? \'http\' : \'https\') . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$strEnUrl = str_replace(\'/zh/\', \'/en/\', $actual_link);
$strZhhUrl = str_replace(\'/en/\', \'/zh/\', $actual_link);
echo \'<div class="d-flex d-sm-flex d-md-flex justify-content-end sec-nav"><a href="\' . $strEnUrl . \'">Eng</a><a href="\' . $strZhhUrl . \'">中文</a></div>\';',
'locked' => false,
'properties' =>
array (
),
'moduleguid' => '',
'static' => false,
'static_file' => '',
'content' => '$actual_link = (empty($_SERVER[\'HTTPS\']) ? \'http\' : \'https\') . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
$strEnUrl = str_replace(\'/zh/\', \'/en/\', $actual_link);
$strZhhUrl = str_replace(\'/en/\', \'/zh/\', $actual_link);
echo \'<div class="d-flex d-sm-flex d-md-flex justify-content-end sec-nav"><a href="\' . $strEnUrl . \'">Eng</a><a href="\' . $strZhhUrl . \'">中文</a></div>\';',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'BreadCrumb' =>
array (
'fields' =>
array (
'id' => 3,
'source' => 0,
'property_preprocess' => false,
'name' => 'BreadCrumb',
'description' => 'This snippet will create a breadcrumb navigation for the current resource or a specific resource.',
'editor_type' => 0,
'category' => 2,
'cache_type' => 0,
'snippet' => '/**
* BreadCrumb
* Copyright 2011 Benjamin Vauchel <contact@omycode.fr>
*
* BreadCrumb 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.
*
* BreadCrumb 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
* BreadCrumb; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
* Suite 330, Boston, MA 02111-1307 USA
*
* @package breadcrumb
* @author Benjamin Vauchel <contact@omycode.fr>
*
* @version Version 1.4.3 pl
* 07/03/15
*
* Breadcrumb is a snippet for MODx Revolution, inspired by the Jared\'s BreadCrumbs snippet.
* It will create a breadcrumb navigation for the current resource or a specific resource.
*
* Optional properties:
*
* @property from - (int) Resource ID of the first crumb; [Default value : 0].
* @property to - (int) Resource ID of the last crumb; [Default value : current resource id].
* @property exclude - (string) Comma separated list of resources IDs not shown in breadcrumb. [Default value : []]
* @property maxCrumbs - (int) Max crumbs shown in breadcrumb. Max delimiter template can be customize with property maxCrumbTpl ; [Default value : 100].
* @property showHidden - (bool) Show hidden resources in breadcrumb; [Default value : true].
* @property showContainer - (bool) Show container resources in breadcrumb; [Default value : true].
* @property showUnPub - (bool) Show unpublished resources in breadcrumb; [Default value : true].
* @property showCurrentCrumb - (bool) Show current resource as a crumb; [Default value : true].
* @property showBreadCrumbAtHome - (bool) Show BreadCrumb on the home page; [Default value : true].
* @property showHomeCrumb - (bool) Add the home page crumb at the start of the breadcrumb; [Default value : true].
* @property useWebLinkUrl - (bool) Use the weblink url instead of the url to the weblink; [Default value : true].
* @property direction - (string) Direction or breadcrumb : Left To Right (ltr) or Right To Left (rtl) for Arabic language for example; [Default value : ltr].
* @property scheme - (string) URL Generation Scheme; [Default value : -1].
*
* Templates :
*
* @property containerTpl - (string) Container template for BreadCrumb; [Default value : BreadCrumbContainerTpl].
* @property currentCrumbTpl - (string) Current crumb template for BreadCrumb; [Default value : BreadCrumbCurrentCrumbTpl].
* @property linkCrumbTpl - (string) Default crumb template for BreadCrumb; [Default value : BreadCrumbLinkCrumbTpl].
* @property categoryCrumbTpl - (string) Default category crumb template for BreadCrumb; [Default value : BreadCrumbCategoryCrumbTpl].
* @property maxCrumbTpl - (string) Max delimiter crumb template for BreadCrumb; [Default value : BreadCrumbMaxCrumbTpl].
*/
// Script Properties
$from = !empty($from) ? $from : $modx->getOption(\'from\', $scriptProperties, 0, true, true);
$to = $currentResourceId = !empty($to) ? $to : $modx->getOption(\'to\', $scriptProperties, $modx->resource->get(\'id\'), true);
$exclude = !empty($exclude) ? explode(\',\', $exclude) : array();
$maxCrumbs = !empty($maxCrumbs) ? abs(intval($maxCrumbs)) : $modx->getOption(\'maxCrumbs\', $scriptProperties, 100, true);
$showHidden = isset($showHidden) ? (bool)$showHidden : (bool)$modx->getOption(\'showHidden\', $scriptProperties, true, true);
$showContainer = isset($showContainer) ? (bool)$showContainer : (bool)$modx->getOption(\'showContainer\', $scriptProperties, true, true);
$showUnPub = isset($showUnPub) ? (bool)$showUnPub : (bool)$modx->getOption(\'showUnPub\', $scriptProperties, true, true);
$showCurrentCrumb = isset($showCurrentCrumb) ? (bool)$showCurrentCrumb : (bool)$modx->getOption(\'showCurrentCrumb\', $scriptProperties, true, true);
$showBreadCrumbAtHome = isset($showBreadCrumbAtHome) ? (bool)$showBreadCrumbAtHome : (bool)$modx->getOption(\'showBreadCrumbAtHome\', $scriptProperties, true, true);
$showHomeCrumb = isset($showHomeCrumb) ? (bool)$showHomeCrumb : (bool)$modx->getOption(\'showHomeCrumb\', $scriptProperties, true, true);
$useWebLinkUrl = isset($useWebLinkUrl) ? (bool)$useWebLinkUrl : (bool)$modx->getOption(\'useWebLinkUrl\', $scriptProperties, true, true);
$direction = !empty($direction) ? $direction : $modx->getOption(\'direction\', $scriptProperties, \'ltr\', true);
$scheme = !empty($scheme) ? $scheme : $modx->getOption(\'scheme\', $scriptProperties, $modx->getOption(\'link_tag_scheme\'), true);
$containerTpl = !empty($containerTpl) ? $containerTpl : $modx->getOption(\'containerTpl\', $scriptProperties, \'@INLINE <ul id="breadcrumb" itemprop="breadcrumb">[[+crumbs]]</ul>\');
$homeCrumbTpl = !empty($homeCrumbTpl) ? $homeCrumbTpl : $modx->getOption(\'homeCrumbTpl\', $scriptProperties, \'@INLINE <li><a href="[[+link]]">[[+pagetitle]]</a></li>\');
$currentCrumbTpl = !empty($currentCrumbTpl) ? $currentCrumbTpl : $modx->getOption(\'currentCrumbTpl\', $scriptProperties, \'@INLINE <li>[[+pagetitle]]</li>\');
$linkCrumbTpl = !empty($linkCrumbTpl) ? $linkCrumbTpl : $modx->getOption(\'linkCrumbTpl\', $scriptProperties, \'@INLINE <li><a href="[[+link]]">[[+pagetitle]]</a></li>\');
$categoryCrumbTpl = !empty($categoryCrumbTpl) ? $categoryCrumbTpl : $modx->getOption(\'categoryCrumbTpl\', $scriptProperties, \'@INLINE <li><a href="[[+link]]">[[+pagetitle]]</a></li>\');
$maxCrumbTpl = !empty($maxCrumbTpl) ? $maxCrumbTpl : $modx->getOption(\'maxCrumbTpl\', $scriptProperties, \'@INLINE <li>...</li>\');
// include parseTpl
include_once $modx->getOption(\'breadcrumb.core_path\',null,$modx->getOption(\'core_path\').\'components/breadcrumb/includes/\').\'include.parsetpl.php\';
// Output variable
$output = \'\';
// We check if current resource is the homepage and if breadcrumb is shown for the homepage
if (!$showBreadCrumbAtHome && $modx->resource->get(\'id\') == $modx->getOption(\'site_start\')) {
return \'\';
}
// We get all the other crumbs
$crumbs = array();
$crumbsCount = 0;
$resourceId = $to;
while ($resourceId != $from && $crumbsCount < $maxCrumbs)
{
if (!$resource = $modx->getObject(\'modResource\', $resourceId)) {
break;
}
// We check the conditions to show crumb
if (
$resourceId != $modx->getOption(\'site_start\') // ShowHomeCrumb
&& (($resource->get(\'hidemenu\') && $showHidden) || !$resource->get(\'hidemenu\')) // ShowHidden
&& (($resource->get(\'isfolder\') && $showContainer) || !$resource->get(\'isfolder\')) // ShowContainer
&& ((!$resource->get(\'published\') && $showUnPub) || $resource->get(\'published\')) // UnPub
&& (($resourceId == $currentResourceId && $showCurrentCrumb) || $resourceId != $currentResourceId) // ShowCurrent
&& !in_array($resourceId, $exclude) // Excluded resources
) {
// If is LTR direction, we push resource at the beginning of the array
if ($direction == \'ltr\') {
array_unshift($crumbs, $resource);
}
// Else we push it at the end
else {
$crumbs[] = $resource;
}
$crumbsCount++;
}
$resourceId = $resource->get(\'parent\');
}
// Add home crumb
if ($showHomeCrumb && $resource = $modx->getObject(\'modResource\', $modx->getOption(\'site_start\'))) {
if ($direction == \'ltr\') {
array_unshift($crumbs, $resource);
} else {
$crumbs[] = $resource;
}
}
// We build the output of crumbs
$position = 0;
foreach($crumbs as $key => $resource)
{
// Home crumb tpl ?
if ($resource->get(\'id\') == $modx->getOption(\'site_start\'))
{
$tpl = $homeCrumbTpl;
}
// Current crumb tpl ?
elseif ($showCurrentCrumb && ($resource->get(\'id\') == $currentResourceId))
{
$tpl = $currentCrumbTpl;
}
// resource is a container only, calculated in a similar manner to Wayfinder
elseif ($resource->get(\'isfolder\')
&& ( $resource->get(\'template\') == 0
|| strpos($resource->get(\'link_attributes\'), \'rel="category"\') !== false
)
) {
$tpl = $categoryCrumbTpl;
}
// or default crumb tpl ?
else {
$tpl = $linkCrumbTpl;
}
// Placeholders
$placeholders = $resource->toArray();
if ($resource->get(\'class_key\') == \'modWebLink\' && $useWebLinkUrl) {
if (is_numeric($resource->get(\'content\'))) {
$link = $modx->makeUrl($resource->get(\'content\'), \'\', \'\', $scheme);
} else {
$link = $resource->get(\'content\');
}
} else {
$link = $modx->makeUrl($resource->get(\'id\'), \'\', \'\', $scheme);
}
$placeholders = array_merge($resource->toArray(), array(\'link\' => $link, \'position\' => ++$position));
// Output
$output .= parseTpl($tpl, $placeholders);
}
// We add the max delimiter to the crumbs output, if the max limit was reached
if ($crumbsCount == $maxCrumbs) {
// If is LTR direction, we push the max delimiter at the beginning of the crumbs
if ($direction == \'ltr\') {
$output = parseTpl($maxCrumbTpl).$output;
}
// Else we push it at the end
else {
$output .= parseTpl($maxCrumbTpl);
}
}
// We build the breadcrumb output
$output = parseTpl($containerTpl, array(
\'crumbs\' => $output,
));
return $output;',
'locked' => false,
'properties' =>
array (
'from' =>
array (
'name' => 'from',
'desc' => 'breadcrumb_snippet_from_desc',
'type' => 'textfield',
'options' => '',
'value' => '0',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Resource ID of the first crumb.',
'area_trans' => '',
),
'to' =>
array (
'name' => 'to',
'desc' => 'breadcrumb_snippet_to_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Resource ID of the last crumb.',
'area_trans' => '',
),
'maxCrumbs' =>
array (
'name' => 'maxCrumbs',
'desc' => 'breadcrumb_snippet_maxcrumbs_desc',
'type' => 'textfield',
'options' => '',
'value' => '100',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Max crumbs shown in breadcrumb',
'area_trans' => '',
),
'showHidden' =>
array (
'name' => 'showHidden',
'desc' => 'breadcrumb_snippet_showhidden_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => true,
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Show hidden resources in breadcrumb.',
'area_trans' => '',
),
'showContainer' =>
array (
'name' => 'showContainer',
'desc' => 'breadcrumb_snippet_showcontainer_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => true,
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Show container resources in breadcrumb.',
'area_trans' => '',
),
'showUnPub' =>
array (
'name' => 'showUnPub',
'desc' => 'breadcrumb_snippet_showunpub_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => true,
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Show unpublished resources in breadcrumb.',
'area_trans' => '',
),
'showCurrentCrumb' =>
array (
'name' => 'showCurrentCrumb',
'desc' => 'breadcrumb_snippet_showcurrentcrumb_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => true,
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Show current resource as a crumb.',
'area_trans' => '',
),
'showBreadCrumbAtHome' =>
array (
'name' => 'showBreadCrumbAtHome',
'desc' => 'breadcrumb_snippet_showbreadcrumbatHome_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => true,
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Show BreadCrumb on the home page.',
'area_trans' => '',
),
'showHomeCrumb' =>
array (
'name' => 'showHomeCrumb',
'desc' => 'breadcrumb_snippet_showhomecrumb_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => true,
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Show the home page as a crumb.',
'area_trans' => '',
),
'useWebLinkUrl' =>
array (
'name' => 'useWebLinkUrl',
'desc' => 'breadcrumb_snippet_useweblinkurl_desc',
'type' => 'combo-boolean',
'options' => '',
'value' => true,
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Use the weblink url instead of the url to the weblink.',
'area_trans' => '',
),
'direction' =>
array (
'name' => 'direction',
'desc' => 'breadcrumb_snippet_direction_desc',
'type' => 'list',
'options' =>
array (
0 =>
array (
'value' => 'ltr',
'text' => 'Left To Right (ltr)',
'name' => 'Left To Right (ltr)',
),
1 =>
array (
'value' => 'rtl',
'text' => ' Right To Left (rtl)',
'name' => ' Right To Left (rtl)',
),
),
'value' => 'ltr',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Direction or breadcrumb : Left To Right (ltr) or Right To Left (rtl) for Arabic language for example.',
'area_trans' => '',
),
'scheme' =>
array (
'name' => 'scheme',
'desc' => 'breadcrumb_snippet_scheme_desc',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'URL Generation Scheme.',
'area_trans' => '',
),
'containerTpl' =>
array (
'name' => 'containerTpl',
'desc' => 'breadcrumb_snippet_containertpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '@INLINE <ul id="breadcrumb" itemprop="breadcrumb">[[+crumbs]]</ul>',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Container template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'area_trans' => '',
),
'homeCrumbTpl' =>
array (
'name' => 'homeCrumbTpl',
'desc' => 'breadcrumb_snippet_homecrumbtpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '@INLINE <li><a href="[[+link]]">[[+pagetitle]]</a></li>',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Home crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'area_trans' => '',
),
'currentCrumbTpl' =>
array (
'name' => 'currentCrumbTpl',
'desc' => 'breadcrumb_snippet_currentcrumbtpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '@INLINE <li>[[+pagetitle]]</li>',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Current crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'area_trans' => '',
),
'linkCrumbTpl' =>
array (
'name' => 'linkCrumbTpl',
'desc' => 'breadcrumb_snippet_linkcrumbtpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '@INLINE <li><a href="[[+link]]">[[+pagetitle]]</a></li>',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Default crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'area_trans' => '',
),
'categoryCrumbTpl' =>
array (
'name' => 'categoryCrumbTpl',
'desc' => 'breadcrumb_snippet_categorycrumbtpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '@INLINE <li><a href="[[+link]]">[[+pagetitle]]</a></li>',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Default category crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'area_trans' => '',
),
'maxCrumbTpl' =>
array (
'name' => 'maxCrumbTpl',
'desc' => 'breadcrumb_snippet_maxcrumbtpl_desc',
'type' => 'textfield',
'options' => '',
'value' => '@INLINE <li>...</li>',
'lexicon' => 'breadcrumb:properties',
'area' => '',
'desc_trans' => 'Max delimiter crumb template for BreadCrumb. Can be file (@FILE ), code (@INLINE ) or chunk name.',
'area_trans' => '',
),
),
'moduleguid' => '',
'static' => false,
'static_file' => '',
'content' => '/**
* BreadCrumb
* Copyright 2011 Benjamin Vauchel <contact@omycode.fr>
*
* BreadCrumb 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.
*
* BreadCrumb 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
* BreadCrumb; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
* Suite 330, Boston, MA 02111-1307 USA
*
* @package breadcrumb
* @author Benjamin Vauchel <contact@omycode.fr>
*
* @version Version 1.4.3 pl
* 07/03/15
*
* Breadcrumb is a snippet for MODx Revolution, inspired by the Jared\'s BreadCrumbs snippet.
* It will create a breadcrumb navigation for the current resource or a specific resource.
*
* Optional properties:
*
* @property from - (int) Resource ID of the first crumb; [Default value : 0].
* @property to - (int) Resource ID of the last crumb; [Default value : current resource id].
* @property exclude - (string) Comma separated list of resources IDs not shown in breadcrumb. [Default value : []]
* @property maxCrumbs - (int) Max crumbs shown in breadcrumb. Max delimiter template can be customize with property maxCrumbTpl ; [Default value : 100].
* @property showHidden - (bool) Show hidden resources in breadcrumb; [Default value : true].
* @property showContainer - (bool) Show container resources in breadcrumb; [Default value : true].
* @property showUnPub - (bool) Show unpublished resources in breadcrumb; [Default value : true].
* @property showCurrentCrumb - (bool) Show current resource as a crumb; [Default value : true].
* @property showBreadCrumbAtHome - (bool) Show BreadCrumb on the home page; [Default value : true].
* @property showHomeCrumb - (bool) Add the home page crumb at the start of the breadcrumb; [Default value : true].
* @property useWebLinkUrl - (bool) Use the weblink url instead of the url to the weblink; [Default value : true].
* @property direction - (string) Direction or breadcrumb : Left To Right (ltr) or Right To Left (rtl) for Arabic language for example; [Default value : ltr].
* @property scheme - (string) URL Generation Scheme; [Default value : -1].
*
* Templates :
*
* @property containerTpl - (string) Container template for BreadCrumb; [Default value : BreadCrumbContainerTpl].
* @property currentCrumbTpl - (string) Current crumb template for BreadCrumb; [Default value : BreadCrumbCurrentCrumbTpl].
* @property linkCrumbTpl - (string) Default crumb template for BreadCrumb; [Default value : BreadCrumbLinkCrumbTpl].
* @property categoryCrumbTpl - (string) Default category crumb template for BreadCrumb; [Default value : BreadCrumbCategoryCrumbTpl].
* @property maxCrumbTpl - (string) Max delimiter crumb template for BreadCrumb; [Default value : BreadCrumbMaxCrumbTpl].
*/
// Script Properties
$from = !empty($from) ? $from : $modx->getOption(\'from\', $scriptProperties, 0, true, true);
$to = $currentResourceId = !empty($to) ? $to : $modx->getOption(\'to\', $scriptProperties, $modx->resource->get(\'id\'), true);
$exclude = !empty($exclude) ? explode(\',\', $exclude) : array();
$maxCrumbs = !empty($maxCrumbs) ? abs(intval($maxCrumbs)) : $modx->getOption(\'maxCrumbs\', $scriptProperties, 100, true);
$showHidden = isset($showHidden) ? (bool)$showHidden : (bool)$modx->getOption(\'showHidden\', $scriptProperties, true, true);
$showContainer = isset($showContainer) ? (bool)$showContainer : (bool)$modx->getOption(\'showContainer\', $scriptProperties, true, true);
$showUnPub = isset($showUnPub) ? (bool)$showUnPub : (bool)$modx->getOption(\'showUnPub\', $scriptProperties, true, true);
$showCurrentCrumb = isset($showCurrentCrumb) ? (bool)$showCurrentCrumb : (bool)$modx->getOption(\'showCurrentCrumb\', $scriptProperties, true, true);
$showBreadCrumbAtHome = isset($showBreadCrumbAtHome) ? (bool)$showBreadCrumbAtHome : (bool)$modx->getOption(\'showBreadCrumbAtHome\', $scriptProperties, true, true);
$showHomeCrumb = isset($showHomeCrumb) ? (bool)$showHomeCrumb : (bool)$modx->getOption(\'showHomeCrumb\', $scriptProperties, true, true);
$useWebLinkUrl = isset($useWebLinkUrl) ? (bool)$useWebLinkUrl : (bool)$modx->getOption(\'useWebLinkUrl\', $scriptProperties, true, true);
$direction = !empty($direction) ? $direction : $modx->getOption(\'direction\', $scriptProperties, \'ltr\', true);
$scheme = !empty($scheme) ? $scheme : $modx->getOption(\'scheme\', $scriptProperties, $modx->getOption(\'link_tag_scheme\'), true);
$containerTpl = !empty($containerTpl) ? $containerTpl : $modx->getOption(\'containerTpl\', $scriptProperties, \'@INLINE <ul id="breadcrumb" itemprop="breadcrumb">[[+crumbs]]</ul>\');
$homeCrumbTpl = !empty($homeCrumbTpl) ? $homeCrumbTpl : $modx->getOption(\'homeCrumbTpl\', $scriptProperties, \'@INLINE <li><a href="[[+link]]">[[+pagetitle]]</a></li>\');
$currentCrumbTpl = !empty($currentCrumbTpl) ? $currentCrumbTpl : $modx->getOption(\'currentCrumbTpl\', $scriptProperties, \'@INLINE <li>[[+pagetitle]]</li>\');
$linkCrumbTpl = !empty($linkCrumbTpl) ? $linkCrumbTpl : $modx->getOption(\'linkCrumbTpl\', $scriptProperties, \'@INLINE <li><a href="[[+link]]">[[+pagetitle]]</a></li>\');
$categoryCrumbTpl = !empty($categoryCrumbTpl) ? $categoryCrumbTpl : $modx->getOption(\'categoryCrumbTpl\', $scriptProperties, \'@INLINE <li><a href="[[+link]]">[[+pagetitle]]</a></li>\');
$maxCrumbTpl = !empty($maxCrumbTpl) ? $maxCrumbTpl : $modx->getOption(\'maxCrumbTpl\', $scriptProperties, \'@INLINE <li>...</li>\');
// include parseTpl
include_once $modx->getOption(\'breadcrumb.core_path\',null,$modx->getOption(\'core_path\').\'components/breadcrumb/includes/\').\'include.parsetpl.php\';
// Output variable
$output = \'\';
// We check if current resource is the homepage and if breadcrumb is shown for the homepage
if (!$showBreadCrumbAtHome && $modx->resource->get(\'id\') == $modx->getOption(\'site_start\')) {
return \'\';
}
// We get all the other crumbs
$crumbs = array();
$crumbsCount = 0;
$resourceId = $to;
while ($resourceId != $from && $crumbsCount < $maxCrumbs)
{
if (!$resource = $modx->getObject(\'modResource\', $resourceId)) {
break;
}
// We check the conditions to show crumb
if (
$resourceId != $modx->getOption(\'site_start\') // ShowHomeCrumb
&& (($resource->get(\'hidemenu\') && $showHidden) || !$resource->get(\'hidemenu\')) // ShowHidden
&& (($resource->get(\'isfolder\') && $showContainer) || !$resource->get(\'isfolder\')) // ShowContainer
&& ((!$resource->get(\'published\') && $showUnPub) || $resource->get(\'published\')) // UnPub
&& (($resourceId == $currentResourceId && $showCurrentCrumb) || $resourceId != $currentResourceId) // ShowCurrent
&& !in_array($resourceId, $exclude) // Excluded resources
) {
// If is LTR direction, we push resource at the beginning of the array
if ($direction == \'ltr\') {
array_unshift($crumbs, $resource);
}
// Else we push it at the end
else {
$crumbs[] = $resource;
}
$crumbsCount++;
}
$resourceId = $resource->get(\'parent\');
}
// Add home crumb
if ($showHomeCrumb && $resource = $modx->getObject(\'modResource\', $modx->getOption(\'site_start\'))) {
if ($direction == \'ltr\') {
array_unshift($crumbs, $resource);
} else {
$crumbs[] = $resource;
}
}
// We build the output of crumbs
$position = 0;
foreach($crumbs as $key => $resource)
{
// Home crumb tpl ?
if ($resource->get(\'id\') == $modx->getOption(\'site_start\'))
{
$tpl = $homeCrumbTpl;
}
// Current crumb tpl ?
elseif ($showCurrentCrumb && ($resource->get(\'id\') == $currentResourceId))
{
$tpl = $currentCrumbTpl;
}
// resource is a container only, calculated in a similar manner to Wayfinder
elseif ($resource->get(\'isfolder\')
&& ( $resource->get(\'template\') == 0
|| strpos($resource->get(\'link_attributes\'), \'rel="category"\') !== false
)
) {
$tpl = $categoryCrumbTpl;
}
// or default crumb tpl ?
else {
$tpl = $linkCrumbTpl;
}
// Placeholders
$placeholders = $resource->toArray();
if ($resource->get(\'class_key\') == \'modWebLink\' && $useWebLinkUrl) {
if (is_numeric($resource->get(\'content\'))) {
$link = $modx->makeUrl($resource->get(\'content\'), \'\', \'\', $scheme);
} else {
$link = $resource->get(\'content\');
}
} else {
$link = $modx->makeUrl($resource->get(\'id\'), \'\', \'\', $scheme);
}
$placeholders = array_merge($resource->toArray(), array(\'link\' => $link, \'position\' => ++$position));
// Output
$output .= parseTpl($tpl, $placeholders);
}
// We add the max delimiter to the crumbs output, if the max limit was reached
if ($crumbsCount == $maxCrumbs) {
// If is LTR direction, we push the max delimiter at the beginning of the crumbs
if ($direction == \'ltr\') {
$output = parseTpl($maxCrumbTpl).$output;
}
// Else we push it at the end
else {
$output .= parseTpl($maxCrumbTpl);
}
}
// We build the breadcrumb output
$output = parseTpl($containerTpl, array(
\'crumbs\' => $output,
));
return $output;',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
),
),
'If' =>
array (
'fields' =>
array (
'id' => 4,
'source' => 0,
'property_preprocess' => false,
'name' => 'If',
'description' => 'Simple if (conditional) snippet',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => '/**
* If
*
* Copyright 2009-2010 by Jason Coward <jason@modx.com> and Shaun McCormick
* <shaun@modx.com>
*
* If 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.
*
* If 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
* If; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
* Suite 330, Boston, MA 02111-1307 USA
*
* @package if
*/
/**
* Simple if (conditional) snippet
*
* @package if
*/
if (!empty($debug)) {
print_r($scriptProperties);
if (!empty($die)) die();
}
$modx->parser->processElementTags(\'\',$subject,true,true);
$output = \'\';
$operator = !empty($operator) ? $operator : \'\';
$operand = !isset($operand) ? \'\' : $operand;
if (isset($subject)) {
if (!empty($operator)) {
$operator = strtolower($operator);
switch ($operator) {
case \'!=\':
case \'neq\':
case \'not\':
case \'isnot\':
case \'isnt\':
case \'unequal\':
case \'notequal\':
$output = (($subject != $operand) ? $then : (isset($else) ? $else : \'\'));
break;
case \'<\':
case \'lt\':
case \'less\':
case \'lessthan\':
$output = (($subject < $operand) ? $then : (isset($else) ? $else : \'\'));
break;
case \'>\':
case \'gt\':
case \'greater\':
case \'greaterthan\':
$output = (($subject > $operand) ? $then : (isset($else) ? $else : \'\'));
break;
case \'<=\':
case \'lte\':
case \'lessthanequals\':
case \'lessthanorequalto\':
$output = (($subject <= $operand) ? $then : (isset($else) ? $else : \'\'));
break;
case \'>=\':
case \'gte\':
case \'greaterthanequals\':
case \'greaterthanequalto\':
$output = (($subject >= $operand) ? $then : (isset($else) ? $else : \'\'));
break;
case \'isempty\':
case \'empty\':
$output = empty($subject) ? $then : (isset($else) ? $else : \'\');
break;
case \'!empty\':
case \'notempty\':
case \'isnotempty\':
$output = !empty($subject) && $subject != \'\' ? $then : (isset($else) ? $else : \'\');
break;
case \'isnull\':
case \'null\':
$output = $subject == null || strtolower($subject) == \'null\' ? $then : (isset($else) ? $else : \'\');
break;
case \'inarray\':
case \'in_array\':
case \'ia\':
$operand = explode(\',\',$operand);
$output = in_array($subject,$operand) ? $then : (isset($else) ? $else : \'\');
break;
case \'==\':
case \'=\':
case \'eq\':
case \'is\':
case \'equal\':
case \'equals\':
case \'equalto\':
default:
$output = (($subject == $operand) ? $then : (isset($else) ? $else : \'\'));
break;
}
}
}
if (!empty($debug)) { var_dump($output); }
unset($subject);
return $output;',
'locked' => false,
'properties' =>
array (
'subject' =>
array (
'name' => 'subject',
'desc' => 'The data being affected.',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => NULL,
'area' => '',
'desc_trans' => 'The data being affected.',
'area_trans' => '',
),
'operator' =>
array (
'name' => 'operator',
'desc' => 'The type of conditional.',
'type' => 'list',
'options' =>
array (
0 =>
array (
'value' => 'EQ',
'text' => 'EQ',
'name' => 'EQ',
),
1 =>
array (
'value' => 'NEQ',
'text' => 'NEQ',
'name' => 'NEQ',
),
2 =>
array (
'value' => 'LT',
'text' => 'LT',
'name' => 'LT',
),
3 =>
array (
'value' => 'GT',
'text' => 'GT',
'name' => 'GT',
),
4 =>
array (
'value' => 'LTE',
'text' => 'LTE',
'name' => 'LTE',
),
5 =>
array (
'value' => 'GT',
'text' => 'GTE',
'name' => 'GTE',
),
6 =>
array (
'value' => 'EMPTY',
'text' => 'EMPTY',
'name' => 'EMPTY',
),
7 =>
array (
'value' => 'NOTEMPTY',
'text' => 'NOTEMPTY',
'name' => 'NOTEMPTY',
),
8 =>
array (
'value' => 'ISNULL',
'text' => 'ISNULL',
'name' => 'ISNULL',
),
9 =>
array (
'value' => 'inarray',
'text' => 'INARRAY',
'name' => 'INARRAY',
),
),
'value' => 'EQ',
'lexicon' => NULL,
'area' => '',
'desc_trans' => 'The type of conditional.',
'area_trans' => '',
),
'operand' =>
array (
'name' => 'operand',
'desc' => 'When comparing to the subject, this is the data to compare to.',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => NULL,
'area' => '',
'desc_trans' => 'When comparing to the subject, this is the data to compare to.',
'area_trans' => '',
),
'then' =>
array (
'name' => 'then',
'desc' => 'If conditional was successful, output this.',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => NULL,
'area' => '',
'desc_trans' => 'If conditional was successful, output this.',
'area_trans' => '',
),
'else' =>
array (
'name' => 'else',
'desc' => 'If conditional was unsuccessful, output this.',
'type' => 'textfield',
'options' => '',
'value' => '',
'lexicon' => NULL,
'area' => '',
'desc_trans' => 'If conditional was unsuccessful, output this.',
'area_trans' => '',
),
'debug' =>
array (
'name' => 'debug',
'desc' => 'Will output the parameters passed in, as well as the end output. Leave off when not testing.',
'type' => 'combo-boolean',
'options' => '',
'value' => false,
'lexicon' => NULL,
'area' => '',
'desc_trans' => 'Will output the parameters passed in, as well as the end output. Leave off when not testing.',
'area_trans' => '',
),
),
'moduleguid' => '',
'static' => false,
'static_file' => '',
'content' => '/**
* If
*
* Copyright 2009-2010 by Jason Coward <jason@modx.com> and Shaun McCormick
* <shaun@modx.com>
*
* If 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.
*
* If 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
* If; if not, write to the Free Software Foundation, Inc., 59 Temple Place,
* Suite 330, Boston, MA 02111-1307 USA
*
* @package if
*/
/**
* Simple if (conditional) snippet
*
* @package if
*/
if (!empty($debug)) {
print_r($scriptProperties);
if (!empty($die)) die();
}
$modx->parser->processElementTags(\'\',$subject,true,true);
$output = \'\';
$operator = !empty($operator) ? $operator : \'\';
$operand = !isset($operand) ? \'\' : $operand;
if (isset($subject)) {
if (!empty($operator)) {
$operator = strtolower($operator);
switch ($operator) {
case \'!=\':
case \'neq\':
case \'not\':
case \'isnot\':
case \'isnt\':
case \'unequal\':
case \'notequal\':
$output = (($subject != $operand) ? $then : (isset($else) ? $else : \'\'));
break;
case \'<\':
case \'lt\':
case \'less\':
case \'lessthan\':
$output = (($subject < $operand) ? $then : (isset($else) ? $else : \'\'));
break;
case \'>\':
case \'gt\':
case \'greater\':
case \'greaterthan\':
$output = (($subject > $operand) ? $then : (isset($else) ? $else : \'\'));
break;
case \'<=\':
case \'lte\':
case \'lessthanequals\':
case \'lessthanorequalto\':
$output = (($subject <= $operand) ? $then : (isset($else) ? $else : \'\'));
break;
case \'>=\':
case \'gte\':
case \'greaterthanequals\':
case \'greaterthanequalto\':
$output = (($subject >= $operand) ? $then : (isset($else) ? $else : \'\'));
break;
case \'isempty\':
case \'empty\':
$output = empty($subject) ? $then : (isset($else) ? $else : \'\');
break;
case \'!empty\':
case \'notempty\':
case \'isnotempty\':
$output = !empty($subject) && $subject != \'\' ? $then : (isset($else) ? $else : \'\');
break;
case \'isnull\':
case \'null\':
$output = $subject == null || strtolower($subject) == \'null\' ? $then : (isset($else) ? $else : \'\');
break;
case \'inarray\':
case \'in_array\':
case \'ia\':
$operand = explode(\',\',$operand);
$output = in_array($subject,$operand) ? $then : (isset($else) ? $else : \'\');
break;
case \'==\':
case \'=\':
case \'eq\':
case \'is\':
case \'equal\':
case \'equals\':
case \'equalto\':
default:
$output = (($subject == $operand) ? $then : (isset($else) ? $else : \'\'));
break;
}
}
}
if (!empty($debug)) { var_dump($output); }
unset($subject);
return $output;',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
),
),
'ListRadicalNavigation' =>
array (
'fields' =>
array (
'id' => 18,
'source' => 1,
'property_preprocess' => false,
'name' => 'ListRadicalNavigation',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => 'require($_SERVER[\'DOCUMENT_ROOT\'] . \'/_qcube4/project/includes/configuration/prepend.inc.php\');
$strCultureKey = isset($_REQUEST[\'cultureKey\']) ? $_REQUEST[\'cultureKey\'] : \'en\';
$strRadicalType = isset($_REQUEST[\'radicalType\']) ? $_REQUEST[\'radicalType\'] : \'bushou\';
$strCurrentId = $_REQUEST[\'radicalId\'];
switch ($strRadicalType) {
case \'bushou\':
$objRadical = new SilkBushou();
echo $objRadical->listAllBushou($strCultureKey, $strCurrentId);
break;
case \'ziyuan\':
$objRadical = new SilkZiyuan();
echo $objRadical->listAllZiyuan($strCultureKey, $strCurrentId);
break;
}',
'locked' => false,
'properties' =>
array (
),
'moduleguid' => '',
'static' => false,
'static_file' => '',
'content' => 'require($_SERVER[\'DOCUMENT_ROOT\'] . \'/_qcube4/project/includes/configuration/prepend.inc.php\');
$strCultureKey = isset($_REQUEST[\'cultureKey\']) ? $_REQUEST[\'cultureKey\'] : \'en\';
$strRadicalType = isset($_REQUEST[\'radicalType\']) ? $_REQUEST[\'radicalType\'] : \'bushou\';
$strCurrentId = $_REQUEST[\'radicalId\'];
switch ($strRadicalType) {
case \'bushou\':
$objRadical = new SilkBushou();
echo $objRadical->listAllBushou($strCultureKey, $strCurrentId);
break;
case \'ziyuan\':
$objRadical = new SilkZiyuan();
echo $objRadical->listAllZiyuan($strCultureKey, $strCurrentId);
break;
}',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'GetRadicalInfo' =>
array (
'fields' =>
array (
'id' => 15,
'source' => 1,
'property_preprocess' => false,
'name' => 'GetRadicalInfo',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => 'use QCubed\\Query\\QQ;
require_once($_SERVER[\'DOCUMENT_ROOT\'] . \'/_qcube4/qcubed.inc.php\');
//variables
$strHtml = \'\';
$strRadicalType = \'\';
$strCultureKey = $_REQUEST[\'cultureKey\'];
if (isset($_GET[\'radicalType\'])) {
//Get Radical Type
$strRadicalType = $_GET[\'radicalType\'];
//Get Radical ID
if (isset($_GET[\'radicalId\'])) {
//Determine which radical
if ($strRadicalType == "bushou") {
$objRadical = new SilkBushou();
$strRadicalType = \'Bushou\';
$objRadicalInfo = $objRadical->loadById($_GET[\'radicalId\']);
$arrCharacters = $objRadicalInfo->getSilkCharactersAsCategoryBushouArray([QQ::Orderby(QQN::silkCharacters()->Strokes)]);
} else {
$objRadical = new SilkZiyuan();
$strRadicalType = \'Ziyuan\';
$objRadicalInfo = $objRadical->loadById($_GET[\'radicalId\']);
$arrCharacters = $objRadicalInfo->getSilkCharactersAsCategoryZiyuanArray([QQ::Orderby(QQN::silkCharacters()->Strokes)]);
}
if ($objRadicalInfo) {
$strHtml .= \'<div class="d-flex align-items-start mb-3 radical-header"><div class="d-xxl-flex justify-content-xxl-center" style="padding: 0px 10px;"><h1 class="radical">\' . $objRadicalInfo->getRadicals() . \'</h1></div><div><h3>\' . $strRadicalType . \' #\' . $objRadicalInfo->getId() . \'</h3><p class="radical-meaning">\' . $objRadicalInfo->getMeaningByLanguage($strCultureKey) . \'</p></div></div>\';
$strHtml .= \'<div><h2 style="font-size: 1.2rem; margin-bottom:18px;">Characters under the \' . $strRadicalType . \' \' . $objRadicalInfo->getRadicals() . \':</h2></div>\';
$strHtml .= \'<div class="silk-character-cards-grid compact">\';
foreach ($arrCharacters as $item) {
$strHtml .= $item->GetCharacterCardHtml($strCultureKey);
}
$strHtml .= \'</div>\';
}
}
}
echo $strHtml;',
'locked' => false,
'properties' =>
array (
),
'moduleguid' => '',
'static' => false,
'static_file' => '',
'content' => 'use QCubed\\Query\\QQ;
require_once($_SERVER[\'DOCUMENT_ROOT\'] . \'/_qcube4/qcubed.inc.php\');
//variables
$strHtml = \'\';
$strRadicalType = \'\';
$strCultureKey = $_REQUEST[\'cultureKey\'];
if (isset($_GET[\'radicalType\'])) {
//Get Radical Type
$strRadicalType = $_GET[\'radicalType\'];
//Get Radical ID
if (isset($_GET[\'radicalId\'])) {
//Determine which radical
if ($strRadicalType == "bushou") {
$objRadical = new SilkBushou();
$strRadicalType = \'Bushou\';
$objRadicalInfo = $objRadical->loadById($_GET[\'radicalId\']);
$arrCharacters = $objRadicalInfo->getSilkCharactersAsCategoryBushouArray([QQ::Orderby(QQN::silkCharacters()->Strokes)]);
} else {
$objRadical = new SilkZiyuan();
$strRadicalType = \'Ziyuan\';
$objRadicalInfo = $objRadical->loadById($_GET[\'radicalId\']);
$arrCharacters = $objRadicalInfo->getSilkCharactersAsCategoryZiyuanArray([QQ::Orderby(QQN::silkCharacters()->Strokes)]);
}
if ($objRadicalInfo) {
$strHtml .= \'<div class="d-flex align-items-start mb-3 radical-header"><div class="d-xxl-flex justify-content-xxl-center" style="padding: 0px 10px;"><h1 class="radical">\' . $objRadicalInfo->getRadicals() . \'</h1></div><div><h3>\' . $strRadicalType . \' #\' . $objRadicalInfo->getId() . \'</h3><p class="radical-meaning">\' . $objRadicalInfo->getMeaningByLanguage($strCultureKey) . \'</p></div></div>\';
$strHtml .= \'<div><h2 style="font-size: 1.2rem; margin-bottom:18px;">Characters under the \' . $strRadicalType . \' \' . $objRadicalInfo->getRadicals() . \':</h2></div>\';
$strHtml .= \'<div class="silk-character-cards-grid compact">\';
foreach ($arrCharacters as $item) {
$strHtml .= $item->GetCharacterCardHtml($strCultureKey);
}
$strHtml .= \'</div>\';
}
}
}
echo $strHtml;',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'searchBox' =>
array (
'fields' =>
array (
'id' => 21,
'source' => 1,
'property_preprocess' => false,
'name' => 'searchBox',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => '// Define language-specific content
$languageConfig = [
\'en\' => [
\'placeholder\' => \'Search Characters Here. Ex: dog, insect\',
\'meaning_field\' => \'en_meaning\',
\'url_prefix\' => \'/en/story-of-chinese-character/\'
],
\'zh\' => [
\'placeholder\' => \'在這裡搜索角色。\',
\'meaning_field\' => \'cn_meaning\',
\'url_prefix\' => \'/zh/story-of-chinese-character/\'
]
];
// Get the current culture key, default to \'en\'
$cultureKey = $_REQUEST[\'cultureKey\'] ?? \'en\';
$config = $languageConfig[$cultureKey] ?? $languageConfig[\'en\'];
// Single HTML template with dynamic content
$html = \'
<div id="search" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog modal-xl" role="document">
<div class="modal-content">
<div class="modal-header">
<input
id="searchKeywords"
type="search"
inputmode="search"
enterkeyhint="search"
autocomplete="off"
autocapitalize="none"
autocorrect="off"
spellcheck="false"
v-model.trim="searchKeywords"
@input="onInput"
placeholder="\' . $config[\'placeholder\'] . \'"
/><button
class="btn-close"
type="button"
aria-label="Close"
data-bs-dismiss="modal"
></button>
</div>
<div class="modal-body">
<div v-if="isLoading" class="py-2">Loading…</div>
<div v-else-if="hasTyped && characters.length === 0" class="py-2">
No results
</div>
<div v-else class="grid-characters smaller">
<a
v-for="character in characters"
:key="character.id"
:href="\\\'\' . $config[\'url_prefix\'] . \'\\\'+character.id"
>{{character.character}}<span class="meaning"><br>{{character.\' . $config[\'meaning_field\'] . \'}}</span>
<span class="strokes">{{character.strokes}}</span></a
>
</div>
</div>
</div>
</div>
</div>
\';
echo $html;
echo <<< END
<script>
let app = {
data() {
return {
characters: [],
searchKeywords: "",
isLoading: false,
hasTyped: false,
abortController: null,
searchDebounced: null,
};
},
methods: {
debounce(fn, delay) {
let timerId;
return function (...args) {
clearTimeout(timerId);
timerId = setTimeout(() => fn.apply(this, args), delay);
};
},
onInput() {
this.hasTyped = true;
this.searchDebounced && this.searchDebounced();
},
searchNow() {
const query = (this.searchKeywords || "").trim();
const isSingleAsciiLetter = /^[A-Za-z]$/.test(query);
if (query.length === 0 || isSingleAsciiLetter) {
// clear
this.characters = [];
this.hasTyped = false;
if (this.abortController) {
this.abortController.abort();
this.abortController = null;
}
this.isLoading = false;
return;
}
if (this.abortController) {
this.abortController.abort();
}
this.abortController = new AbortController();
this.isLoading = true;
fetch(
"/_qcube4/views/search-query.php?searchKeywords=" +
encodeURIComponent(query),
{ signal: this.abortController.signal }
)
.then((response) => response.json())
.then((data) => {
this.characters = Array.isArray(data) ? data : [];
})
.catch((err) => {
if (err.name !== "AbortError") {
console.log(err.message);
}
})
.finally(() => {
this.isLoading = false;
});
},
},
created() {
this.searchDebounced = this.debounce(this.searchNow, 250);
},
};
const vm = Vue.createApp(app).mount("#search");
var myModal = document.getElementById("search");
var myInput = document.getElementById("searchKeywords");
myModal.addEventListener("shown.bs.modal", function () {
setTimeout(function () {
myInput.focus();
if (myInput && myInput.setSelectionRange) {
try {
var len = myInput.value.length;
myInput.setSelectionRange(len, len);
} catch (e) {}
}
document.documentElement.scrollTop = 0;
document.body.scrollTop = 0;
}, 250);
});
myModal.addEventListener("hidden.bs.modal", function () {
if (vm && vm.abortController) {
try { vm.abortController.abort(); } catch (e) {}
vm.abortController = null;
}
vm.searchKeywords = "";
vm.characters = [];
vm.isLoading = false;
vm.hasTyped = false;
});
</script>
END;',
'locked' => false,
'properties' =>
array (
),
'moduleguid' => '',
'static' => false,
'static_file' => '',
'content' => '// Define language-specific content
$languageConfig = [
\'en\' => [
\'placeholder\' => \'Search Characters Here. Ex: dog, insect\',
\'meaning_field\' => \'en_meaning\',
\'url_prefix\' => \'/en/story-of-chinese-character/\'
],
\'zh\' => [
\'placeholder\' => \'在這裡搜索角色。\',
\'meaning_field\' => \'cn_meaning\',
\'url_prefix\' => \'/zh/story-of-chinese-character/\'
]
];
// Get the current culture key, default to \'en\'
$cultureKey = $_REQUEST[\'cultureKey\'] ?? \'en\';
$config = $languageConfig[$cultureKey] ?? $languageConfig[\'en\'];
// Single HTML template with dynamic content
$html = \'
<div id="search" class="modal fade" role="dialog" tabindex="-1">
<div class="modal-dialog modal-xl" role="document">
<div class="modal-content">
<div class="modal-header">
<input
id="searchKeywords"
type="search"
inputmode="search"
enterkeyhint="search"
autocomplete="off"
autocapitalize="none"
autocorrect="off"
spellcheck="false"
v-model.trim="searchKeywords"
@input="onInput"
placeholder="\' . $config[\'placeholder\'] . \'"
/><button
class="btn-close"
type="button"
aria-label="Close"
data-bs-dismiss="modal"
></button>
</div>
<div class="modal-body">
<div v-if="isLoading" class="py-2">Loading…</div>
<div v-else-if="hasTyped && characters.length === 0" class="py-2">
No results
</div>
<div v-else class="grid-characters smaller">
<a
v-for="character in characters"
:key="character.id"
:href="\\\'\' . $config[\'url_prefix\'] . \'\\\'+character.id"
>{{character.character}}<span class="meaning"><br>{{character.\' . $config[\'meaning_field\'] . \'}}</span>
<span class="strokes">{{character.strokes}}</span></a
>
</div>
</div>
</div>
</div>
</div>
\';
echo $html;
echo <<< END
<script>
let app = {
data() {
return {
characters: [],
searchKeywords: "",
isLoading: false,
hasTyped: false,
abortController: null,
searchDebounced: null,
};
},
methods: {
debounce(fn, delay) {
let timerId;
return function (...args) {
clearTimeout(timerId);
timerId = setTimeout(() => fn.apply(this, args), delay);
};
},
onInput() {
this.hasTyped = true;
this.searchDebounced && this.searchDebounced();
},
searchNow() {
const query = (this.searchKeywords || "").trim();
const isSingleAsciiLetter = /^[A-Za-z]$/.test(query);
if (query.length === 0 || isSingleAsciiLetter) {
// clear
this.characters = [];
this.hasTyped = false;
if (this.abortController) {
this.abortController.abort();
this.abortController = null;
}
this.isLoading = false;
return;
}
if (this.abortController) {
this.abortController.abort();
}
this.abortController = new AbortController();
this.isLoading = true;
fetch(
"/_qcube4/views/search-query.php?searchKeywords=" +
encodeURIComponent(query),
{ signal: this.abortController.signal }
)
.then((response) => response.json())
.then((data) => {
this.characters = Array.isArray(data) ? data : [];
})
.catch((err) => {
if (err.name !== "AbortError") {
console.log(err.message);
}
})
.finally(() => {
this.isLoading = false;
});
},
},
created() {
this.searchDebounced = this.debounce(this.searchNow, 250);
},
};
const vm = Vue.createApp(app).mount("#search");
var myModal = document.getElementById("search");
var myInput = document.getElementById("searchKeywords");
myModal.addEventListener("shown.bs.modal", function () {
setTimeout(function () {
myInput.focus();
if (myInput && myInput.setSelectionRange) {
try {
var len = myInput.value.length;
myInput.setSelectionRange(len, len);
} catch (e) {}
}
document.documentElement.scrollTop = 0;
document.body.scrollTop = 0;
}, 250);
});
myModal.addEventListener("hidden.bs.modal", function () {
if (vm && vm.abortController) {
try { vm.abortController.abort(); } catch (e) {}
vm.abortController = null;
}
vm.searchKeywords = "";
vm.characters = [];
vm.isLoading = false;
vm.hasTyped = false;
});
</script>
END;',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'GetYear' =>
array (
'fields' =>
array (
'id' => 22,
'source' => 1,
'property_preprocess' => false,
'name' => 'GetYear',
'description' => '',
'editor_type' => 0,
'category' => 0,
'cache_type' => 0,
'snippet' => 'echo date("Y");',
'locked' => false,
'properties' =>
array (
),
'moduleguid' => '',
'static' => false,
'static_file' => '',
'content' => 'echo date("Y");',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
),
'MODX\\Revolution\\modTemplateVar' =>
array (
'ExtraHeadScripts' =>
array (
'fields' =>
array (
'id' => 5,
'source' => 1,
'property_preprocess' => false,
'type' => 'text',
'name' => 'extraHeadScripts',
'caption' => 'Extra Scripts HEAD',
'description' => '',
'editor_type' => 0,
'category' => 0,
'locked' => false,
'elements' => NULL,
'rank' => 0,
'display' => 'default',
'default_text' => '',
'properties' =>
array (
),
'input_properties' =>
array (
'allowBlank' => 'true',
'minLength' => '',
'maxLength' => '',
'regex' => '',
'regexText' => '',
),
'output_properties' =>
array (
),
'static' => false,
'static_file' => '',
'content' => '',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'bodyId' =>
array (
'fields' =>
array (
'id' => 2,
'source' => 1,
'property_preprocess' => false,
'type' => 'text',
'name' => 'bodyId',
'caption' => 'Body ID',
'description' => '',
'editor_type' => 0,
'category' => 0,
'locked' => false,
'elements' => NULL,
'rank' => 0,
'display' => 'default',
'default_text' => '',
'properties' =>
array (
),
'input_properties' =>
array (
'allowBlank' => 'true',
'minLength' => '',
'maxLength' => '',
'regex' => '',
'regexText' => '',
),
'output_properties' =>
array (
),
'static' => false,
'static_file' => '',
'content' => '',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'bodyClass' =>
array (
'fields' =>
array (
'id' => 3,
'source' => 1,
'property_preprocess' => false,
'type' => 'text',
'name' => 'bodyClass',
'caption' => 'Body Class',
'description' => '',
'editor_type' => 0,
'category' => 0,
'locked' => false,
'elements' => NULL,
'rank' => 0,
'display' => 'default',
'default_text' => '',
'properties' =>
array (
),
'input_properties' =>
array (
'allowBlank' => 'true',
'minLength' => '',
'maxLength' => '',
'regex' => '',
'regexText' => '',
),
'output_properties' =>
array (
),
'static' => false,
'static_file' => '',
'content' => '',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'showBreadcrumbs' =>
array (
'fields' =>
array (
'id' => 4,
'source' => 1,
'property_preprocess' => false,
'type' => 'checkbox',
'name' => 'showBreadcrumbs',
'caption' => 'Show Breadcrumbs',
'description' => '',
'editor_type' => 0,
'category' => 0,
'locked' => false,
'elements' => 'Yes==1',
'rank' => 0,
'display' => 'default',
'default_text' => '1',
'properties' =>
array (
),
'input_properties' =>
array (
'allowBlank' => 'true',
'columns' => '1',
),
'output_properties' =>
array (
),
'static' => false,
'static_file' => '',
'content' => '1',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
'BeforeBodyScripts' =>
array (
'fields' =>
array (
'id' => 6,
'source' => 1,
'property_preprocess' => false,
'type' => 'text',
'name' => 'beforeBodyScripts',
'caption' => 'Before Body Scripts',
'description' => '',
'editor_type' => 0,
'category' => 0,
'locked' => false,
'elements' => NULL,
'rank' => 0,
'display' => 'default',
'default_text' => '',
'properties' =>
array (
),
'input_properties' =>
array (
'allowBlank' => 'true',
'minLength' => '',
'maxLength' => '',
'regex' => '',
'regexText' => '',
),
'output_properties' =>
array (
),
'static' => false,
'static_file' => '',
'content' => '',
),
'policies' =>
array (
'zh' =>
array (
),
),
'source' =>
array (
'id' => 1,
'name' => 'Filesystem',
'description' => '',
'class_key' => 'MODX\\Revolution\\Sources\\modFileMediaSource',
'properties' =>
array (
),
'is_stream' => true,
),
),
),
),
'Event' =>
\MODX\Revolution\modSystemEvent::__set_state(array(
'name' => '',
'activePlugin' => '',
'plugin' => NULL,
'propertySet' => '',
'_propagate' => true,
'_output' => NULL,
'activated' => NULL,
'returnedValues' => NULL,
'params' => NULL,
)),
'_deprecations' =>
array (
'modResource' =>
\MODX\Revolution\mysql\modDeprecatedMethod::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedMethod',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'MODX\\Revolution\\modDeprecatedMethod',
'_pk' => NULL,
'_pktype' => NULL,
'_table' => '`modx_deprecated_method`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 63,
'definition' => 'modResource',
'since' => '3.0',
'recommendation' => 'Replace references to class modResource with MODX\\Revolution\\modResource to take advantage of PSR-4 autoloading.',
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'definition' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'since' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'recommendation' =>
array (
'dbtype' => 'varchar',
'precision' => '1024',
'phptype' => 'string',
'null' => false,
'default' => '',
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
),
'_composites' =>
array (
'Callers' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedCall',
'local' => 'id',
'foreign' => 'method',
'cardinality' => 'many',
'owner' => 'local',
),
),
'_relatedObjects' =>
array (
'Callers' =>
array (
314 =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 314,
'method' => 63,
'call_count' => 323434,
'caller' => 'xPDO\\xPDO::getPKType',
'caller_file' => '/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php',
'caller_line' => 1660,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
315 =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 315,
'method' => 63,
'call_count' => 323546,
'caller' => 'xPDO\\xPDO::getPK',
'caller_file' => '/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php',
'caller_line' => 1598,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
312 =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 312,
'method' => 63,
'call_count' => 324094,
'caller' => 'xPDO\\xPDO::call',
'caller_file' => '/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php',
'caller_line' => 774,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
224 =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 224,
'method' => 63,
'call_count' => 1734738,
'caller' => 'MODX\\Revolution\\modAccessibleObject::load',
'caller_file' => '/home4/silksto1/public_html/core/src/Revolution/modAccessibleObject.php',
'caller_line' => 106,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
),
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
'callers' =>
array (
'xPDO\\xPDO::getPKType::/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php::1660' =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 314,
'method' => 63,
'call_count' => 323434,
'caller' => 'xPDO\\xPDO::getPKType',
'caller_file' => '/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php',
'caller_line' => 1660,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
'xPDO\\xPDO::getPK::/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php::1598' =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 315,
'method' => 63,
'call_count' => 323546,
'caller' => 'xPDO\\xPDO::getPK',
'caller_file' => '/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php',
'caller_line' => 1598,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
'xPDO\\xPDO::call::/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php::774' =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 312,
'method' => 63,
'call_count' => 324094,
'caller' => 'xPDO\\xPDO::call',
'caller_file' => '/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php',
'caller_line' => 774,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
'MODX\\Revolution\\modAccessibleObject::load::/home4/silksto1/public_html/core/src/Revolution/modAccessibleObject.php::106' =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 224,
'method' => 63,
'call_count' => 1734738,
'caller' => 'MODX\\Revolution\\modAccessibleObject::load',
'caller_file' => '/home4/silksto1/public_html/core/src/Revolution/modAccessibleObject.php',
'caller_line' => 106,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
),
)),
'modChunk' =>
\MODX\Revolution\mysql\modDeprecatedMethod::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedMethod',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'MODX\\Revolution\\modDeprecatedMethod',
'_pk' => NULL,
'_pktype' => NULL,
'_table' => '`modx_deprecated_method`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 62,
'definition' => 'modChunk',
'since' => '3.0',
'recommendation' => 'Replace references to class modChunk with MODX\\Revolution\\modChunk to take advantage of PSR-4 autoloading.',
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'definition' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'since' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'recommendation' =>
array (
'dbtype' => 'varchar',
'precision' => '1024',
'phptype' => 'string',
'null' => false,
'default' => '',
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
),
'_composites' =>
array (
'Callers' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedCall',
'local' => 'id',
'foreign' => 'method',
'cardinality' => 'many',
'owner' => 'local',
),
),
'_relatedObjects' =>
array (
'Callers' =>
array (
310 =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 310,
'method' => 62,
'call_count' => 456951,
'caller' => 'xPDO\\xPDO::call',
'caller_file' => '/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php',
'caller_line' => 774,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
216 =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 216,
'method' => 62,
'call_count' => 2410401,
'caller' => 'MODX\\Revolution\\modAccessibleObject::load',
'caller_file' => '/home4/silksto1/public_html/core/src/Revolution/modAccessibleObject.php',
'caller_line' => 106,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
),
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
'callers' =>
array (
'xPDO\\xPDO::call::/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php::774' =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 310,
'method' => 62,
'call_count' => 456951,
'caller' => 'xPDO\\xPDO::call',
'caller_file' => '/home4/silksto1/public_html/core/vendor/xpdo/xpdo/src/xPDO/xPDO.php',
'caller_line' => 774,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
'MODX\\Revolution\\modAccessibleObject::load::/home4/silksto1/public_html/core/src/Revolution/modAccessibleObject.php::106' =>
\MODX\Revolution\mysql\modDeprecatedCall::__set_state(array(
'xpdo' => NULL,
'container' => 'silksto1_silkstory',
'fieldNames' => NULL,
'_class' => 'MODX\\Revolution\\modDeprecatedCall',
'_package' => 'MODX\\Revolution\\',
'_alias' => 'Callers',
'_pk' => 'id',
'_pktype' => NULL,
'_table' => '`modx_deprecated_call`',
'_tableMeta' =>
array (
'engine' => 'InnoDB',
),
'_dirty' =>
array (
'call_count' => 'call_count',
),
'_lazy' =>
array (
),
'_fields' =>
array (
'id' => 216,
'method' => 62,
'call_count' => 2410401,
'caller' => 'MODX\\Revolution\\modAccessibleObject::load',
'caller_file' => '/home4/silksto1/public_html/core/src/Revolution/modAccessibleObject.php',
'caller_line' => 106,
),
'_fieldMeta' =>
array (
'id' =>
array (
'dbtype' => 'INTEGER',
'phptype' => 'integer',
'null' => false,
'index' => 'pk',
'generated' => 'native',
'attributes' => 'unsigned',
),
'method' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'call_count' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'caller' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_file' =>
array (
'dbtype' => 'varchar',
'precision' => '191',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'caller_line' =>
array (
'dbtype' => 'int',
'precision' => '11',
'attributes' => 'unsigned',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
),
'_fieldAliases' =>
array (
),
'_aggregates' =>
array (
'Method' =>
array (
'class' => 'MODX\\Revolution\\modDeprecatedMethod',
'local' => 'method',
'foreign' => 'id',
'cardinality' => 'one',
'owner' => 'foreign',
),
),
'_composites' =>
array (
),
'_relatedObjects' =>
array (
'Method' => NULL,
),
'_validator' => NULL,
'_validationRules' =>
array (
),
'_validated' =>
array (
),
'_validationLoaded' => false,
'_new' => false,
'_cacheFlag' => true,
'_options' =>
array (
),
)),
),
)),
),
))site_id'modx69b8dec798b933.73097230'style'display: none;'table_prefix'modx_'tstart1776895260.521421909332275390625uuid'bbab6a33-5fd0-4a3f-80d2-686932cf714a'wp_filterarray (
'init' =>
array (
0 =>
array (
0 =>
array (
'function' =>
\Closure::__set_state(array(
)),
'accepted_args' => 10,
),
),
),
)